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
become: true
roles:
- role: "systemd_networkd"
vars:
systemd_interface_cleanup: true
systemd_run_networkd: true
systemd_netdevs:
@ -21,7 +20,6 @@
- NetDev:
Name: dummy3
Kind: dummy
- NetDev:
Name: bond0
Kind: bond
@ -38,7 +36,6 @@
TransmitHashPolicy: layer3+4
MIIMonitorSec: 1s
LACPTransmitRate: fast
- NetDev:
Name: bond0.110
Kind: vlan
@ -64,7 +61,6 @@
Kind: vlan
VLAN:
Id: 210
- NetDev:
Name: br-mgmt
Kind: bridge
@ -83,7 +79,6 @@
- NetDev:
Name: br-lbaas
Kind: bridge
- NetDev:
Name: br-vlan-veth
Kind: veth
@ -99,7 +94,6 @@
Kind: veth
Peer:
Name: eth14
systemd_networks:
- interface: "dummy0"
bond: "bond0"
@ -113,7 +107,6 @@
- interface: "dummy3"
bond: "bond1"
mtu: 9000
- interface: "bond0"
config_overrides:
Network:
@ -130,21 +123,18 @@
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
@ -154,7 +144,6 @@
- interface: "br-dbaas-veth"
bridge: "br-dbaas"
mtu: 9000
- interface: "bond0.140"
bridge: "br-lbaas"
mtu: 9000
@ -164,14 +153,12 @@
- 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:

View File

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