blob: e67e3546f020535ec60e4363febbe86ef57a849c [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 Hall06fd0df2021-01-25 15:50:06 -080011 <kubeConfig>~/.kube/qa-ace-menlo</kubeConfig> # If set, will attempt to use this file for setting up port-forwarding
Jon Hall3c0114c2020-08-11 15:07:42 -070012 <useDocker>True</useDocker> # Whether to use docker for ONOS nodes
Jon Hall06fd0df2021-01-25 15:50:06 -080013 <docker_prompt>\$</docker_prompt>
Jon Hall43060f62020-06-23 13:13:33 -070014 <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS'
Jon Hall3c0114c2020-08-11 15:07:42 -070015 <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 Hall06fd0df2021-01-25 15:50:06 -080016 <karaf_username>karaf</karaf_username>
17 <karaf_password>karaf</karaf_password>
Jon Hall3c0114c2020-08-11 15:07:42 -070018 <web_user>sdn</web_user>
19 <web_pass>rocks</web_pass>
Jon Hall43060f62020-06-23 13:13:33 -070020 <rest_port></rest_port>
21 <prompt></prompt> # TODO: we technically need a few of these, one per component
22 <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 -070023 <nodes> 7 </nodes> # number of nodes in the cluster
Jon Hall43060f62020-06-23 13:13:33 -070024 </COMPONENTS>
25 </ONOScell>
26
27 <SwitchLeaf1>
Jon Hall39570262020-11-17 12:18:19 -080028 <host>10.128.13.211</host>
Jon Hall43060f62020-06-23 13:13:33 -070029 <user>root</user>
30 <password>onl</password>
31 <type>StratumOSSwitchDriver</type>
32 <connect_order>2</connect_order>
33 <COMPONENTS>
Jon Hall06fd0df2021-01-25 15:50:06 -080034 <prompt>#</prompt>
Jon Hall43060f62020-06-23 13:13:33 -070035 <shortName>leaf1</shortName>
36 <port1>1</port1>
37 <link1>Host1</link1>
38 <port2>2</port2>
39 <link2>Host2</link2>
Jon Hall06fd0df2021-01-25 15:50:06 -080040 <onosConfigPath></onosConfigPath>
41 <onosConfigFile></onosConfigFile>
Jon Hall43060f62020-06-23 13:13:33 -070042 </COMPONENTS>
43 </SwitchLeaf1>
44
45 <Host1>
Jon Hall6f4c7402020-07-29 15:49:11 -070046 <host>10.128.13.253</host>
Jon Hall43060f62020-06-23 13:13:33 -070047 <user>sdn</user>
48 <password>rocks</password>
49 <type>HostDriver</type>
50 <connect_order>6</connect_order>
51 <COMPONENTS>
Jon Hall39570262020-11-17 12:18:19 -080052 <mac>3c:fd:fe:a8:ea:30</mac>
Jon Hall43060f62020-06-23 13:13:33 -070053 <inband>false</inband>
Jon Hall06fd0df2021-01-25 15:50:06 -080054 <ip>192.168.102.2</ip>
Jon Hall43060f62020-06-23 13:13:33 -070055 <shortName>h1</shortName>
56 <port1>0</port1>
57 <link1>SwitchLeaf1</link1>
Jon Hall39570262020-11-17 12:18:19 -080058 <interfaceName>ens6f0</interfaceName>
Jon Hall43060f62020-06-23 13:13:33 -070059 <routes>
60 <route1>
Jon Hall06fd0df2021-01-25 15:50:06 -080061 <network>192.168.102.1</network>
Jon Hall43060f62020-06-23 13:13:33 -070062 <netmask>24</netmask>
63 <gw></gw>
64 <interface></interface>
65 </route1>
66 </routes>
67 </COMPONENTS>
68 </Host1>
69
70 <Host2>
Jon Hall6f4c7402020-07-29 15:49:11 -070071 <host>10.128.13.253</host>
Jon Hall43060f62020-06-23 13:13:33 -070072 <user>sdn</user>
73 <password>rocks</password>
74 <type>HostDriver</type>
75 <connect_order>7</connect_order>
76 <COMPONENTS>
Jon Hall39570262020-11-17 12:18:19 -080077 <mac>3c:fd:fe:a8:ea:31</mac>
Jon Hall43060f62020-06-23 13:13:33 -070078 <inband>false</inband>
Jon Hall06fd0df2021-01-25 15:50:06 -080079 <ip>192.168.102.11</ip>
Jon Hall43060f62020-06-23 13:13:33 -070080 <shortName>h2</shortName>
81 <port1>0</port1>
82 <link1>SwitchLeaf1</link1>
Jon Hall39570262020-11-17 12:18:19 -080083 <interfaceName>ens6f1</interfaceName>
Jon Hall43060f62020-06-23 13:13:33 -070084 <routes>
85 <route1>
Jon Hall06fd0df2021-01-25 15:50:06 -080086 <network>192.168.102.1</network>
Jon Hall43060f62020-06-23 13:13:33 -070087 <netmask>24</netmask>
88 <gw></gw>
89 <interface></interface>
90 </route1>
91 </routes>
92 </COMPONENTS>
93 </Host2>
94
95 <NetworkBench>
Jon Hall6f4c7402020-07-29 15:49:11 -070096 <host>10.128.13.253</host>
Jon Hall43060f62020-06-23 13:13:33 -070097 <user>sdn</user>
98 <password>rocks</password>
99 <type>NetworkDriver</type>
100 <connect_order>10</connect_order>
101 <COMPONENTS>
102 </COMPONENTS>
103 </NetworkBench>
104
105 </COMPONENT>
106</TOPOLOGY>