Add integrated linters test
Change-Id: I8c2de129f496032a3c73a0354bec8694dfc53000
This commit is contained in:
parent
61b12a3996
commit
46f4aac1f6
@ -1,183 +1,170 @@
|
||||
.. code-block:: yaml
|
||||
|
||||
---
|
||||
- name: Create a systemd-networkd interfaces
|
||||
hosts: localhost
|
||||
become: true
|
||||
roles:
|
||||
- role: "systemd_networkd"
|
||||
systemd_interface_cleanup: true
|
||||
systemd_run_networkd: true
|
||||
systemd_netdevs:
|
||||
- NetDev:
|
||||
Name: dummy0
|
||||
Kind: dummy
|
||||
- NetDev:
|
||||
Name: dummy2
|
||||
Kind: dummy
|
||||
- NetDev:
|
||||
Name: dummy1
|
||||
Kind: dummy
|
||||
- NetDev:
|
||||
Name: dummy3
|
||||
Kind: dummy
|
||||
|
||||
- NetDev:
|
||||
Name: bond0
|
||||
Kind: bond
|
||||
Bond:
|
||||
Mode: 802.3ad
|
||||
TransmitHashPolicy: layer3+4
|
||||
MIIMonitorSec: 1s
|
||||
LACPTransmitRate: fast
|
||||
- NetDev:
|
||||
Name: bond1
|
||||
Kind: bond
|
||||
Bond:
|
||||
Mode: 802.3ad
|
||||
TransmitHashPolicy: layer3+4
|
||||
MIIMonitorSec: 1s
|
||||
LACPTransmitRate: fast
|
||||
|
||||
- NetDev:
|
||||
Name: bond0.110
|
||||
Kind: vlan
|
||||
VLAN:
|
||||
Id: 110
|
||||
- NetDev:
|
||||
Name: bond0.120
|
||||
Kind: vlan
|
||||
VLAN:
|
||||
Id: 120
|
||||
- NetDev:
|
||||
Name: bond0.130
|
||||
Kind: vlan
|
||||
VLAN:
|
||||
Id: 130
|
||||
- NetDev:
|
||||
Name: bond0.140
|
||||
Kind: vlan
|
||||
VLAN:
|
||||
Id: 140
|
||||
- NetDev:
|
||||
Name: bond1.210
|
||||
Kind: vlan
|
||||
VLAN:
|
||||
Id: 210
|
||||
|
||||
- NetDev:
|
||||
Name: br-mgmt
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-vxlan
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-storage
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-vlan
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-dbaas
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-lbaas
|
||||
Kind: bridge
|
||||
|
||||
- NetDev:
|
||||
Name: br-vlan-veth
|
||||
Kind: veth
|
||||
Peer:
|
||||
Name: eth12
|
||||
- NetDev:
|
||||
Name: br-dbaas-veth
|
||||
Kind: veth
|
||||
Peer:
|
||||
Name: eth13
|
||||
- NetDev:
|
||||
Name: br-lbaas-veth
|
||||
Kind: veth
|
||||
Peer:
|
||||
Name: eth14
|
||||
|
||||
systemd_networks:
|
||||
- interface: "dummy0"
|
||||
bond: "bond0"
|
||||
mtu: 9000
|
||||
- interface: "dummy2"
|
||||
bond: "bond0"
|
||||
mtu: 9000
|
||||
- interface: "dummy1"
|
||||
bond: "bond1"
|
||||
mtu: 9000
|
||||
- interface: "dummy3"
|
||||
bond: "bond1"
|
||||
mtu: 9000
|
||||
|
||||
- interface: "bond0"
|
||||
config_overrides:
|
||||
Network:
|
||||
VLAN:
|
||||
? "bond0.110"
|
||||
? "bond0.120"
|
||||
? "bond0.130"
|
||||
? "bond0.140"
|
||||
mtu: 9000
|
||||
- interface: "bond1"
|
||||
bridge: "br-vlan"
|
||||
config_overrides:
|
||||
Network:
|
||||
VLAN:
|
||||
? "bond1.210"
|
||||
mtu: 9000
|
||||
|
||||
- interface: "bond0.110"
|
||||
bridge: "br-mgmt"
|
||||
mtu: 9000
|
||||
- interface: "br-mgmt"
|
||||
address: "172.29.236.100"
|
||||
netmask: "255.255.252.0"
|
||||
|
||||
- interface: "bond0.120"
|
||||
bridge: "br-storage"
|
||||
mtu: 9000
|
||||
- interface: "br-storage"
|
||||
address: "172.29.244.100"
|
||||
netmask: "255.255.252.0"
|
||||
|
||||
- interface: "bond0.130"
|
||||
bridge: "br-dbaas"
|
||||
mtu: 9000
|
||||
- interface: "br-dbaas"
|
||||
address: "172.29.232.100"
|
||||
netmask: "255.255.252.0"
|
||||
- interface: "br-dbaas-veth"
|
||||
bridge: "br-dbaas"
|
||||
mtu: 9000
|
||||
|
||||
- interface: "bond0.140"
|
||||
bridge: "br-lbaas"
|
||||
mtu: 9000
|
||||
- interface: "br-lbaas"
|
||||
address: "172.29.252.100"
|
||||
netmask: "255.255.252.0"
|
||||
- interface: "br-lbaas-veth"
|
||||
bridge: "br-lbaas"
|
||||
mtu: 9000
|
||||
|
||||
- interface: "bond1.210"
|
||||
bridge: "br-vxlan"
|
||||
mtu: 9000
|
||||
- interface: "br-vxlan"
|
||||
address: "172.29.240.100"
|
||||
netmask: "255.255.252.0"
|
||||
|
||||
- interface: "br-vlan"
|
||||
config_overrides:
|
||||
Network:
|
||||
Address:
|
||||
? "172.29.248.100/22"
|
||||
? "172.29.248.1/22"
|
||||
- interface: "br-vlan-veth"
|
||||
bridge: "br-vlan"
|
||||
mtu: 9000
|
||||
---
|
||||
- name: Create a systemd-networkd interfaces
|
||||
hosts: localhost
|
||||
become: true
|
||||
roles:
|
||||
- role: "systemd_networkd"
|
||||
vars:
|
||||
systemd_interface_cleanup: true
|
||||
systemd_run_networkd: true
|
||||
systemd_netdevs:
|
||||
- NetDev:
|
||||
Name: dummy0
|
||||
Kind: dummy
|
||||
- NetDev:
|
||||
Name: dummy2
|
||||
Kind: dummy
|
||||
- NetDev:
|
||||
Name: dummy1
|
||||
Kind: dummy
|
||||
- NetDev:
|
||||
Name: dummy3
|
||||
Kind: dummy
|
||||
- NetDev:
|
||||
Name: bond0
|
||||
Kind: bond
|
||||
Bond:
|
||||
Mode: 802.3ad
|
||||
TransmitHashPolicy: layer3+4
|
||||
MIIMonitorSec: 1s
|
||||
LACPTransmitRate: fast
|
||||
- NetDev:
|
||||
Name: bond1
|
||||
Kind: bond
|
||||
Bond:
|
||||
Mode: 802.3ad
|
||||
TransmitHashPolicy: layer3+4
|
||||
MIIMonitorSec: 1s
|
||||
LACPTransmitRate: fast
|
||||
- NetDev:
|
||||
Name: bond0.110
|
||||
Kind: vlan
|
||||
VLAN:
|
||||
Id: 110
|
||||
- NetDev:
|
||||
Name: bond0.120
|
||||
Kind: vlan
|
||||
VLAN:
|
||||
Id: 120
|
||||
- NetDev:
|
||||
Name: bond0.130
|
||||
Kind: vlan
|
||||
VLAN:
|
||||
Id: 130
|
||||
- NetDev:
|
||||
Name: bond0.140
|
||||
Kind: vlan
|
||||
VLAN:
|
||||
Id: 140
|
||||
- NetDev:
|
||||
Name: bond1.210
|
||||
Kind: vlan
|
||||
VLAN:
|
||||
Id: 210
|
||||
- NetDev:
|
||||
Name: br-mgmt
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-vxlan
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-storage
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-vlan
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-dbaas
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-lbaas
|
||||
Kind: bridge
|
||||
- NetDev:
|
||||
Name: br-vlan-veth
|
||||
Kind: veth
|
||||
Peer:
|
||||
Name: eth12
|
||||
- NetDev:
|
||||
Name: br-dbaas-veth
|
||||
Kind: veth
|
||||
Peer:
|
||||
Name: eth13
|
||||
- NetDev:
|
||||
Name: br-lbaas-veth
|
||||
Kind: veth
|
||||
Peer:
|
||||
Name: eth14
|
||||
systemd_networks:
|
||||
- interface: "dummy0"
|
||||
bond: "bond0"
|
||||
mtu: 9000
|
||||
- interface: "dummy2"
|
||||
bond: "bond0"
|
||||
mtu: 9000
|
||||
- interface: "dummy1"
|
||||
bond: "bond1"
|
||||
mtu: 9000
|
||||
- interface: "dummy3"
|
||||
bond: "bond1"
|
||||
mtu: 9000
|
||||
- interface: "bond0"
|
||||
config_overrides:
|
||||
Network:
|
||||
VLAN:
|
||||
? "bond0.110"
|
||||
? "bond0.120"
|
||||
? "bond0.130"
|
||||
? "bond0.140"
|
||||
mtu: 9000
|
||||
- interface: "bond1"
|
||||
bridge: "br-vlan"
|
||||
config_overrides:
|
||||
Network:
|
||||
VLAN:
|
||||
? "bond1.210"
|
||||
mtu: 9000
|
||||
- interface: "bond0.110"
|
||||
bridge: "br-mgmt"
|
||||
mtu: 9000
|
||||
- interface: "br-mgmt"
|
||||
address: "172.29.236.100"
|
||||
netmask: "255.255.252.0"
|
||||
- interface: "bond0.120"
|
||||
bridge: "br-storage"
|
||||
mtu: 9000
|
||||
- interface: "br-storage"
|
||||
address: "172.29.244.100"
|
||||
netmask: "255.255.252.0"
|
||||
- interface: "bond0.130"
|
||||
bridge: "br-dbaas"
|
||||
mtu: 9000
|
||||
- interface: "br-dbaas"
|
||||
address: "172.29.232.100"
|
||||
netmask: "255.255.252.0"
|
||||
- interface: "br-dbaas-veth"
|
||||
bridge: "br-dbaas"
|
||||
mtu: 9000
|
||||
- interface: "bond0.140"
|
||||
bridge: "br-lbaas"
|
||||
mtu: 9000
|
||||
- interface: "br-lbaas"
|
||||
address: "172.29.252.100"
|
||||
netmask: "255.255.252.0"
|
||||
- interface: "br-lbaas-veth"
|
||||
bridge: "br-lbaas"
|
||||
mtu: 9000
|
||||
- interface: "bond1.210"
|
||||
bridge: "br-vxlan"
|
||||
mtu: 9000
|
||||
- interface: "br-vxlan"
|
||||
address: "172.29.240.100"
|
||||
netmask: "255.255.252.0"
|
||||
- interface: "br-vlan"
|
||||
config_overrides:
|
||||
Network:
|
||||
Address:
|
||||
? "172.29.248.100/22"
|
||||
? "172.29.248.1/22"
|
||||
- interface: "br-vlan-veth"
|
||||
bridge: "br-vlan"
|
||||
mtu: 9000
|
||||
|
@ -15,6 +15,7 @@
|
||||
|
||||
- project:
|
||||
templates:
|
||||
- openstack-ansible-linters-jobs
|
||||
- openstack-ansible-role-jobs
|
||||
- openstack-ansible-deploy-aio_metal-jobs
|
||||
- openstack-ansible-deploy-aio_distro_metal-jobs
|
||||
|
Loading…
Reference in New Issue
Block a user