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
|
||||||
- name: Create a systemd-networkd interfaces
|
become: true
|
||||||
hosts: localhost
|
roles:
|
||||||
become: true
|
- role: "systemd_networkd"
|
||||||
roles:
|
vars:
|
||||||
- role: "systemd_networkd"
|
systemd_interface_cleanup: true
|
||||||
systemd_interface_cleanup: true
|
systemd_run_networkd: true
|
||||||
systemd_run_networkd: true
|
systemd_netdevs:
|
||||||
systemd_netdevs:
|
- NetDev:
|
||||||
- NetDev:
|
Name: dummy0
|
||||||
Name: dummy0
|
Kind: dummy
|
||||||
Kind: dummy
|
- NetDev:
|
||||||
- NetDev:
|
Name: dummy2
|
||||||
Name: dummy2
|
Kind: dummy
|
||||||
Kind: dummy
|
- NetDev:
|
||||||
- NetDev:
|
Name: dummy1
|
||||||
Name: dummy1
|
Kind: dummy
|
||||||
Kind: dummy
|
- NetDev:
|
||||||
- NetDev:
|
Name: dummy3
|
||||||
Name: dummy3
|
Kind: dummy
|
||||||
Kind: dummy
|
- NetDev:
|
||||||
|
Name: bond0
|
||||||
- NetDev:
|
Kind: bond
|
||||||
Name: bond0
|
Bond:
|
||||||
Kind: bond
|
Mode: 802.3ad
|
||||||
Bond:
|
TransmitHashPolicy: layer3+4
|
||||||
Mode: 802.3ad
|
MIIMonitorSec: 1s
|
||||||
TransmitHashPolicy: layer3+4
|
LACPTransmitRate: fast
|
||||||
MIIMonitorSec: 1s
|
- NetDev:
|
||||||
LACPTransmitRate: fast
|
Name: bond1
|
||||||
- NetDev:
|
Kind: bond
|
||||||
Name: bond1
|
Bond:
|
||||||
Kind: bond
|
Mode: 802.3ad
|
||||||
Bond:
|
TransmitHashPolicy: layer3+4
|
||||||
Mode: 802.3ad
|
MIIMonitorSec: 1s
|
||||||
TransmitHashPolicy: layer3+4
|
LACPTransmitRate: fast
|
||||||
MIIMonitorSec: 1s
|
- NetDev:
|
||||||
LACPTransmitRate: fast
|
Name: bond0.110
|
||||||
|
Kind: vlan
|
||||||
- NetDev:
|
VLAN:
|
||||||
Name: bond0.110
|
Id: 110
|
||||||
Kind: vlan
|
- NetDev:
|
||||||
VLAN:
|
Name: bond0.120
|
||||||
Id: 110
|
Kind: vlan
|
||||||
- NetDev:
|
VLAN:
|
||||||
Name: bond0.120
|
Id: 120
|
||||||
Kind: vlan
|
- NetDev:
|
||||||
VLAN:
|
Name: bond0.130
|
||||||
Id: 120
|
Kind: vlan
|
||||||
- NetDev:
|
VLAN:
|
||||||
Name: bond0.130
|
Id: 130
|
||||||
Kind: vlan
|
- NetDev:
|
||||||
VLAN:
|
Name: bond0.140
|
||||||
Id: 130
|
Kind: vlan
|
||||||
- NetDev:
|
VLAN:
|
||||||
Name: bond0.140
|
Id: 140
|
||||||
Kind: vlan
|
- NetDev:
|
||||||
VLAN:
|
Name: bond1.210
|
||||||
Id: 140
|
Kind: vlan
|
||||||
- NetDev:
|
VLAN:
|
||||||
Name: bond1.210
|
Id: 210
|
||||||
Kind: vlan
|
- NetDev:
|
||||||
VLAN:
|
Name: br-mgmt
|
||||||
Id: 210
|
Kind: bridge
|
||||||
|
- NetDev:
|
||||||
- NetDev:
|
Name: br-vxlan
|
||||||
Name: br-mgmt
|
Kind: bridge
|
||||||
Kind: bridge
|
- NetDev:
|
||||||
- NetDev:
|
Name: br-storage
|
||||||
Name: br-vxlan
|
Kind: bridge
|
||||||
Kind: bridge
|
- NetDev:
|
||||||
- NetDev:
|
Name: br-vlan
|
||||||
Name: br-storage
|
Kind: bridge
|
||||||
Kind: bridge
|
- NetDev:
|
||||||
- NetDev:
|
Name: br-dbaas
|
||||||
Name: br-vlan
|
Kind: bridge
|
||||||
Kind: bridge
|
- NetDev:
|
||||||
- NetDev:
|
Name: br-lbaas
|
||||||
Name: br-dbaas
|
Kind: bridge
|
||||||
Kind: bridge
|
- NetDev:
|
||||||
- NetDev:
|
Name: br-vlan-veth
|
||||||
Name: br-lbaas
|
Kind: veth
|
||||||
Kind: bridge
|
Peer:
|
||||||
|
Name: eth12
|
||||||
- NetDev:
|
- NetDev:
|
||||||
Name: br-vlan-veth
|
Name: br-dbaas-veth
|
||||||
Kind: veth
|
Kind: veth
|
||||||
Peer:
|
Peer:
|
||||||
Name: eth12
|
Name: eth13
|
||||||
- NetDev:
|
- NetDev:
|
||||||
Name: br-dbaas-veth
|
Name: br-lbaas-veth
|
||||||
Kind: veth
|
Kind: veth
|
||||||
Peer:
|
Peer:
|
||||||
Name: eth13
|
Name: eth14
|
||||||
- NetDev:
|
systemd_networks:
|
||||||
Name: br-lbaas-veth
|
- interface: "dummy0"
|
||||||
Kind: veth
|
bond: "bond0"
|
||||||
Peer:
|
mtu: 9000
|
||||||
Name: eth14
|
- interface: "dummy2"
|
||||||
|
bond: "bond0"
|
||||||
systemd_networks:
|
mtu: 9000
|
||||||
- interface: "dummy0"
|
- interface: "dummy1"
|
||||||
bond: "bond0"
|
bond: "bond1"
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
- interface: "dummy2"
|
- interface: "dummy3"
|
||||||
bond: "bond0"
|
bond: "bond1"
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
- interface: "dummy1"
|
- interface: "bond0"
|
||||||
bond: "bond1"
|
config_overrides:
|
||||||
mtu: 9000
|
Network:
|
||||||
- interface: "dummy3"
|
VLAN:
|
||||||
bond: "bond1"
|
? "bond0.110"
|
||||||
mtu: 9000
|
? "bond0.120"
|
||||||
|
? "bond0.130"
|
||||||
- interface: "bond0"
|
? "bond0.140"
|
||||||
config_overrides:
|
mtu: 9000
|
||||||
Network:
|
- interface: "bond1"
|
||||||
VLAN:
|
bridge: "br-vlan"
|
||||||
? "bond0.110"
|
config_overrides:
|
||||||
? "bond0.120"
|
Network:
|
||||||
? "bond0.130"
|
VLAN:
|
||||||
? "bond0.140"
|
? "bond1.210"
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
- interface: "bond1"
|
- interface: "bond0.110"
|
||||||
bridge: "br-vlan"
|
bridge: "br-mgmt"
|
||||||
config_overrides:
|
mtu: 9000
|
||||||
Network:
|
- interface: "br-mgmt"
|
||||||
VLAN:
|
address: "172.29.236.100"
|
||||||
? "bond1.210"
|
netmask: "255.255.252.0"
|
||||||
mtu: 9000
|
- interface: "bond0.120"
|
||||||
|
bridge: "br-storage"
|
||||||
- interface: "bond0.110"
|
mtu: 9000
|
||||||
bridge: "br-mgmt"
|
- interface: "br-storage"
|
||||||
mtu: 9000
|
address: "172.29.244.100"
|
||||||
- interface: "br-mgmt"
|
netmask: "255.255.252.0"
|
||||||
address: "172.29.236.100"
|
- interface: "bond0.130"
|
||||||
netmask: "255.255.252.0"
|
bridge: "br-dbaas"
|
||||||
|
mtu: 9000
|
||||||
- interface: "bond0.120"
|
- interface: "br-dbaas"
|
||||||
bridge: "br-storage"
|
address: "172.29.232.100"
|
||||||
mtu: 9000
|
netmask: "255.255.252.0"
|
||||||
- interface: "br-storage"
|
- interface: "br-dbaas-veth"
|
||||||
address: "172.29.244.100"
|
bridge: "br-dbaas"
|
||||||
netmask: "255.255.252.0"
|
mtu: 9000
|
||||||
|
- interface: "bond0.140"
|
||||||
- interface: "bond0.130"
|
bridge: "br-lbaas"
|
||||||
bridge: "br-dbaas"
|
mtu: 9000
|
||||||
mtu: 9000
|
- interface: "br-lbaas"
|
||||||
- interface: "br-dbaas"
|
address: "172.29.252.100"
|
||||||
address: "172.29.232.100"
|
netmask: "255.255.252.0"
|
||||||
netmask: "255.255.252.0"
|
- interface: "br-lbaas-veth"
|
||||||
- interface: "br-dbaas-veth"
|
bridge: "br-lbaas"
|
||||||
bridge: "br-dbaas"
|
mtu: 9000
|
||||||
mtu: 9000
|
- interface: "bond1.210"
|
||||||
|
bridge: "br-vxlan"
|
||||||
- interface: "bond0.140"
|
mtu: 9000
|
||||||
bridge: "br-lbaas"
|
- interface: "br-vxlan"
|
||||||
mtu: 9000
|
address: "172.29.240.100"
|
||||||
- interface: "br-lbaas"
|
netmask: "255.255.252.0"
|
||||||
address: "172.29.252.100"
|
- interface: "br-vlan"
|
||||||
netmask: "255.255.252.0"
|
config_overrides:
|
||||||
- interface: "br-lbaas-veth"
|
Network:
|
||||||
bridge: "br-lbaas"
|
Address:
|
||||||
mtu: 9000
|
? "172.29.248.100/22"
|
||||||
|
? "172.29.248.1/22"
|
||||||
- interface: "bond1.210"
|
- interface: "br-vlan-veth"
|
||||||
bridge: "br-vxlan"
|
bridge: "br-vlan"
|
||||||
mtu: 9000
|
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:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
|
- openstack-ansible-linters-jobs
|
||||||
- openstack-ansible-role-jobs
|
- openstack-ansible-role-jobs
|
||||||
- openstack-ansible-deploy-aio_metal-jobs
|
- openstack-ansible-deploy-aio_metal-jobs
|
||||||
- openstack-ansible-deploy-aio_distro_metal-jobs
|
- openstack-ansible-deploy-aio_distro_metal-jobs
|
||||||
|
Loading…
Reference in New Issue
Block a user