You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

161 lines
4.9 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <topology xmlns="http://www.cisco.com/VIRL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaVersion="0.9" xsi:schemaLocation="http://www.cisco.com/VIRL https://raw.github.com/CiscoVIRL/schema/v0.9/virl.xsd">
  3. <node name="veos-1" type="SIMPLE" subtype="vEOS" location="175,143">
  4. <extensions>
  5. <entry key="config" type="String">! device: veos-1 (vEOS, EOS-4.14.2F)&#xD;
  6. !&#xD;
  7. ! boot system flash:/vEOS.swi&#xD;
  8. !&#xD;
  9. transceiver qsfp default-mode 4x10G&#xD;
  10. !&#xD;
  11. hostname veos-1&#xD;
  12. !&#xD;
  13. spanning-tree mode mstp&#xD;
  14. !&#xD;
  15. no aaa root&#xD;
  16. !&#xD;
  17. username admin privilege 15 role network-admin secret 5 $1$93LlZesx$MSqS1D/8NGTSY724FGx1K0&#xD;
  18. username cisco privilege 15 role network-admin secret 5 $1$rQS0W9wP$ZUzVG2XoGCCZCJopFp1aV/&#xD;
  19. !&#xD;
  20. interface Ethernet1&#xD;
  21. mode trunk&#xD;
  22. !&#xD;
  23. interface Ethernet2&#xD;
  24. mode trunk&#xD;
  25. !&#xD;
  26. interface Ethernet3&#xD;
  27. mode trunk&#xD;
  28. !&#xD;
  29. interface Ethernet4&#xD;
  30. mode trunk&#xD;
  31. !&#xD;
  32. interface Management1&#xD;
  33. ! ip of ma1 configured on launch&#xD;
  34. !&#xD;
  35. no ip routing&#xD;
  36. !&#xD;
  37. !&#xD;
  38. end</entry>
  39. </extensions>
  40. <interface id="0" name="Ethernet1"/>
  41. <interface id="1" name="Ethernet2"/>
  42. <interface id="2" name="Ethernet3"/>
  43. <interface id="3" name="Ethernet4"/>
  44. </node>
  45. <node name="veos-2" type="SIMPLE" subtype="vEOS" location="426,25">
  46. <extensions>
  47. <entry key="config" type="String">! device: veos-2 (vEOS, EOS-4.14.2F)&#xD;
  48. !&#xD;
  49. ! boot system flash:/vEOS.swi&#xD;
  50. !&#xD;
  51. transceiver qsfp default-mode 4x10G&#xD;
  52. !&#xD;
  53. hostname veos-2&#xD;
  54. !&#xD;
  55. spanning-tree mode mstp&#xD;
  56. !&#xD;
  57. no aaa root&#xD;
  58. !&#xD;
  59. username admin privilege 15 role network-admin secret 5 $1$93LlZesx$MSqS1D/8NGTSY724FGx1K0&#xD;
  60. username cisco privilege 15 role network-admin secret 5 $1$rQS0W9wP$ZUzVG2XoGCCZCJopFp1aV/&#xD;
  61. !&#xD;
  62. interface Ethernet1&#xD;
  63. mode trunk&#xD;
  64. !&#xD;
  65. interface Ethernet2&#xD;
  66. mode trunk&#xD;
  67. !&#xD;
  68. interface Management1&#xD;
  69. ! ip of ma1 configured on launch&#xD;
  70. !&#xD;
  71. no ip routing&#xD;
  72. !&#xD;
  73. !&#xD;
  74. end</entry>
  75. </extensions>
  76. <interface id="0" name="Ethernet1"/>
  77. <interface id="1" name="Ethernet2"/>
  78. </node>
  79. <node name="veos-3" type="SIMPLE" subtype="vEOS" location="675,143">
  80. <extensions>
  81. <entry key="config" type="String">! device: veos-3 (vEOS, EOS-4.14.2F)&#xD;
  82. !&#xD;
  83. ! boot system flash:/vEOS.swi&#xD;
  84. !&#xD;
  85. transceiver qsfp default-mode 4x10G&#xD;
  86. !&#xD;
  87. hostname veos-3&#xD;
  88. !&#xD;
  89. spanning-tree mode mstp&#xD;
  90. !&#xD;
  91. no aaa root&#xD;
  92. !&#xD;
  93. username admin privilege 15 role network-admin secret 5 $1$93LlZesx$MSqS1D/8NGTSY724FGx1K0&#xD;
  94. username cisco privilege 15 role network-admin secret 5 $1$rQS0W9wP$ZUzVG2XoGCCZCJopFp1aV/&#xD;
  95. !&#xD;
  96. interface Ethernet1&#xD;
  97. mode trunk&#xD;
  98. !&#xD;
  99. interface Ethernet2&#xD;
  100. mode trunk&#xD;
  101. !&#xD;
  102. interface Ethernet3&#xD;
  103. mode trunk&#xD;
  104. !&#xD;
  105. interface Ethernet4&#xD;
  106. mode trunk&#xD;
  107. !&#xD;
  108. interface Management1&#xD;
  109. ! ip of ma1 configured on launch&#xD;
  110. !&#xD;
  111. no ip routing&#xD;
  112. !&#xD;
  113. !&#xD;
  114. end</entry>
  115. </extensions>
  116. <interface id="0" name="Ethernet1"/>
  117. <interface id="1" name="Ethernet2"/>
  118. <interface id="2" name="Ethernet3"/>
  119. <interface id="3" name="Ethernet4"/>
  120. </node>
  121. <node name="veos-4" type="SIMPLE" subtype="vEOS" location="426,265">
  122. <extensions>
  123. <entry key="config" type="String">! device: veos-4 (vEOS, EOS-4.14.2F)&#xD;
  124. !&#xD;
  125. ! boot system flash:/vEOS.swi&#xD;
  126. !&#xD;
  127. transceiver qsfp default-mode 4x10G&#xD;
  128. !&#xD;
  129. hostname veos-4&#xD;
  130. !&#xD;
  131. spanning-tree mode mstp&#xD;
  132. !&#xD;
  133. no aaa root&#xD;
  134. !&#xD;
  135. username admin privilege 15 role network-admin secret 5 $1$93LlZesx$MSqS1D/8NGTSY724FGx1K0&#xD;
  136. username cisco privilege 15 role network-admin secret 5 $1$rQS0W9wP$ZUzVG2XoGCCZCJopFp1aV/&#xD;
  137. !&#xD;
  138. interface Ethernet1&#xD;
  139. mode trunk&#xD;
  140. !&#xD;
  141. interface Ethernet2&#xD;
  142. mode trunk&#xD;
  143. !&#xD;
  144. interface Management1&#xD;
  145. ! ip of ma1 configured on launch&#xD;
  146. !&#xD;
  147. no ip routing&#xD;
  148. !&#xD;
  149. !&#xD;
  150. end</entry>
  151. </extensions>
  152. <interface id="0" name="Ethernet1"/>
  153. <interface id="1" name="Ethernet2"/>
  154. </node>
  155. <connection dst="/virl:topology/virl:node[2]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[1]"/>
  156. <connection dst="/virl:topology/virl:node[3]/virl:interface[1]" src="/virl:topology/virl:node[2]/virl:interface[2]"/>
  157. <connection dst="/virl:topology/virl:node[4]/virl:interface[1]" src="/virl:topology/virl:node[3]/virl:interface[2]"/>
  158. <connection dst="/virl:topology/virl:node[1]/virl:interface[2]" src="/virl:topology/virl:node[4]/virl:interface[2]"/>
  159. <connection dst="/virl:topology/virl:node[3]/virl:interface[3]" src="/virl:topology/virl:node[1]/virl:interface[3]"/>
  160. <connection dst="/virl:topology/virl:node[1]/virl:interface[4]" src="/virl:topology/virl:node[3]/virl:interface[4]"/>
  161. </topology>