blob: 2e2fb6f0047b25d651b54e9769822d2ef7626ce3 [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>
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 if 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 on the target cell machine. Defaults to entry in "home" if empty.
20 <nodes>3</nodes> # number of nodes in the cluster
21 </COMPONENTS>
22 </ONOScell>
23
24 <SwitchLeaf1>
25 <host>10.128.13.232</host>
26 <user>root</user>
27 <password>onl</password>
28 <type>StratumOSSwitchDriver</type>
29 <connect_order>2</connect_order>
30 <COMPONENTS>
31 <shortName>leaf1</shortName>
32 <port1>1</port1>
33 <link1>Host1</link1>
34 <port2>2</port2>
35 <link2>Host2</link2>
36 <onosConfigPath>~/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/json/</onosConfigPath>
37 <onosConfigFile>tofino-onos-netcfg.json</onosConfigFile>
38 </COMPONENTS>
39 </SwitchLeaf1>
40
41 <Host1>
42 <host>OCN</host>
43 <user>sdn</user>
44 <password>rocks</password>
45 <type>HostDriver</type>
46 <connect_order>6</connect_order>
47 <COMPONENTS>
48 <mac>3c:fd:fe:a8:ea:31</mac>
49 <inband>false</inband>
50 <ip>10.0.2.1</ip>
51 <shortName>h1</shortName>
52 <port1>0</port1>
53 <link1>SwitchLeaf1</link1>
54 <interfaceName>ens6f1</interfaceName>
55 <routes>
56 <route1>
57 <network>10.0.2.0</network>
58 <netmask>24</netmask>
59 <gw></gw>
60 <interface></interface>
61 </route1>
62 </routes>
63 </COMPONENTS>
64 </Host1>
65
66 <Host2>
67 <host>OCN</host>
68 <user>sdn</user>
69 <password>rocks</password>
70 <type>HostDriver</type>
71 <connect_order>7</connect_order>
72 <COMPONENTS>
73 <mac>3c:fd:fe:a8:ea:30</mac>
74 <inband>false</inband>
75 <ip>10.0.2.2</ip>
76 <shortName>h2</shortName>
77 <port1>0</port1>
78 <link1>SwitchLeaf1</link1>
79 <interfaceName>ens6f0</interfaceName>
80 <routes>
81 <route1>
82 <network>10.0.2.0</network>
83 <netmask>24</netmask>
84 <gw></gw>
85 <interface></interface>
86 </route1>
87 </routes>
88 </COMPONENTS>
89 </Host2>
90
91 <NetworkBench>
92 <host>OCN</host>
93 <user>sdn</user>
94 <password>rocks</password>
95 <type>NetworkDriver</type>
96 <connect_order>10</connect_order>
97 <COMPONENTS>
98 </COMPONENTS>
99 </NetworkBench>
100
101 </COMPONENT>
102</TOPOLOGY>