diff options
| author | Andrew Bogott <abogott@wikimedia.org> | 2011-12-15 16:09:25 -0600 |
|---|---|---|
| committer | Andrew Bogott <abogott@wikimedia.org> | 2011-12-19 13:10:20 -0600 |
| commit | fcdfdb16543559f06d2fc5653795edf15bd015e4 (patch) | |
| tree | 2aaa7b4d9303b721bf7f20bbce9ac5ac83b2e848 | |
| parent | 229625574c2c6f3126656f8976b8938b96378e15 (diff) | |
| download | nova-fcdfdb16543559f06d2fc5653795edf15bd015e4.tar.gz nova-fcdfdb16543559f06d2fc5653795edf15bd015e4.tar.xz nova-fcdfdb16543559f06d2fc5653795edf15bd015e4.zip | |
Renamed the instance_dns_driver to dns_driver for more general use.
For blueprint public-and-private-dns
Change-Id: Ie3c86327839e9b855f5758a76d6484e5df598aa3
| -rw-r--r-- | nova/flags.py | 2 | ||||
| -rw-r--r-- | nova/network/dns_driver.py (renamed from nova/network/instance_dns_driver.py) | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/nova/flags.py b/nova/flags.py index 63534af96..599dcb0f7 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -366,7 +366,7 @@ DEFINE_string('compute_manager', 'nova.compute.manager.ComputeManager', DEFINE_string('console_manager', 'nova.console.manager.ConsoleProxyManager', 'Manager for console proxy') DEFINE_string('instance_dns_manager', - 'nova.network.instance_dns_driver.InstanceDNSManagerDriver', + 'nova.network.dns_driver.DNSDriver', 'DNS Manager for instance IPs') DEFINE_string('instance_dns_zone', '', 'DNS Zone for instance IPs') diff --git a/nova/network/instance_dns_driver.py b/nova/network/dns_driver.py index c0c6af893..68f5255e4 100644 --- a/nova/network/instance_dns_driver.py +++ b/nova/network/dns_driver.py @@ -13,14 +13,14 @@ # under the License. -class InstanceDNSManagerDriver(object): - """ Defines the instance DNS interface. Does nothing. """ +class DNSDriver(object): + """ Defines the DNS manager interface. Does nothing. """ def __init__(self): pass def get_zones(self): - pass + return [] def create_entry(self, _name, _address, _type, _dnszone): pass |
