integ/config
Andre Fernando Zanella Kantek d0a4cdcb1e Set provider mode when formatting network interfaces file on Debian
When the interfaces file is generated it is necessary to determine the
mode (vlan or raw) from the interface name. Originally the plugin
considers that a previous interfaces file exists and will use it to
set the mode value.

But on StarlingX network_config is generated by sysinv and there is no
previous file to parse, so this change adds the mode logic on
file formatting.

Test Plan:
PASS: generate valid ifupdown config when interface name is of format
      "vlanNNN" on Debian and apply it with ifup/ifdown command

Story: 2009101
Task: 44659

Signed-off-by: Andre Fernando Zanella Kantek <AndreFernandoZanella.Kantek@windriver.com>
Change-Id: Ibccd189ea14eed4b8504908188fabedfa6bf4c2a
2022-03-04 18:27:32 +00:00
..
facter Add debian package for facter 3.14.12 2021-09-15 12:18:58 +03:00
puppet-4.8.2/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
puppet-5.5.22/debian debian: Correctly install the StarlingX puppet.conf 2022-02-22 20:56:18 -05:00
puppet-modules Set provider mode when formatting network interfaces file on Debian 2022-03-04 18:27:32 +00:00