shiftstack / dev-install

13 stars 16 forks source link

network: enable the dummy interfaces #215

Closed EmilienM closed 1 year ago

EmilienM commented 1 year ago

The dummy interfaces should be enabled if they have received a desired route to a next hop.

This would avoid this kind of error:

NmstateError: InvalidArgument: The next hop interface of desired Route 'destination: 169.254.0.0/16 next-hop-interface: dummy0 next-hop-address: 0.0.0.0 metric: 1006 table-id: 254' has been marked as IPv4 disabled
EmilienM commented 1 year ago

/hold do not merge it yet, under testing.

vkmc commented 1 year ago

Tested and got this output

"NmstateError: InvalidArgument: Interface dummy1 cannot have IP enabled as it is attached to a controller where IP is not allowed"