Skip to content

cml_node | allow prepopulating interfaces before node is started#45

Open
tvarohohlavy wants to merge 1 commit intoCiscoDevNet:mainfrom
tvarohohlavy:node_populate_interfaces
Open

cml_node | allow prepopulating interfaces before node is started#45
tvarohohlavy wants to merge 1 commit intoCiscoDevNet:mainfrom
tvarohohlavy:node_populate_interfaces

Conversation

@tvarohohlavy
Copy link

@tvarohohlavy tvarohohlavy commented Dec 21, 2024

Without this when we create nodes and not start them we cannot create links as nodes do not have any interfaces pre-created.

It uses existing parameter in Lab.create_node() as visible here:
https://github.com/CiscoDevNet/virl2-client/blob/af60c0b53345937d92402a8c114f9ceca7377a94/virl2_client/models/lab.py#L577-L599

Default behavior of virl2-client is to not prepopulate, default behavior of UI is to prepopulate.
As current behavior was to not prepopulate I have kept it as default.

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

Successfully merging this pull request may close these issues.

1 participant