Guest User

Untitled

a guest
Dec 11th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. {
  2. "name": "myRouterTest",
  3. "description": "testing",
  4. "duration": 60,
  5. "resources": [
  6.  
  7. {
  8.  
  9. "router": {
  10. "name": "RouterDFNMalcolm",
  11. "host": "dfn.erl.router1",
  12. "locations": ["federica"],
  13. "interfaces": [
  14. {
  15. "name": "ifDFN",
  16. "physicalInterface": "ge-0/1/0",
  17. "ip": "192.168.10.10",
  18. "netmask": "255.255.255.0"
  19. }
  20. ],
  21. "config": "myconfig RouterDFN;"
  22. }
  23. },
  24. {
  25.  
  26. "router": {
  27. "name": "RouterPSNCMalcolm",
  28. "host": "psnc.poz.router1",
  29. "locations": ["federica"],
  30. "interfaces": [
  31. {
  32. "name": "ifPSNC",
  33. "physicalInterface": "ge-0/0/0",
  34. "ip": "192.168.20.20",
  35. "netmask": "255.255.255.0"
  36. }
  37. ],
  38. "config": "myconfig RouterPSNC;"
  39. }
  40. },
  41.  
  42.  
  43.  
  44. {
  45. "network": {
  46. "name": "myFedericaNetwork",
  47. "description": "federica network",
  48. "locations": ["federica"],
  49. "networkLinks": [
  50. [ { "router": "RouterDFNMalcolm","interface": "ifDFN"}, {"router": "RouterPSNCMalcolm", "interface": "ifPSNC"}]
  51. ]
  52.  
  53. }
  54. },
  55.  
  56. {
  57. "network": {
  58. "name": "epccNetwork",
  59. "description": "epccNetwork",
  60. "locations": ["uk-epcc"],
  61. "address": "192.168.4.1",
  62. "netmask": "255.255.255.0",
  63. "vlan": { "vlanFromNetwork": "myFedericaNetwork" }
  64. }
  65. },
  66. {
  67. "compute":
  68. {
  69. "name": "server",
  70. "description": "server at epcc",
  71. "instanceType": "small",
  72. "locations": ["uk-epcc"],
  73. "resources": [
  74. { "storage": "@BonFIRE Debian Squeeze v3"},
  75. { "network": "epccNetwork"},
  76. { "network": "@BonFIRE WAN"}
  77.  
  78. ]
  79. }
  80. }
  81.  
  82. ]
  83. }
Add Comment
Please, Sign In to add comment