quattor / configuration-modules-core

Node Configuration Manager Components for Everyone
www.quattor.org
Other
6 stars 54 forks source link

ncm-network: provide backward compatibility for vlan interface config for nmstate. #1667

Closed aka7 closed 5 months ago

aka7 commented 6 months ago

improvements to nmstate to provide backward compatibility with network.pm for configuring vlan interface. At morganstanley, we use path

closes #1660

/system/network/interfaces/eth0.123
/system/network/interfaces/eth0.123/vlan = true

..etc

nmstate was development with that in mind,

This change will now provide backward compatibility support with network.pm, so following config will also work.

prefix "/system/network/interfaces/vlan0";
"device" = "eth0.123";
"physdev" = "eth0";