Merge "Adds more nic config templates[1]"
This commit is contained in:
commit
ac8baa947d
@ -0,0 +1,17 @@
|
||||
---
|
||||
network_config:
|
||||
- type: ovs_bridge
|
||||
name: {{ neutron_physical_bridge_name }}
|
||||
use_dhcp: true
|
||||
dns_servers: {{ ctlplane_dns_nameservers }}
|
||||
domain: {{ dns_search_domains }}
|
||||
members:
|
||||
- type: ovs_bond
|
||||
name: bond1
|
||||
use_dhcp: true
|
||||
ovs_options: {{ bond_interface_ovs_options }}
|
||||
members:
|
||||
- type: interface
|
||||
name: nic1
|
||||
- type: interface
|
||||
name: nic2
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
network_config:
|
||||
- type: ovs_bridge
|
||||
name: {{ neutron_physical_bridge_name }}
|
||||
use_dhcp: true
|
||||
dns_servers: {{ ctlplane_dns_nameservers }}
|
||||
domain: {{ dns_search_domains }}
|
||||
members:
|
||||
- type: interface
|
||||
name: {{ neutron_public_interface_name }}
|
||||
# force the MAC address of the bridge to this interface
|
||||
primary: true
|
@ -0,0 +1,17 @@
|
||||
---
|
||||
network_config:
|
||||
- type: linux_bridge
|
||||
name: {{ neutron_physical_bridge_name }}
|
||||
addresses:
|
||||
- ip_netmask: {{ ctlplane_ip }}/{{ ctlplane_subnet_cidr }}
|
||||
dns_servers: {{ ctlplane_dns_nameservers }}
|
||||
domain: {{ dns_search_domains }}
|
||||
members:
|
||||
- type: interface
|
||||
name: {{ neutron_public_interface_name }}
|
||||
# force the MAC address of the bridge to this interface
|
||||
primary: true
|
||||
routes:
|
||||
- ip_netmask: 0.0.0.0/0
|
||||
next_hop: {{ ctlplane_gateway_ip }}
|
||||
default: true
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
network_config:
|
||||
- type: interface
|
||||
name: {{ neutron_public_interface_name }}
|
||||
use_dhcp: false
|
||||
dns_servers: {{ ctlplane_dns_nameservers }}
|
||||
domain: {{ dns_search_domains }}
|
||||
addresses:
|
||||
- ip_netmask: {{ ctlplane_ip }}/{{ ctlplane_subnet_cidr }}
|
||||
routes:
|
||||
- default: true
|
||||
next_hop: {{ ctlplane_gateway_ip }}
|
@ -0,0 +1,17 @@
|
||||
---
|
||||
network_config:
|
||||
- type: ovs_bridge
|
||||
name: {{ neutron_physical_bridge_name }}
|
||||
use_dhcp: false
|
||||
dns_servers: {{ ctlplane_dns_nameservers }}
|
||||
domain: {{ dns_search_domains }}
|
||||
addresses:
|
||||
- ip_netmask: {{ ctlplane_ip }}/{{ ctlplane_subnet_cidr }}
|
||||
routes:
|
||||
- default: true
|
||||
next_hop: {{ ctlplane_gateway_ip }}
|
||||
members:
|
||||
- type: interface
|
||||
name: {{ neutron_public_interface_name }}
|
||||
# force the MAC address of the bridge to this interface
|
||||
primary: true
|
@ -0,0 +1,19 @@
|
||||
---
|
||||
network_config:
|
||||
- type: ovs_bridge
|
||||
name: {{ neutron_physical_bridge_name }}
|
||||
use_dhcp: true
|
||||
dns_servers: {{ ctlplane_dns_nameservers }}
|
||||
domain: {{ dns_search_domains }}
|
||||
members:
|
||||
- type: interface
|
||||
name: {{ neutron_public_interface_name }}
|
||||
# force the MAC address of the bridge to this interface
|
||||
primary: true
|
||||
- type: interface
|
||||
name: br-ex:0
|
||||
addresses:
|
||||
- ip_netmask: {{ ctlplane_ip }}/{{ ctlplane_subnet_cidr }}
|
||||
routes:
|
||||
- default: true
|
||||
next_hop: {{ ctlplane_gateway_ip }}
|
@ -22,11 +22,11 @@ network_config:
|
||||
- ip_netmask: {{ ctlplane_ip }}/{{ ctlplane_subnet_cidr }}
|
||||
- ip_netmask: {{ control_virtual_ip}}/{{ control_virtual_cidr }}
|
||||
- ip_netmask: {{ public_virtual_ip}}/{{ public_virtual_cidr }}
|
||||
routes: {{ ctlplane_static_routes }}
|
||||
dns_servers: {{ dns_nameservers }}
|
||||
routes: {{ ctlplane_host_routes }}
|
||||
dns_servers: {{ ctlplane_dns_nameservers }}
|
||||
domain: {{ dns_search_domains }}
|
||||
members:
|
||||
- type: interface
|
||||
name: {{ neutron_public_interface }}
|
||||
name: {{ neutron_public_interface_name }}
|
||||
primary: true
|
||||
mtu: {{ local_mtu }}
|
||||
|
@ -21,11 +21,11 @@ network_config:
|
||||
- ip_netmask: {{ ctlplane_ip }}/{{ ctlplane_subnet_cidr }}
|
||||
- ip_netmask: {{ control_virtual_ip}}/{{ control_virtual_cidr }}
|
||||
- ip_netmask: {{ public_virtual_ip}}/{{ public_virtual_cidr }}
|
||||
routes: {{ ctlplane_static_routes }}
|
||||
dns_servers: {{ dns_nameservers }}
|
||||
routes: {{ ctlplane_host_routes }}
|
||||
dns_servers: {{ ctlplane_dns_nameservers }}
|
||||
domain: {{ dns_search_domains }}
|
||||
members:
|
||||
- type: interface
|
||||
name: {{ neutron_public_interface }}
|
||||
name: {{ neutron_public_interface_name }}
|
||||
primary: true
|
||||
mtu: {{ local_mtu }}
|
||||
|
Loading…
Reference in New Issue
Block a user