Add dns_domain support to OS::Neutron::ProviderNet
It is actually possible to set OS::Neutron::Net-dns_domain but not OS::Neutron::ProviderNet-dns_domain with heat. Since this is allowed using python-neutronclient, there're no reasons to not allow this using heat. Change-Id: I5b085e469f3fd24c797d5dcaf39dbe56f6ad5cdf Task: 36808
This commit is contained in:
@@ -37,11 +37,11 @@ class ProviderNet(net.Net):
|
|||||||
PROPERTIES = (
|
PROPERTIES = (
|
||||||
NAME, PROVIDER_NETWORK_TYPE, PROVIDER_PHYSICAL_NETWORK,
|
NAME, PROVIDER_NETWORK_TYPE, PROVIDER_PHYSICAL_NETWORK,
|
||||||
PROVIDER_SEGMENTATION_ID, ADMIN_STATE_UP, SHARED,
|
PROVIDER_SEGMENTATION_ID, ADMIN_STATE_UP, SHARED,
|
||||||
PORT_SECURITY_ENABLED, ROUTER_EXTERNAL, TAGS,
|
PORT_SECURITY_ENABLED, ROUTER_EXTERNAL, DNS_DOMAIN, TAGS,
|
||||||
) = (
|
) = (
|
||||||
'name', 'network_type', 'physical_network',
|
'name', 'network_type', 'physical_network',
|
||||||
'segmentation_id', 'admin_state_up', 'shared',
|
'segmentation_id', 'admin_state_up', 'shared',
|
||||||
'port_security_enabled', 'router_external', 'tags',
|
'port_security_enabled', 'router_external', 'dns_domain', 'tags',
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -110,6 +110,15 @@ class ProviderNet(net.Net):
|
|||||||
update_allowed=True,
|
update_allowed=True,
|
||||||
support_status=support.SupportStatus(version='12.0.0')
|
support_status=support.SupportStatus(version='12.0.0')
|
||||||
),
|
),
|
||||||
|
DNS_DOMAIN: properties.Schema(
|
||||||
|
properties.Schema.STRING,
|
||||||
|
_('DNS domain associated with this network.'),
|
||||||
|
constraints=[
|
||||||
|
constraints.CustomConstraint('dns_domain')
|
||||||
|
],
|
||||||
|
update_allowed=True,
|
||||||
|
support_status=support.SupportStatus(version='14.0.0')
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
attributes_schema = {
|
attributes_schema = {
|
||||||
|
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Added ``dns_domain`` property to resource type
|
||||||
|
``OS::Neutron::ProviderNet``. This specifies the DNS domain to use when
|
||||||
|
publishing DNS records for ports on this network.
|
Reference in New Issue
Block a user