Add integrated linters test

Change-Id: I8c2de129f496032a3c73a0354bec8694dfc53000
This commit is contained in:
Dmitriy Rabotyagov 2021-07-01 14:24:54 +03:00
parent 61b12a3996
commit 46f4aac1f6
2 changed files with 171 additions and 183 deletions

View File

@ -1,11 +1,10 @@
.. code-block:: yaml ---
- name: Create a systemd-networkd interfaces
---
- name: Create a systemd-networkd interfaces
hosts: localhost hosts: localhost
become: true become: true
roles: roles:
- role: "systemd_networkd" - role: "systemd_networkd"
vars:
systemd_interface_cleanup: true systemd_interface_cleanup: true
systemd_run_networkd: true systemd_run_networkd: true
systemd_netdevs: systemd_netdevs:
@ -21,7 +20,6 @@
- NetDev: - NetDev:
Name: dummy3 Name: dummy3
Kind: dummy Kind: dummy
- NetDev: - NetDev:
Name: bond0 Name: bond0
Kind: bond Kind: bond
@ -38,7 +36,6 @@
TransmitHashPolicy: layer3+4 TransmitHashPolicy: layer3+4
MIIMonitorSec: 1s MIIMonitorSec: 1s
LACPTransmitRate: fast LACPTransmitRate: fast
- NetDev: - NetDev:
Name: bond0.110 Name: bond0.110
Kind: vlan Kind: vlan
@ -64,7 +61,6 @@
Kind: vlan Kind: vlan
VLAN: VLAN:
Id: 210 Id: 210
- NetDev: - NetDev:
Name: br-mgmt Name: br-mgmt
Kind: bridge Kind: bridge
@ -83,7 +79,6 @@
- NetDev: - NetDev:
Name: br-lbaas Name: br-lbaas
Kind: bridge Kind: bridge
- NetDev: - NetDev:
Name: br-vlan-veth Name: br-vlan-veth
Kind: veth Kind: veth
@ -99,7 +94,6 @@
Kind: veth Kind: veth
Peer: Peer:
Name: eth14 Name: eth14
systemd_networks: systemd_networks:
- interface: "dummy0" - interface: "dummy0"
bond: "bond0" bond: "bond0"
@ -113,7 +107,6 @@
- interface: "dummy3" - interface: "dummy3"
bond: "bond1" bond: "bond1"
mtu: 9000 mtu: 9000
- interface: "bond0" - interface: "bond0"
config_overrides: config_overrides:
Network: Network:
@ -130,21 +123,18 @@
VLAN: VLAN:
? "bond1.210" ? "bond1.210"
mtu: 9000 mtu: 9000
- interface: "bond0.110" - interface: "bond0.110"
bridge: "br-mgmt" bridge: "br-mgmt"
mtu: 9000 mtu: 9000
- interface: "br-mgmt" - interface: "br-mgmt"
address: "172.29.236.100" address: "172.29.236.100"
netmask: "255.255.252.0" netmask: "255.255.252.0"
- interface: "bond0.120" - interface: "bond0.120"
bridge: "br-storage" bridge: "br-storage"
mtu: 9000 mtu: 9000
- interface: "br-storage" - interface: "br-storage"
address: "172.29.244.100" address: "172.29.244.100"
netmask: "255.255.252.0" netmask: "255.255.252.0"
- interface: "bond0.130" - interface: "bond0.130"
bridge: "br-dbaas" bridge: "br-dbaas"
mtu: 9000 mtu: 9000
@ -154,7 +144,6 @@
- interface: "br-dbaas-veth" - interface: "br-dbaas-veth"
bridge: "br-dbaas" bridge: "br-dbaas"
mtu: 9000 mtu: 9000
- interface: "bond0.140" - interface: "bond0.140"
bridge: "br-lbaas" bridge: "br-lbaas"
mtu: 9000 mtu: 9000
@ -164,14 +153,12 @@
- interface: "br-lbaas-veth" - interface: "br-lbaas-veth"
bridge: "br-lbaas" bridge: "br-lbaas"
mtu: 9000 mtu: 9000
- interface: "bond1.210" - interface: "bond1.210"
bridge: "br-vxlan" bridge: "br-vxlan"
mtu: 9000 mtu: 9000
- interface: "br-vxlan" - interface: "br-vxlan"
address: "172.29.240.100" address: "172.29.240.100"
netmask: "255.255.252.0" netmask: "255.255.252.0"
- interface: "br-vlan" - interface: "br-vlan"
config_overrides: config_overrides:
Network: Network:

View File

@ -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