OpenNebula / one-deploy

Apache License 2.0
25 stars 12 forks source link

For VLAN VXLAN VNETs move_ip should be set to false by default #78

Closed sk4zuzu closed 3 months ago

sk4zuzu commented 3 months ago

Description The PHYDEV parameter for VLAN/VXLAN VNETs is mandatory (for example https://docs.opennebula.io/6.8/open_cluster_deployment/networking_setup/vlan.html). The "move_ip" feature is enabled by default - vn_dict[_item.0].move_ip | d(true) | bool is true , this is incorrect and should be prevented.

To Reproduce Create a VLAN/VXLAN VNET that matches these conditions:

    - vn_dict[_item.0].move_ip | d(true) | bool is true
    - _phydev is defined
    - _bridge is defined
    - _phydev in ansible_interfaces
    - _bridge not in ansible_interfaces

Expected behavior The netplan or networkmanager code should not be triggered here.

Details

Additional context N/A

Progress Status