File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
roles/edpm_network_config Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,14 @@ This Ansible role does the following tasks:
1919 - Checks for the presence of required RPMS
2020 - Uses "provider" ifcfg/nmstate based on flag "edpm_network_config_nmstate"
2121
22- Note: By default this role will cleanup devices/interfaces not in
23- "edpm_network_config_template". If there is requirement to keep them
24- for pre-provisioned nodes, "edpm_network_config_nonconfigured_cleanup"
25- ansible var can be set to "false".
22+ Note: * With nmstate-provider as the default for os-net-config,
23+ "os-net-config --cleanup" should be used only for very
24+ specific use case, eg
25+ - SSH provisioned over VLAN-tagged single interface
26+ - os-net-config needs to override ctlplane over bond+VLAN
27+
28+ * "os-net-config --cleanup" SHOULD NOT be set for update/adoption
29+ use case
2630
2731Here is an example playbook to run os-net-config tool:
2832
Original file line number Diff line number Diff line change @@ -54,4 +54,4 @@ edpm_network_config_safe_defaults: false
5454edpm_network_config_template : " "
5555edpm_bond_interface_ovs_options : " bond_mode=active-backup"
5656edpm_dns_search_domains : []
57- edpm_network_config_nonconfigured_cleanup : true
57+ edpm_network_config_nonconfigured_cleanup : false
Original file line number Diff line number Diff line change @@ -81,5 +81,5 @@ argument_specs:
8181 default : nic1
8282 edpm_network_config_nonconfigured_cleanup :
8383 type : bool
84- description : " Cleanup network interfaces not in network config"
85- default : true
84+ description : " Cleanup network interfaces before network config"
85+ default : false
You can’t perform that action at this time.
0 commit comments