Skip to content

Vxlan1 vlan to vni will not be added if ranges are already configured #186

@vooray

Description

@vooray

Hello!

If Vxlan1 interface has ranges like:

interface Vxlan1
   vxlan vlan 10-12,50 vni 10-12,50

adding new vlan to vni mapping will fail.

            if ifaces_api.update_vlan("Vxlan1", vid="13", vni="13"):
                print("Added")
            else:
                print("Failed")

May be the right command should be vxlan vlan add and vxlan vlan remove?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions