07 Neo4j nodes and relationships properties - netassist-ua/netgraphz2-gpl GitHub Wiki

Neo4j nodes and relationship properties

Hosts

Use nodes with label NetAssistNode. Following properties supported:

  • name [string] — node name
  • db_sw_id [int] — database identifier (if imported)
  • address [string] — physical location
  • comment [string]
  • model [string] — Device hardware model
  • icinga_name [string] — links to the Icinga2 monitooring host name
  • serial [string] — Serial number
  • num_ports [int] — Number of ports (for switches, routers)
  • ip_address [string] — IP address of Node
  • ip6_address [string] — IPv6 address of Node
  • manage_vlan_id [int] — VLAN of management
  • mac_address [string] — MAC address
  • loc_id [int] — NetAssist internal
  • net_id [int] — NetAssist internal

##Links Create relationship with type LINKS_TO. Following properties supported:

  • db_sw_id [int] - database identifier of source node
  • db_ref_sw_id [int] - database identifier of destination node
  • speed [int] — link speed in mbps
  • rx_metric [string] - Name of metric of RX octets. Can be obtained from CLI.
  • tx_metric [string] - Name of metric of TX octets. Can be obtained from CLI.
  • quality [int] — link quality for 0 to 1 [OPTIONAL]
  • type [int] — link type (0-fiber, 1-copper, 2-radio, …) [OPTIONAL]
  • port_id [int] — port number on source node
  • ref_port_id [int] — port number on destination node
  • comment [string]