TT#24206 Use of legacy network device names

Checks:

- static configuration: passing the option "net.ifnames=0" to the
  kernel during boot

- check if there are such devices ("eth*") in the system when running

Change-Id: I7d17777463d4dee7c067d1bf3e08080f91898b45
changes/56/18056/3
Manuel Montecelo 8 years ago
parent 2323dbaf88
commit 4b1bb087ce

@ -0,0 +1,16 @@
file:
/etc/default/grub:
exists: true
mode: "0644"
owner: root
group: root
filetype: file
contains: ['/^GRUB_CMDLINE_LINUX_DEFAULT=".*net.ifnames=0.*"/']
command:
ip link:
exit-status: 0
stdout: ['/: eth[0-9]/']
stderr: []

@ -37,6 +37,7 @@ gossfile:
[% IF general.ngcp_type != 'spce' -%]
822_network-ports-ngcp-pro.yaml: {}
[% END -%]
830_network-interfaces-legacy.yaml: {}
900_service-ngcp-api.yaml: {}
910_service-influxdb.yaml: {}
911_service-grafana.yaml: {}

Loading…
Cancel
Save