diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-10-01 14:59:04 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-10-01 14:59:04 +0000 |
commit | 2ceb9a61111e48f3ccee68732291e40897634968 (patch) | |
tree | f1c3dc48e224d3d98d495f1b08207d87f3be69ac /network/config/single-nic-vlans | |
parent | 917c03864a8a99a75fdc5ebbe7a5785ddc7ce981 (diff) | |
parent | 8f02b02278f46366956e694e20050b585a55d226 (diff) |
Merge "Add DnsServers param to network config templates"
Diffstat (limited to 'network/config/single-nic-vlans')
5 files changed, 25 insertions, 0 deletions
diff --git a/network/config/single-nic-vlans/ceph-storage.yaml b/network/config/single-nic-vlans/ceph-storage.yaml index ddb41633..5148c520 100644 --- a/network/config/single-nic-vlans/ceph-storage.yaml +++ b/network/config/single-nic-vlans/ceph-storage.yaml @@ -44,6 +44,10 @@ parameters: ControlPlaneDefaultRoute: # Override this via parameter_defaults description: The default route of the control plane network. type: string + DnsServers: # Override this via parameter_defaults + default: [] + description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf. + type: comma_delimited_list EC2MetadataIp: # Override this via parameter_defaults description: The IP address of the EC2 metadata server. type: string @@ -60,6 +64,7 @@ resources: type: ovs_bridge name: br-storage use_dhcp: false + dns_servers: {get_param: DnsServers} addresses: - ip_netmask: diff --git a/network/config/single-nic-vlans/cinder-storage.yaml b/network/config/single-nic-vlans/cinder-storage.yaml index 4b2a5753..e79a9f4b 100644 --- a/network/config/single-nic-vlans/cinder-storage.yaml +++ b/network/config/single-nic-vlans/cinder-storage.yaml @@ -48,6 +48,10 @@ parameters: ControlPlaneDefaultRoute: # Override this via parameter_defaults description: The default route of the control plane network. type: string + DnsServers: # Override this via parameter_defaults + default: [] + description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf. + type: comma_delimited_list EC2MetadataIp: # Override this via parameter_defaults description: The IP address of the EC2 metadata server. type: string @@ -64,6 +68,7 @@ resources: type: ovs_bridge name: br-storage use_dhcp: false + dns_servers: {get_param: DnsServers} addresses: - ip_netmask: diff --git a/network/config/single-nic-vlans/compute.yaml b/network/config/single-nic-vlans/compute.yaml index dc8d6851..4e93b31c 100644 --- a/network/config/single-nic-vlans/compute.yaml +++ b/network/config/single-nic-vlans/compute.yaml @@ -48,6 +48,10 @@ parameters: ControlPlaneDefaultRoute: # Override this via parameter_defaults description: The default route of the control plane network. type: string + DnsServers: # Override this via parameter_defaults + default: [] + description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf. + type: comma_delimited_list EC2MetadataIp: # Override this via parameter_defaults description: The IP address of the EC2 metadata server. type: string @@ -64,6 +68,7 @@ resources: type: ovs_bridge name: {get_input: bridge_name} use_dhcp: false + dns_servers: {get_param: DnsServers} addresses: - ip_netmask: diff --git a/network/config/single-nic-vlans/controller.yaml b/network/config/single-nic-vlans/controller.yaml index c0f4132b..3c536d67 100644 --- a/network/config/single-nic-vlans/controller.yaml +++ b/network/config/single-nic-vlans/controller.yaml @@ -57,6 +57,10 @@ parameters: default: '24' description: The subnet CIDR of the control plane network. type: string + DnsServers: # Override this via parameter_defaults + default: [] + description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf. + type: comma_delimited_list EC2MetadataIp: # Override this via parameter_defaults description: The IP address of the EC2 metadata server. type: string @@ -73,6 +77,7 @@ resources: type: ovs_bridge name: {get_input: bridge_name} use_dhcp: false + dns_servers: {get_param: DnsServers} addresses: - ip_netmask: diff --git a/network/config/single-nic-vlans/swift-storage.yaml b/network/config/single-nic-vlans/swift-storage.yaml index 5a308df0..83b3304f 100644 --- a/network/config/single-nic-vlans/swift-storage.yaml +++ b/network/config/single-nic-vlans/swift-storage.yaml @@ -48,6 +48,10 @@ parameters: ControlPlaneDefaultRoute: # Override this via parameter_defaults description: The default route of the control plane network. type: string + DnsServers: # Override this via parameter_defaults + default: [] + description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf. + type: comma_delimited_list EC2MetadataIp: # Override this via parameter_defaults description: The IP address of the EC2 metadata server. type: string @@ -64,6 +68,7 @@ resources: type: ovs_bridge name: br-storage use_dhcp: false + dns_servers: {get_param: DnsServers} addresses: - ip_netmask: |