diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-12-10 16:56:40 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-12-10 16:56:40 +0000 |
| commit | 522ac62ad5cdc2164e6b9a72c86a889f94a7f23a (patch) | |
| tree | 52b2b9bcbe1d753eee7348d1af515ae3d799c06f /nova | |
| parent | 6726865a2ac6ff58f28cd639e8942297024138d1 (diff) | |
| parent | 6b50880c6e9e01c4f4b12579592155dfd94b4b96 (diff) | |
Merge "Raise NotImplementedError in dns_driver.DNSDriver."
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/config.py | 4 | ||||
| -rw-r--r-- | nova/network/dns_driver.py | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/nova/config.py b/nova/config.py index 9ce068e58..b17520033 100644 --- a/nova/config.py +++ b/nova/config.py @@ -182,13 +182,13 @@ global_opts = [ default='nova.cert.manager.CertManager', help='full class name for the Manager for cert'), cfg.StrOpt('instance_dns_manager', - default='nova.network.dns_driver.DNSDriver', + default='nova.network.minidns.MiniDNS', help='full class name for the DNS Manager for instance IPs'), cfg.StrOpt('instance_dns_domain', default='', help='full class name for the DNS Zone for instance IPs'), cfg.StrOpt('floating_ip_dns_manager', - default='nova.network.dns_driver.DNSDriver', + default='nova.network.minidns.MiniDNS', help='full class name for the DNS Manager for floating IPs'), cfg.StrOpt('network_manager', default='nova.network.manager.VlanManager', diff --git a/nova/network/dns_driver.py b/nova/network/dns_driver.py index cd2001b64..09335b7cc 100644 --- a/nova/network/dns_driver.py +++ b/nova/network/dns_driver.py @@ -20,25 +20,25 @@ class DNSDriver(object): pass def get_domains(self): - return [] + raise NotImplementedError() def create_entry(self, _name, _address, _type, _domain): - pass + raise NotImplementedError() def delete_entry(self, _name, _domain): - pass + raise NotImplementedError() def modify_address(self, _name, _address, _domain): - pass + raise NotImplementedError() def get_entries_by_address(self, _address, _domain): - return [] + raise NotImplementedError() def get_entries_by_name(self, _name, _domain): - return [] + raise NotImplementedError() def create_domain(self, _fqdomain): - pass + raise NotImplementedError() def delete_domain(self, _fqdomain): - pass + raise NotImplementedError() |
