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