Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FloatingIPWithDNSExt ¶
type FloatingIPWithDNSExt struct { floatingips.FloatingIP dns.FloatingIPDNSExt }
FloatingIPWithDNSExt represents a floating IP with the DNS fields
func CreateFloatingIPDNS ¶
func CreateFloatingIPDNS(t *testing.T, client *gophercloud.ServiceClient, networkID, portID, dnsName, dnsDomain string) (*FloatingIPWithDNSExt, error)
CreateFloatingIPDNS creates a floating IP with the DNS extension on a given network and port. An error will be returned if the creation failed.
type NetworkWithDNSExt ¶
type NetworkWithDNSExt struct { networks.Network dns.NetworkDNSExt }
NetworkWithDNSExt represents a network with the DNS fields
func CreateNetworkDNS ¶
func CreateNetworkDNS(t *testing.T, client *gophercloud.ServiceClient, dnsDomanin string) (*NetworkWithDNSExt, error)
CreateNetworkDNS will create a network with a DNS domain set. An error will be returned if the network could not be created.
type PortWithDNSExt ¶
type PortWithDNSExt struct { ports.Port dns.PortDNSExt }
PortWithDNSExt represents a port with the DNS fields
func CreatePortDNS ¶
func CreatePortDNS(t *testing.T, client *gophercloud.ServiceClient, networkID, subnetID, dnsName string) (*PortWithDNSExt, error)
CreatePortDNS will create a port with a DNS name on the specified subnet. An error will be returned if the port could not be created.
Click to show internal directories.
Click to hide internal directories.