Previous topic

The nova.network.l3 Module

Next topic

The nova.network.linux_net Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.network.ldapdns Module

class DNSEntry(ldap_object)

Bases: object

dn
rdn
class DomainEntry(ldap_object, domain)

Bases: nova.network.ldapdns.DNSEntry

add_entry(name, address)
classmethod create_domain(lobj, domain)

Create a new domain entry, and return an object that wraps it.

delete()

Delete the domain that this entry refers to.

remove_entry(name)
subentries_with_ip(ip)
subentry_with_name(name)
update_soa()
class FakeLdapDNS

Bases: nova.network.ldapdns.LdapDNS

For testing purposes, a DNS driver backed with a fake ldap driver.

class HostEntry(parent, tuple)

Bases: nova.network.ldapdns.DNSEntry

ip
modify_address(name, address)
names
parent
remove_name(name)
class LdapDNS

Bases: object

Driver for PowerDNS using ldap as a back end.

This driver assumes ldap-method=strict, with all domains in the top-level, aRecords only.

create_domain(domain)
create_entry(name, address, type, domain)
delete_dns_file()
delete_domain(domain)
delete_entry(name, domain)
get_domains()
get_entries_by_address(address, domain)
get_entries_by_name(name, domain)
modify_address(name, address, domain)
create_modlist(newattrs)