The network scripts use a CIDR notation like PREFIX=24
instead of a netmask notation.
Salt offers a cidr_to_ipv4_netmask but not the other way
around, so a new network execution module is offered.
This is a follow-up for f9dbdab3b579.
Differential D2568
Compute CIDR prefix from netmask for RHEL network scripts dereckson on Mar 5 2022, 10:56. Authored by Tags None Referenced Files
Subscribers None
Details The network scripts use a CIDR notation like PREFIX=24 Salt offers a cidr_to_ipv4_netmask but not the other way This is a follow-up for f9dbdab3b579. Unit tests are provided for network module
Diff Detail
Event TimelineComment Actions network is already the name of an execution module: Probably cool to rename it, even if Salt is happy to let us replace modules like that. |