Jon Hall | 43060f6 | 2020-06-23 13:13:33 -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 | <home></home> # defines where onos home is on the build machine. Defaults to "~/onos/" if empty. |
| 10 | <COMPONENTS> |
Jon Hall | 3c0114c | 2020-08-11 15:07:42 -0700 | [diff] [blame^] | 11 | <useDocker>True</useDocker> # Whether to use docker for ONOS nodes |
| 12 | <docker_prompt>~/onos#</docker_prompt> |
Jon Hall | 43060f6 | 2020-06-23 13:13:33 -0700 | [diff] [blame] | 13 | <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS' |
Jon Hall | 3c0114c | 2020-08-11 15:07:42 -0700 | [diff] [blame^] | 14 | <diff_clihost>True</diff_clihost> # if it has different host other than localhost for CLI. True or empty. OC# will be used if True. |
Jon Hall | 43060f6 | 2020-06-23 13:13:33 -0700 | [diff] [blame] | 15 | <karaf_username></karaf_username> |
| 16 | <karaf_password></karaf_password> |
Jon Hall | 3c0114c | 2020-08-11 15:07:42 -0700 | [diff] [blame^] | 17 | <web_user>sdn</web_user> |
| 18 | <web_pass>rocks</web_pass> |
Jon Hall | 43060f6 | 2020-06-23 13:13:33 -0700 | [diff] [blame] | 19 | <rest_port></rest_port> |
| 20 | <prompt></prompt> # TODO: we technically need a few of these, one per component |
| 21 | <onos_home></onos_home> # defines where onos home is on the target cell machine. Defaults to entry in "home" if empty. |
| 22 | <nodes>3</nodes> # number of nodes in the cluster |
| 23 | </COMPONENTS> |
| 24 | </ONOScell> |
| 25 | |
| 26 | <SwitchLeaf1> |
| 27 | <host>10.128.13.232</host> |
| 28 | <user>root</user> |
| 29 | <password>onl</password> |
| 30 | <type>StratumOSSwitchDriver</type> |
| 31 | <connect_order>2</connect_order> |
| 32 | <COMPONENTS> |
| 33 | <shortName>leaf1</shortName> |
| 34 | <port1>1</port1> |
| 35 | <link1>Host1</link1> |
| 36 | <port2>2</port2> |
| 37 | <link2>Host2</link2> |
| 38 | <onosConfigPath>~/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/</onosConfigPath> |
| 39 | <onosConfigFile>tofino-onos-netcfg.json</onosConfigFile> |
| 40 | </COMPONENTS> |
| 41 | </SwitchLeaf1> |
| 42 | |
| 43 | <Host1> |
Jon Hall | 6f4c740 | 2020-07-29 15:49:11 -0700 | [diff] [blame] | 44 | <host>10.128.13.253</host> |
Jon Hall | 43060f6 | 2020-06-23 13:13:33 -0700 | [diff] [blame] | 45 | <user>sdn</user> |
| 46 | <password>rocks</password> |
| 47 | <type>HostDriver</type> |
| 48 | <connect_order>6</connect_order> |
| 49 | <COMPONENTS> |
| 50 | <mac>3c:fd:fe:a8:ea:31</mac> |
| 51 | <inband>false</inband> |
| 52 | <ip>10.0.2.1</ip> |
| 53 | <shortName>h1</shortName> |
| 54 | <port1>0</port1> |
| 55 | <link1>SwitchLeaf1</link1> |
| 56 | <interfaceName>ens6f1</interfaceName> |
| 57 | <routes> |
| 58 | <route1> |
| 59 | <network>10.0.2.0</network> |
| 60 | <netmask>24</netmask> |
| 61 | <gw></gw> |
| 62 | <interface></interface> |
| 63 | </route1> |
| 64 | </routes> |
| 65 | </COMPONENTS> |
| 66 | </Host1> |
| 67 | |
| 68 | <Host2> |
Jon Hall | 6f4c740 | 2020-07-29 15:49:11 -0700 | [diff] [blame] | 69 | <host>10.128.13.253</host> |
Jon Hall | 43060f6 | 2020-06-23 13:13:33 -0700 | [diff] [blame] | 70 | <user>sdn</user> |
| 71 | <password>rocks</password> |
| 72 | <type>HostDriver</type> |
| 73 | <connect_order>7</connect_order> |
| 74 | <COMPONENTS> |
| 75 | <mac>3c:fd:fe:a8:ea:30</mac> |
| 76 | <inband>false</inband> |
| 77 | <ip>10.0.2.2</ip> |
| 78 | <shortName>h2</shortName> |
| 79 | <port1>0</port1> |
| 80 | <link1>SwitchLeaf1</link1> |
| 81 | <interfaceName>ens6f0</interfaceName> |
| 82 | <routes> |
| 83 | <route1> |
| 84 | <network>10.0.2.0</network> |
| 85 | <netmask>24</netmask> |
| 86 | <gw></gw> |
| 87 | <interface></interface> |
| 88 | </route1> |
| 89 | </routes> |
| 90 | </COMPONENTS> |
| 91 | </Host2> |
| 92 | |
| 93 | <NetworkBench> |
Jon Hall | 6f4c740 | 2020-07-29 15:49:11 -0700 | [diff] [blame] | 94 | <host>10.128.13.253</host> |
Jon Hall | 43060f6 | 2020-06-23 13:13:33 -0700 | [diff] [blame] | 95 | <user>sdn</user> |
| 96 | <password>rocks</password> |
| 97 | <type>NetworkDriver</type> |
| 98 | <connect_order>10</connect_order> |
| 99 | <COMPONENTS> |
| 100 | </COMPONENTS> |
| 101 | </NetworkBench> |
| 102 | |
| 103 | </COMPONENT> |
| 104 | </TOPOLOGY> |