os-net-config breaks firewalld ZONE assignments

Bug #2018557 reported by Andrew Bobulsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-net-config
New
Undecided
Vijayalakshmi

Bug Description

os-net-config walks the submitted yaml file to build out an inteface config file in /etc/sysconfig/network-scripts. Code for this can be seen here: https://github.com/openstack/os-net-config/blob/29028c14d71a5dc8f8b296ba1596757ade1255b6/os_net_config/impl_ifcfg.py#L435C1-L438

Every time I run os-net-config, I lose all of my firewalld zone assignments because these files are regenerated without their ZONE keys.

Please extend os-net-config to support writing `ZONE=name` to these files, or add a mechanism for writing arbitrary k/v pairs to interface config files via the config yaml.

description: updated
summary: - os-net-config should be able to write firewalld ZONE to the interface
- config file
+ os-net-config breaks firewalld ZONE assignments
Revision history for this message
Dan Sneddon (dsneddon) wrote :

Adding firewalld zone as a parameter for interfaces seems reasonable. I’ll look into this.

Vijayalakshmi (vcandapp)
Changed in os-net-config:
assignee: nobody → Vijayalakshmi (vcandapp)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.