Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interface old addresses state is not updated when you assign a new addresses #379

Open
rynldtbuen opened this issue Jun 2, 2020 · 0 comments

Comments

@rynldtbuen
Copy link

Existing interface configuration:
+-----------------------------------------------------------------------------------+ | ID CIDR (Key) Is IP? IP Ver. Parent State Attributes | +-----------------------------------------------------------------------------------+ | 2304 192.168.0.1/32 True 4 192.168.0.0/16 assigned | +-----------------------------------------------------------------------------------+
+-------------------------------------------------------------------------------+ | ID Name (Key) Parent MAC Addresses Speed Type Attributes | +-------------------------------------------------------------------------------+ | 857 leaf1:swp1 None None 192.168.0.1/32 1000 6 | +-------------------------------------------------------------------------------+

Assign new address to the interface:
$ nsot interfaces update -i 'leaf1:swp1' -c 192.168.0.2/32
+-------------------------------------------------------------------------------+ | ID Name (Key) Parent MAC Addresses Speed Type Attributes | +-------------------------------------------------------------------------------+ | 857 leaf1:swp1 None None 192.168.0.2/32 1000 6 | +-------------------------------------------------------------------------------+

The output below is the old address of the interface and is still showing that is assigned
$ nsot networks list -c 192.168.0.1/32 +-----------------------------------------------------------------------------------+ | ID CIDR (Key) Is IP? IP Ver. Parent State Attributes | +-----------------------------------------------------------------------------------+ | 2304 192.168.0.1/32 True 4 192.168.0.0/16 assigned | +-----------------------------------------------------------------------------------+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant