blob: 111380e3f4b60787dc20f422a35652a36a2c7244 [file] [log] [blame]
Jon Hall43060f62020-06-23 13:13:33 -07001<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 Hall3c0114c2020-08-11 15:07:42 -070011 <useDocker>True</useDocker> # Whether to use docker for ONOS nodes
12 <docker_prompt>~/onos#</docker_prompt>
Jon Hall43060f62020-06-23 13:13:33 -070013 <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS'
Jon Hall3c0114c2020-08-11 15:07:42 -070014 <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 Hall43060f62020-06-23 13:13:33 -070015 <karaf_username></karaf_username>
16 <karaf_password></karaf_password>
Jon Hall3c0114c2020-08-11 15:07:42 -070017 <web_user>sdn</web_user>
18 <web_pass>rocks</web_pass>
Jon Hall43060f62020-06-23 13:13:33 -070019 <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.
Jon Halle37bd1f2020-09-10 12:16:41 -070022 <nodes> 7 </nodes> # number of nodes in the cluster
Jon Hall43060f62020-06-23 13:13:33 -070023 </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 Hall6f4c7402020-07-29 15:49:11 -070044 <host>10.128.13.253</host>
Jon Hall43060f62020-06-23 13:13:33 -070045 <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 Hall6f4c7402020-07-29 15:49:11 -070069 <host>10.128.13.253</host>
Jon Hall43060f62020-06-23 13:13:33 -070070 <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 Hall6f4c7402020-07-29 15:49:11 -070094 <host>10.128.13.253</host>
Jon Hall43060f62020-06-23 13:13:33 -070095 <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>