neo4j-graph-examples / network-management

Dependency and root cause analysis and more for network and IT management graph example

Home Page:https://sandbox.neo4j.com/?usecase=network-management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

network

Network Management Graph Example

Description: Dependency and root cause analysis and more for network and IT management

Nodes 83847 Relationships 181995

model
Figure 1. Model
example
Figure 2. Example
Example Query:
:param location => "Iceland, Rekjavik"
MATCH (dc:DataCenter {location: $location})-[:CONTAINS]->(r:Router)-[:ROUTES]->(i:Interface)
RETURN i.ip as ip

Setup

This is for Neo4j version: 3.5,4.0

Load graph data via the following:

Dump file: data/network-management-40.dump

  • Drop the file into the Files section of a project in Neo4j Desktop. Then choose the option to Create new DBMS from dump option from the file options.

  • Use the neo4j-admin tool to load data from the command line with the command below.

bin/neo4j-admin load --from data/network-management-40.dump [--database "database"]

Data load script: scripts/network-management.cypher

bin/cypher-shell -u neo4j -p "password" -f scripts/network-management.cypher [-d "database"]

Or import in Neo4j Browser by dragging or pasting the content of scripts/network-management.cypher.

Code Examples

Feedback

Feel free to submit issues or pull requests for improvement on this repository.

About

Dependency and root cause analysis and more for network and IT management graph example

https://sandbox.neo4j.com/?usecase=network-management


Languages

Language:Cypher 51.1%Language:Go 16.1%Language:Java 10.9%Language:C# 9.6%Language:JavaScript 6.9%Language:Python 5.4%