7_cypher_match.mql 1.3 KB

12345678910111213141516171819
  1. match ("biz:查账系统")-[*]->("esx:esx1") attr=(name,status)
  2. match ("biz:查账系统")-[*]->("linux:linux[0-9]")-[*1]->("esx:esx[1-4]")
  3. match ("biz:查账系统")-[*]->("linux:*")-[*1]->("esx:esx4")
  4. match ("biz:查账系统")-[:contain*1]->()-[*]->("esx:*")-[*1]->('switch:*')
  5. match ("biz:查账系统")-[:contain*1]->()-[*]->("esx:*","linux:*")-[*1]->('switch:*')
  6. match ("biz:查账系统")-[:contain*1]->()-[*]->("esx:*","linux:*")-[*1]->('switch:*') until "sanswitch:*"
  7. match (b:"biz:*")-[*]->(e:"esx:*")-[*1]->(s:"switch:*") return name,status short path b,e,s
  8. match (b:"biz:*")-[*]->(e:"esx:*")-[*1]->(s:"switch:*") return name,status path b,e,s
  9. match ("linux:*")-[*1]->("esx:*")
  10. match ("biz:查账系统")-[:contain]->("cluster:查账系统web集群")-[*]->() until "switch:*"
  11. match ('biz:*')-[*10]->()
  12. match ("biz:B查账系统")-[:contain]->("cluster:B查账系统web集群")-[*]->() until "switch:*" back '2019-05-28 14:33:00'
  13. match ("biz:B查账系统")-[:contain]->("cluster:B查账系统web集群")-[*]->() until "switch:*" back '2019-05-28 14:34:00'
  14. match ("biz:B查账系统")-[:contain]->("cluster:B查账系统web集群")-[*]->() until "switch:*" diff '2019-05-28 14:33:00'
  15. match (m:"biz:查账系统")-[*]->(p:"linux:linux[1-5]")-[*]->(q:"esx:esx4") attr=(name,status)