135 lines
3.1 KiB
YAML
135 lines
3.1 KiB
YAML
id: simple_multinode_gre
|
|
# eth2 - private 10.1.0.0/24 with JUMBO frames,
|
|
# eth1 - mgmt 10.0.0.0/24,
|
|
# eth0 - ext 192.168.121.0/24
|
|
resources:
|
|
- id: node1_sdn
|
|
from: resources/node_network_puppet
|
|
values:
|
|
use_ovs: true
|
|
network_scheme:
|
|
version: '1.1'
|
|
provider: lnx
|
|
interfaces:
|
|
eth0:
|
|
mtu: 1500
|
|
eth1:
|
|
mtu: 1500
|
|
eth2:
|
|
mtu: 9000
|
|
transformations:
|
|
- action: add-br
|
|
name: br-mgmt
|
|
- action: add-br
|
|
name: br-ex
|
|
- action: add-br
|
|
name: br-floating
|
|
provider: ovs
|
|
- action: add-patch
|
|
bridges:
|
|
- br-floating
|
|
- br-ex
|
|
provider: ovs
|
|
mtu: 65000
|
|
- action: add-br
|
|
name: br-mesh
|
|
- action: add-port
|
|
bridge: br-ex
|
|
name: eth0
|
|
- action: add-port
|
|
bridge: br-mgmt
|
|
name: eth1
|
|
- action: add-port
|
|
bridge: br-mesh
|
|
name: eth2
|
|
endpoints:
|
|
br-mesh:
|
|
IP:
|
|
- 10.1.0.3/24
|
|
br-floating:
|
|
IP: none
|
|
br-mgmt:
|
|
IP:
|
|
- 10.0.0.3/24
|
|
vendor_specific:
|
|
phy_interfaces:
|
|
- eth1
|
|
br-ex:
|
|
IP:
|
|
- 192.168.121.13/24
|
|
vendor_specific:
|
|
phy_interfaces:
|
|
- eth0
|
|
gateway: 192.168.121.1
|
|
roles:
|
|
management: br-mgmt
|
|
neutron/mesh: br-mesh
|
|
ex: br-ex
|
|
neutron/floating: br-floating
|
|
fw-admin: br-fw-admin
|
|
|
|
- id: node2_sdn
|
|
from: resources/node_network_puppet
|
|
values:
|
|
use_ovs: true
|
|
network_scheme:
|
|
version: '1.1'
|
|
provider: lnx
|
|
interfaces:
|
|
eth0:
|
|
mtu: 1500
|
|
eth1:
|
|
mtu: 1500
|
|
eth2:
|
|
mtu: 9000
|
|
transformations:
|
|
- action: add-br
|
|
name: br-mgmt
|
|
- action: add-br
|
|
name: br-ex
|
|
- action: add-br
|
|
name: br-floating
|
|
provider: ovs
|
|
- action: add-patch
|
|
bridges:
|
|
- br-floating
|
|
- br-ex
|
|
provider: ovs
|
|
mtu: 65000
|
|
- action: add-br
|
|
name: br-mesh
|
|
- action: add-port
|
|
bridge: br-ex
|
|
name: eth0
|
|
- action: add-port
|
|
bridge: br-mgmt
|
|
name: eth1
|
|
- action: add-port
|
|
bridge: br-mesh
|
|
name: eth2
|
|
endpoints:
|
|
br-mesh:
|
|
IP:
|
|
- 10.1.0.4/24
|
|
br-floating:
|
|
IP: none
|
|
br-mgmt:
|
|
IP:
|
|
- 10.0.0.4/24
|
|
vendor_specific:
|
|
phy_interfaces:
|
|
- eth1
|
|
br-ex:
|
|
IP:
|
|
- 192.168.121.14/24
|
|
vendor_specific:
|
|
phy_interfaces:
|
|
- eth0
|
|
gateway: 192.168.121.1
|
|
roles:
|
|
management: br-mgmt
|
|
neutron/mesh: br-mesh
|
|
ex: br-ex
|
|
neutron/floating: br-floating
|
|
fw-admin: br-fw-admin
|