You Wang | e24d627 | 2018-03-27 21:18:50 -0700 | [diff] [blame] | 1 | <TOPOLOGY> |
| 2 | <COMPONENT> |
| 3 | <ONOScell> |
| 4 | <host>localhost</host> # ONOS "bench" machine |
| 5 | <user>sdn</user> |
| 6 | <password>rocks</password> |
| 7 | <type>OnosClusterDriver</type> |
| 8 | <connect_order>1</connect_order> |
| 9 | <COMPONENTS> |
| 10 | <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS' |
| 11 | <diff_clihost></diff_clihost> # if it has different host other than localhost for CLI. True or empty. OC# will be used if True. |
| 12 | <karaf_username></karaf_username> |
| 13 | <karaf_password></karaf_password> |
| 14 | <web_user></web_user> |
| 15 | <web_pass></web_pass> |
| 16 | <rest_port></rest_port> |
| 17 | <prompt></prompt> # TODO: we technically need a few of these, one per component |
| 18 | <onos_home></onos_home> # defines where onos home is |
| 19 | <nodes>1</nodes> # number of nodes in the cluster |
| 20 | </COMPONENTS> |
| 21 | </ONOScell> |
| 22 | |
| 23 | <OFDPASwitchLeaf205> |
| 24 | <host>10.128.0.205</host> |
| 25 | <user>root</user> |
| 26 | <password>onl</password> |
| 27 | <type>OFDPASwitchDriver</type> |
| 28 | <connect_order>2</connect_order> |
| 29 | <COMPONENTS> |
| 30 | <shortName>leaf205</shortName> |
| 31 | <dpid>0x205</dpid> |
| 32 | <port1>49</port1> |
| 33 | <link1>OFDPASwitchSpine227</link1> |
| 34 | <port2>51</port2> |
| 35 | <link2>OFDPASwitchSpine228</link2> |
| 36 | <port3>33</port3> |
| 37 | <link3>Host1</link3> |
| 38 | <port4>44</port4> |
| 39 | <link4>Host2</link4> |
| 40 | </COMPONENTS> |
| 41 | </OFDPASwitchLeaf205> |
| 42 | |
| 43 | <OFDPASwitchLeaf206> |
| 44 | <host>10.128.0.206</host> |
| 45 | <user>root</user> |
| 46 | <password>onl</password> |
| 47 | <type>OFDPASwitchDriver</type> |
| 48 | <connect_order>3</connect_order> |
| 49 | <COMPONENTS> |
| 50 | <shortName>leaf206</shortName> |
| 51 | <dpid>0x206</dpid> |
| 52 | <port1>49</port1> |
| 53 | <link1>OFDPASwitchSpine227</link1> |
| 54 | <port2>51</port2> |
| 55 | <link2>OFDPASwitchSpine228</link2> |
| 56 | <port3>33</port3> |
| 57 | <link3>Host3</link3> |
| 58 | <port4>44</port4> |
| 59 | <link4>Host4</link4> |
| 60 | </COMPONENTS> |
| 61 | </OFDPASwitchLeaf206> |
| 62 | |
| 63 | <OFDPASwitchSpine227> |
| 64 | <host>10.128.0.227</host> |
| 65 | <user>root</user> |
| 66 | <password>onl</password> |
| 67 | <type>OFDPASwitchDriver</type> |
| 68 | <connect_order>4</connect_order> |
| 69 | <COMPONENTS> |
| 70 | <shortName>spine227</shortName> |
| 71 | <dpid>0x227</dpid> |
| 72 | <port1>25</port1> |
| 73 | <link1>OFDPASwitchLeaf205</link1> |
| 74 | <port2>27</port2> |
| 75 | <link2>OFDPASwitchLeaf206</link2> |
| 76 | </COMPONENTS> |
| 77 | </OFDPASwitchSpine227> |
| 78 | |
| 79 | <OFDPASwitchSpine228> |
| 80 | <host>10.128.0.228</host> |
| 81 | <user>root</user> |
| 82 | <password>onl</password> |
| 83 | <type>OFDPASwitchDriver</type> |
| 84 | <connect_order>5</connect_order> |
| 85 | <COMPONENTS> |
| 86 | <shortName>spine228</shortName> |
| 87 | <dpid>0x228</dpid> |
| 88 | <port1>25</port1> |
| 89 | <link1>OFDPASwitchLeaf205</link1> |
| 90 | <port2>27</port2> |
| 91 | <link2>OFDPASwitchLeaf206</link2> |
| 92 | </COMPONENTS> |
| 93 | </OFDPASwitchSpine228> |
| 94 | |
| 95 | <Host1> |
| 96 | <host>10.128.100.58</host> |
| 97 | <user>mininet</user> |
| 98 | <password>mininet</password> |
| 99 | <type>HostDriver</type> |
| 100 | <connect_order>6</connect_order> |
| 101 | <COMPONENTS> |
| 102 | <ip>10.0.10.10</ip> |
| 103 | <ip6></ip6> |
| 104 | <shortName>h1</shortName> |
| 105 | <port1>0</port1> |
| 106 | <link1>OFDPASwitchLeaf205</link1> |
| 107 | </COMPONENTS> |
| 108 | </Host1> |
| 109 | |
| 110 | <Host2> |
| 111 | <host>10.128.100.59</host> |
| 112 | <user>mininet</user> |
| 113 | <password>mininet</password> |
| 114 | <type>HostDriver</type> |
| 115 | <connect_order>7</connect_order> |
| 116 | <COMPONENTS> |
| 117 | <ip>10.0.10.20</ip> |
| 118 | <ip6></ip6> |
| 119 | <shortName>h2</shortName> |
| 120 | <port1>0</port1> |
| 121 | <link1>OFDPASwitchLeaf205</link1> |
| 122 | </COMPONENTS> |
| 123 | </Host2> |
| 124 | |
| 125 | <Host3> |
| 126 | <host>10.128.100.60</host> |
| 127 | <user>mininet</user> |
| 128 | <password>mininet</password> |
| 129 | <type>HostDriver</type> |
| 130 | <connect_order>8</connect_order> |
| 131 | <COMPONENTS> |
| 132 | <ip>10.0.20.10</ip> |
| 133 | <ip6></ip6> |
| 134 | <shortName>h3</shortName> |
| 135 | <port1>0</port1> |
| 136 | <link1>OFDPASwitchLeaf206</link1> |
| 137 | </COMPONENTS> |
| 138 | </Host3> |
| 139 | |
| 140 | <Host4> |
| 141 | <host>10.128.100.61</host> |
| 142 | <user>mininet</user> |
| 143 | <password>mininet</password> |
| 144 | <type>HostDriver</type> |
| 145 | <connect_order>9</connect_order> |
| 146 | <COMPONENTS> |
| 147 | <ip>10.0.20.20</ip> |
| 148 | <ip6></ip6> |
| 149 | <shortName>h4</shortName> |
| 150 | <port1>0</port1> |
| 151 | <link1>OFDPASwitchLeaf206</link1> |
| 152 | </COMPONENTS> |
| 153 | </Host4> |
| 154 | |
| 155 | <NetworkBench> |
| 156 | <host>localhost</host> |
| 157 | <user>sdn</user> |
| 158 | <password>rocks</password> |
| 159 | <type>NetworkDriver</type> |
| 160 | <connect_order>10</connect_order> |
| 161 | <COMPONENTS> |
| 162 | </COMPONENTS> |
| 163 | </NetworkBench> |
| 164 | |
| 165 | </COMPONENT> |
| 166 | </TOPOLOGY> |