danhoutz

Infrahub Location Schema Update

Nov 3rd, 2024
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. Current: Continent -> Country -> Site -> Rack
  2.  
  3. Desired: Contient -> Country -> Metro -> Site -> Rack
  4. ^^^^^^^^^^
  5. -----------------
  6. Original schema
  7. ------------------
  8.  
  9. - name: Continent
  10. <snip>
  11. children: "LocationCountry"
  12. parent: ""
  13. - name: Country
  14. <snip>
  15. children: "LocationSite"
  16. parent: "LocationContinent"
  17. - name: Site
  18. <snip>
  19. children: "LocationRack"
  20. parent: "LocationMetro"
  21. - name: Rack
  22. <snip>
  23. children: ""
  24. parent: "LocationSite"
  25.  
  26. ----------------
  27. Desired Schema
  28. ----------------
  29.  
  30. - name: Continent
  31. <snip>
  32. children: "LocationCountry"
  33. parent: ""
  34. - name: Country
  35. <snip>
  36. children: "LocationMetro"
  37. parent: "LocationContinent"
  38. - name: Metro
  39. <snip>
  40. children: "LocationSite"
  41. parent: "LocationCountry"
  42. - name: Site
  43. <snip>
  44. children: "LocationRack"
  45. parent: "LocationMetro"
  46. - name: Rack
  47. <snip>
  48. children: ""
  49. parent: "LocationSite"
  50.  
  51.  
  52.  
  53.  
Advertisement
Add Comment
Please, Sign In to add comment