1 # This file describes the network interfaces available on your system
2 # and how to activate them. For more information, see interfaces(5).
4 # The loopback network interface
11 iface ens3 inet manual
13 # Container/Host management VLAN interface
15 iface ens3.10 inet manual
18 # OpenStack Networking VXLAN (tunnel/overlay) VLAN interface
20 iface ens3.30 inet manual
23 # Storage network VLAN interface (optional)
25 iface ens3.20 inet manual
28 # Container/Host management bridge
30 iface br-mgmt inet static
35 address {{host_info[inventory_hostname].MGMT_IP}}
38 # compute1 VXLAN (tunnel/overlay) bridge config
40 iface br-vxlan inet static
45 address {{host_info[inventory_hostname].VXLAN_IP}}
48 # OpenStack Networking VLAN bridge
50 iface br-vlan inet static
55 address {{host_info[inventory_hostname].VLAN_IP}}
59 # Create veth pair, don't bomb if already exists
60 pre-up ip link add br-vlan-veth type veth peer name eth12 || true
62 pre-up ip link set br-vlan-veth up
63 pre-up ip link set eth12 up
64 # Delete veth pair on DOWN
65 post-down ip link del br-vlan-veth || true
66 bridge_ports br-vlan-veth
68 # Add an additional address to br-vlan
69 iface br-vlan inet static
70 # Flat network default gateway
71 # -- This needs to exist somewhere for network reachability
72 # -- from the router namespace for floating IP paths.
73 # -- Putting this here is primarily for tempest to work.
74 address {{host_info[inventory_hostname].VLAN_IP_SECOND}}
76 dns-nameserver 8.8.8.8 8.8.4.4
78 # compute1 Storage bridge
80 iface br-storage inet static
85 address {{host_info[inventory_hostname].STORAGE_IP}}