You Wang | 84f981d | 2018-01-12 16:11:50 -0800 | [diff] [blame] | 1 | <TOPOLOGY> |
| 2 | <COMPONENT> |
| 3 | |
| 4 | <ONOScell> |
| 5 | <host>localhost</host> # ONOS "bench" machine |
| 6 | <user>sdn</user> |
| 7 | <password>rocks</password> |
| 8 | <type>OnosClusterDriver</type> |
| 9 | <connect_order>1</connect_order> |
| 10 | <COMPONENTS> |
| 11 | <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS' |
| 12 | <diff_clihost></diff_clihost> # if it has different host other than localhost for CLI. True or empty. OC# will be used for True. |
| 13 | <karaf_username></karaf_username> |
| 14 | <karaf_password></karaf_password> |
| 15 | <web_user></web_user> |
| 16 | <web_pass></web_pass> |
| 17 | <rest_port></rest_port> |
| 18 | <prompt></prompt> # TODO: we technically need a few of these, one per component |
| 19 | <onos_home></onos_home> # defines where onos home is |
| 20 | <nodes> 1 </nodes> # number of nodes in the cluster |
| 21 | </COMPONENTS> |
| 22 | </ONOScell> |
| 23 | |
| 24 | <MininetSwitch1> |
| 25 | <host>OCN</host> |
| 26 | <user>sdn</user> |
| 27 | <password>rocks</password> |
| 28 | <type>MininetSwitchDriver</type> |
| 29 | <connect_order>2</connect_order> |
| 30 | <COMPONENTS> |
| 31 | <shortName>s1</shortName> |
| 32 | <port1>1</port1> |
| 33 | <link1>MininetHost1</link1> |
| 34 | <port2>2</port2> |
| 35 | <link2>MininetHost2</link2> |
| 36 | <port3>3</port3> |
| 37 | <link3>MininetHost3</link3> |
| 38 | <port4>4</port4> |
| 39 | <link4>MininetHost4</link4> |
| 40 | </COMPONENTS> |
| 41 | </MininetSwitch1> |
| 42 | |
| 43 | <MininetHost1> |
| 44 | <host>OCN</host> |
| 45 | <user>sdn</user> |
| 46 | <password>rocks</password> |
| 47 | <type>MininetHostDriver</type> |
| 48 | <connect_order>3</connect_order> |
| 49 | <COMPONENTS> |
| 50 | <ip>10.0.0.1</ip> |
| 51 | <shortName>h1</shortName> |
| 52 | <port1>0</port1> |
| 53 | <link1>MininetSwitch1</link1> |
| 54 | </COMPONENTS> |
| 55 | </MininetHost1> |
| 56 | |
| 57 | <MininetHost2> |
| 58 | <host>OCN</host> |
| 59 | <user>sdn</user> |
| 60 | <password>rocks</password> |
| 61 | <type>MininetHostDriver</type> |
| 62 | <connect_order>4</connect_order> |
| 63 | <COMPONENTS> |
| 64 | <ip>10.0.0.2</ip> |
| 65 | <shortName>h2</shortName> |
| 66 | <port1>0</port1> |
| 67 | <link1>MininetSwitch1</link1> |
| 68 | </COMPONENTS> |
| 69 | </MininetHost2> |
| 70 | |
| 71 | <MininetHost3> |
| 72 | <host>OCN</host> |
| 73 | <user>sdn</user> |
| 74 | <password>rocks</password> |
| 75 | <type>MininetHostDriver</type> |
| 76 | <connect_order>5</connect_order> |
| 77 | <COMPONENTS> |
| 78 | <ip>10.0.0.3</ip> |
| 79 | <shortName>h3</shortName> |
| 80 | <port1>0</port1> |
| 81 | <link1>MininetSwitch1</link1> |
| 82 | </COMPONENTS> |
| 83 | </MininetHost3> |
| 84 | |
| 85 | <MininetHost4> |
| 86 | <host>OCN</host> |
| 87 | <user>sdn</user> |
| 88 | <password>rocks</password> |
| 89 | <type>MininetHostDriver</type> |
| 90 | <connect_order>6</connect_order> |
| 91 | <COMPONENTS> |
| 92 | <ip>10.0.0.4</ip> |
| 93 | <shortName>h4</shortName> |
| 94 | <port1>0</port1> |
| 95 | <link1>MininetSwitch1</link1> |
| 96 | </COMPONENTS> |
| 97 | </MininetHost4> |
| 98 | |
| 99 | <NetworkBench> |
| 100 | <host>OCN</host> |
| 101 | <user>sdn</user> |
| 102 | <password>rocks</password> |
| 103 | <type>NetworkDriver</type> |
| 104 | <connect_order>7</connect_order> |
| 105 | <COMPONENTS> |
| 106 | </COMPONENTS> |
| 107 | </NetworkBench> |
| 108 | |
| 109 | <h1> |
| 110 | <host>OCN</host> |
| 111 | <user>sdn</user> |
| 112 | <password>rocks</password> |
| 113 | <type>MininetHostScapyCliDriver</type> |
| 114 | <connect_order>8</connect_order> |
| 115 | <COMPONENTS> |
| 116 | <ifaceName>h1-eth0</ifaceName> |
| 117 | </COMPONENTS> |
| 118 | </h1> |
| 119 | |
| 120 | <h2> |
| 121 | <host>OCN</host> |
| 122 | <user>sdn</user> |
| 123 | <password>rocks</password> |
| 124 | <type>MininetHostScapyCliDriver</type> |
| 125 | <connect_order>9</connect_order> |
| 126 | <COMPONENTS> |
| 127 | <ifaceName>h2-eth0</ifaceName> |
| 128 | </COMPONENTS> |
| 129 | </h2> |
| 130 | |
| 131 | <h3> |
| 132 | <host>OCN</host> |
| 133 | <user>sdn</user> |
| 134 | <password>rocks</password> |
| 135 | <type>MininetHostScapyCliDriver</type> |
| 136 | <connect_order>10</connect_order> |
| 137 | <COMPONENTS> |
| 138 | <ifaceName>h3-eth0</ifaceName> |
| 139 | </COMPONENTS> |
| 140 | </h3> |
| 141 | |
| 142 | <h4> |
| 143 | <host>OCN</host> |
| 144 | <user>sdn</user> |
| 145 | <password>rocks</password> |
| 146 | <type>MininetHostScapyCliDriver</type> |
| 147 | <connect_order>11</connect_order> |
| 148 | <COMPONENTS> |
| 149 | <ifaceName>h4-eth0</ifaceName> |
| 150 | </COMPONENTS> |
| 151 | </h4> |
| 152 | |
| 153 | </COMPONENT> |
| 154 | </TOPOLOGY> |