Floating IP DNS records

1. domains()

Lists dns domains.

Parameters: None

Return value: a list of Domain Object

2. create_domain(domain, **attr)

Create a server.

Parameters:

  • domain(string): The registered DNS domain that the DNS drivers publish.
  • attr(Dict)
Name Type Description
scope String -
project String -

Return value: Domain Object

3. delete_domain(domain)

Delete dns domain.

Parameters: domain(string): domain id or Object

Return value: None on success

4. dns_entries(domain, ip)

Lists dns entries.

Parameters:

  • domain(string): domain id or Object
  • ip(string): The IP address.

Return value: a list of DNS_entry Object

5. create_dns_entry(domain, name, **attr)

Create or update Dns Entry.

Parameters:

  • domain(string): Domain Object or domain id
  • name(string): the security group name
  • attr(Dict)
Name Type Description
ip String -
dns_type String -

refer to openstack API: http://developer.openstack.org/api-ref/compute/?

Parameters example:

    attr = {
        "ip": "192.168.53.11",
        "dns_type": "A"
    }

Return value: DNS_entry Object

6. find_dns_entry(domain, name)

Find Unique Dns Entry.

Parameters:

  • domain(string): Domain Object or domain id
  • name(string): the security group name

Return value: DNS_entry Object

7. delete_dns_entry(domain, name)

Delete dns entry.

Parameters:

  • domain(string): Domain Object or domain id
  • name(string): the security group name

Return value: None on success

results matching ""

    No results matching ""