GithubHelp home page GithubHelp logo

neo4j-graph-examples / network-management Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 10.0 28.01 MB

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

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

C# 9.63% Go 16.10% Java 10.87% JavaScript 6.89% Python 5.38% Cypher 51.13%
datacenter dataset example-data graphdb it-operations neo4j neo4j-approved network-data network-management

network-management's People

Contributors

fbiville avatar jexp avatar jmhreif avatar lju-lazarevic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

network-management's Issues

Missing dump files

Need dump files for both 3.5 and 4.0
Format:

  • network-management-35.dump
  • network-management-40.dump

Syntax for neo4j v5 (deprecation)

In Neo4j 5.9, creating a node or relationship entity, and then referencing that entity in a property definition in the same CREATE clause is deprecated. Split the CREATE clause into two separate clauses instead.

As a consequence, in the racks section, instead of:

// Racks
WITH 10 as racks
MATCH (dc:DataCenter {name:"DC1"})
MATCH (nr:Network:Zone) // one per zone
WITH * UNWIND range(1,racks) AS rackid
CREATE (dc)-[:CONTAINS]->(rack:Rack {name:"DC1-RCK-"+nr.zone+"-"+rackid, rack:rackid, zone:nr.zone})-[:HOLDS]->(s:Switch {ip:nr.ip+"."+rackid, rack:rackid})-[:ROUTES]->(si:Interface {ip:s.ip+".254"})<-[:ROUTES]-(nr);

We should now have:

// Racks
WITH 10 as racks
MATCH (dc:DataCenter {name:"DC1"})
MATCH (nr:Network:Zone) // one per zone
WITH * UNWIND range(1,racks) AS rackid
CREATE (rack:Rack {name:"DC1-RCK-"+nr.zone+"-"+rackid, rack:rackid, zone:nr.zone})
CREATE (s:Switch {ip:nr.ip+"."+rackid, rack:rackid})
CREATE (si:Interface {ip:s.ip+".254"})
CREATE (dc)-[:CONTAINS]->(rack)-[:HOLDS]->(s)-[:ROUTES]->(si)<-[:ROUTES]-(nr);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.