Skip to content

Check gns3vault-archive containerlab topology hostnames #40

@renemolenaar82

Description

@renemolenaar82

Make sure there are only valid hostname in containerlab topology files that have no special characters. For example:

name: pvrst-per-vlan-rapid-spanning-tree
mgmt:
network: mgmt-ipv4
ipv4-subnet: 10.65.97.0/24
topology:
kinds:
cisco_iol:
image: docker-registry.nwl.lab/cisco_iol:17.12.01
nodes:
SW2~:
kind: cisco_iol
mgmt-ipv4: 10.65.97.100
startup-config: ./clab-pvrst-per-vlan-rapid-spanning-tree/SW2~/startup-config.cfg.partial
SW2:
kind: cisco_iol
mgmt-ipv4: 10.65.97.110
startup-config: ./clab-pvrst-per-vlan-rapid-spanning-tree/SW2/startup-config.cfg.partial
SW3:
kind: cisco_iol
mgmt-ipv4: 10.65.97.120
startup-config: ./clab-pvrst-per-vlan-rapid-spanning-tree/SW3/startup-config.cfg.partial
SW1:
kind: cisco_iol
mgmt-ipv4: 10.65.97.130
startup-config: ./clab-pvrst-per-vlan-rapid-spanning-tree/SW1/startup-config.cfg.partial
SW3~:
kind: cisco_iol
mgmt-ipv4: 10.65.97.140
startup-config: ./clab-pvrst-per-vlan-rapid-spanning-tree/SW3~/startup-config.cfg.partial

Hostnames with ~ such as SW2~ and SW3~ are not allowed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions