Labels

June 6, 2023 ยท View on GitHub

Node labels

When you click on a node in the topology diagram, a view pops up with node details:

Node details

The table belows shows where the values of each field in the popup come from, depending on the type of the topology.

LabelNetBoxContainerlabLive Data
Namenodes: {name}nodes: {name}N/A
Full nameN/AlongnameAnsible inventory
HostnameN/AN/Ahostname
KindN/AkindN/A
ImageN/AimageN/A
Grouplabels: grouplabels: groupN/A
Rolelabels: rolelabels: roleN/A
Vendorlabels: vendorlabels: vendorN/A
Modellabels: modellabels: modelN/A
Platformlabels: platformlabels: platformvendor model
VersionN/AN/Aos_version
IPv4mgmt-ipv4-addressmgmt-ipv4-addressN/A
IPv6mgmt-ipv4-addressmgmt-ipv6-addressN/A

Special labels

LabelNetBoxContainerlabLive Data
Node iconlabels: graph-iconlabels: graph-iconN/A
Node levellabels: graph-levellabels: graph-levelN/A
Node display modelabels: graph-modelabels: graph-modeN/A

Node icons

Possible graph-icon values, based on Cisco DevNet NeXT UI API doc:

label: graph-icon
switch
router
wlc
server
phone
nexus5000
ipphone
host
camera
access
cloud
unlinked
firewall
hostgroup
wirelesshost

port visualization mode

Some nodes that can be used within the topology may not act as regular network devices. Examples of such nodes could be

  • Linux hosts with disabled IP forwarding,
  • Traffic Generators.

If such node has multiple interfaces connected to the emulated topology, its visualization might not represent their role well. To address this, there is a special port visuzalization mode available in Graphite. With such mode enabled for a node, each its interface would be displayed as a separate icon with a name "interface-name@node-name". Below is an example of using port mode for ixia-c-one traffic generator, together with a "cloud" icon:

    ixia:
      kind: keysight_ixia-c-one
      image: ghcr.io/open-traffic-generator/ixia-c-one:0.0.1-2770
      labels:
        graph-icon: cloud
        graph-mode: port
  links:
    - endpoints: ["pe-router:eth1","ce-router:eth1"]
    - endpoints: ["pe-router:eth2","ixia:eth1"]
    - endpoints: ["ce-router:eth2","ixia:eth2"]

The ixia node will be visualized as two icons eth1@ixia and eth2@ixia:

Ixia-c-one node visualized in port mode