SaiSujithReddy

Network-Topology Operational

Apr 5th, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.09 KB | None | 0 0
  1. <network-topology xmlns="urn:TBD:params:xml:ns:yang:network-topology">
  2. <topology>
  3. <topology-id>flow:1</topology-id>
  4. <node>
  5. <node-id>host:ea:3a:65:f8:5f:b7</node-id>
  6. <addresses xmlns="urn:opendaylight:host-tracker">
  7. <id>1</id>
  8. <ip>10.0.0.1</ip>
  9. <first-seen>1459899374122</first-seen>
  10. <last-seen>1459899374122</last-seen>
  11. <mac>ea:3a:65:f8:5f:b7</mac>
  12. </addresses>
  13. <attachment-points xmlns="urn:opendaylight:host-tracker">
  14. <tp-id>openflow:1:1</tp-id>
  15. <corresponding-tp>host:ea:3a:65:f8:5f:b7</corresponding-tp>
  16. <active>true</active>
  17. </attachment-points>
  18. <id xmlns="urn:opendaylight:host-tracker">ea:3a:65:f8:5f:b7</id>
  19. <termination-point>
  20. <tp-id>host:ea:3a:65:f8:5f:b7</tp-id>
  21. </termination-point>
  22. </node>
  23. <node>
  24. <node-id>openflow:1</node-id>
  25. <termination-point>
  26. <tp-id>openflow:1:LOCAL</tp-id>
  27. <inventory-node-connector-ref xmlns="urn:opendaylight:model:topology:inventory" xmlns:a="urn:opendaylight:inventory">/a:nodes/a:node[a:id='openflow:1']/a:node-connector[a:id='openflow:1:LOCAL']</inventory-node-connector-ref>
  28. </termination-point>
  29. <termination-point>
  30. <tp-id>openflow:1:2</tp-id>
  31. <inventory-node-connector-ref xmlns="urn:opendaylight:model:topology:inventory" xmlns:a="urn:opendaylight:inventory">/a:nodes/a:node[a:id='openflow:1']/a:node-connector[a:id='openflow:1:2']</inventory-node-connector-ref>
  32. </termination-point>
  33. <termination-point>
  34. <tp-id>openflow:1:1</tp-id>
  35. <inventory-node-connector-ref xmlns="urn:opendaylight:model:topology:inventory" xmlns:a="urn:opendaylight:inventory">/a:nodes/a:node[a:id='openflow:1']/a:node-connector[a:id='openflow:1:1']</inventory-node-connector-ref>
  36. </termination-point>
  37. <inventory-node-ref xmlns="urn:opendaylight:model:topology:inventory" xmlns:a="urn:opendaylight:inventory">/a:nodes/a:node[a:id='openflow:1']</inventory-node-ref>
  38. </node>
  39. <node>
  40. <node-id>host:1a:76:5e:47:e2:01</node-id>
  41. <addresses xmlns="urn:opendaylight:host-tracker">
  42. <id>0</id>
  43. <ip>10.0.0.2</ip>
  44. <first-seen>1459899374056</first-seen>
  45. <last-seen>1459899374056</last-seen>
  46. <mac>1a:76:5e:47:e2:01</mac>
  47. </addresses>
  48. <attachment-points xmlns="urn:opendaylight:host-tracker">
  49. <tp-id>openflow:2:1</tp-id>
  50. <corresponding-tp>host:1a:76:5e:47:e2:01</corresponding-tp>
  51. <active>true</active>
  52. </attachment-points>
  53. <id xmlns="urn:opendaylight:host-tracker">1a:76:5e:47:e2:01</id>
  54. <termination-point>
  55. <tp-id>host:1a:76:5e:47:e2:01</tp-id>
  56. </termination-point>
  57. </node>
  58. <node>
  59. <node-id>openflow:2</node-id>
  60. <termination-point>
  61. <tp-id>openflow:2:1</tp-id>
  62. <inventory-node-connector-ref xmlns="urn:opendaylight:model:topology:inventory" xmlns:a="urn:opendaylight:inventory">/a:nodes/a:node[a:id='openflow:2']/a:node-connector[a:id='openflow:2:1']</inventory-node-connector-ref>
  63. </termination-point>
  64. <termination-point>
  65. <tp-id>openflow:2:LOCAL</tp-id>
  66. <inventory-node-connector-ref xmlns="urn:opendaylight:model:topology:inventory" xmlns:a="urn:opendaylight:inventory">/a:nodes/a:node[a:id='openflow:2']/a:node-connector[a:id='openflow:2:LOCAL']</inventory-node-connector-ref>
  67. </termination-point>
  68. <termination-point>
  69. <tp-id>openflow:2:2</tp-id>
  70. <inventory-node-connector-ref xmlns="urn:opendaylight:model:topology:inventory" xmlns:a="urn:opendaylight:inventory">/a:nodes/a:node[a:id='openflow:2']/a:node-connector[a:id='openflow:2:2']</inventory-node-connector-ref>
  71. </termination-point>
  72. <inventory-node-ref xmlns="urn:opendaylight:model:topology:inventory" xmlns:a="urn:opendaylight:inventory">/a:nodes/a:node[a:id='openflow:2']</inventory-node-ref>
  73. </node>
  74. <link>
  75. <link-id>host:1a:76:5e:47:e2:01/openflow:2:1</link-id>
  76. <source>
  77. <source-tp>host:1a:76:5e:47:e2:01</source-tp>
  78. <source-node>host:1a:76:5e:47:e2:01</source-node>
  79. </source>
  80. <destination>
  81. <dest-node>openflow:2</dest-node>
  82. <dest-tp>openflow:2:1</dest-tp>
  83. </destination>
  84. </link>
  85. <link>
  86. <link-id>openflow:1:1/host:ea:3a:65:f8:5f:b7</link-id>
  87. <source>
  88. <source-tp>openflow:1:1</source-tp>
  89. <source-node>openflow:1</source-node>
  90. </source>
  91. <destination>
  92. <dest-node>host:ea:3a:65:f8:5f:b7</dest-node>
  93. <dest-tp>host:ea:3a:65:f8:5f:b7</dest-tp>
  94. </destination>
  95. </link>
  96. <link>
  97. <link-id>openflow:2:1/host:1a:76:5e:47:e2:01</link-id>
  98. <source>
  99. <source-tp>openflow:2:1</source-tp>
  100. <source-node>openflow:2</source-node>
  101. </source>
  102. <destination>
  103. <dest-node>host:1a:76:5e:47:e2:01</dest-node>
  104. <dest-tp>host:1a:76:5e:47:e2:01</dest-tp>
  105. </destination>
  106. </link>
  107. <link>
  108. <link-id>host:ea:3a:65:f8:5f:b7/openflow:1:1</link-id>
  109. <source>
  110. <source-tp>host:ea:3a:65:f8:5f:b7</source-tp>
  111. <source-node>host:ea:3a:65:f8:5f:b7</source-node>
  112. </source>
  113. <destination>
  114. <dest-node>openflow:1</dest-node>
  115. <dest-tp>openflow:1:1</dest-tp>
  116. </destination>
  117. </link>
  118. </topology>
  119. </network-topology>
Advertisement
Add Comment
Please, Sign In to add comment