blob: 8b4de951686819f75b2bfbbddf924f5252e38f28 [file] [log] [blame]
You Wang84f981d2018-01-12 16:11:50 -08001<TOPOLOGY>
2 <COMPONENT>
3 <!--
4 This is a list of all components and their handles in the test setup.
5 Even with some handles not used in test cases, we want to define
6 all onos cells here, for cases to set up onos cluster.
7 -->
8 <ONOScell>
9 <host>localhost</host> # ONOS "bench" machine
10 <user>sdn</user>
11 <password>rocks</password>
12 <type>OnosClusterDriver</type>
13 <connect_order>1</connect_order>
Jeremy Ronquillobcbef3e2019-06-07 11:02:38 -070014 <home></home> # defines where onos home is on the build machine. Defaults to "~/onos/" if empty.
You Wang84f981d2018-01-12 16:11:50 -080015 <COMPONENTS>
16 <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS'
17 <diff_clihost></diff_clihost> # if it has different host other than localhost for CLI. True or empty. OC# will be used if True.
18 <karaf_username></karaf_username>
19 <karaf_password></karaf_password>
20 <web_user></web_user>
21 <web_pass></web_pass>
22 <rest_port></rest_port>
23 <prompt></prompt> # TODO: we technically need a few of these, one per component
Jeremy Ronquillobcbef3e2019-06-07 11:02:38 -070024 <onos_home></onos_home> # defines where onos home is on the target cell machine. Defaults to entry in "home" if empty.
You Wang84f981d2018-01-12 16:11:50 -080025 <nodes> 3 </nodes> # number of nodes in the cluster
26 </COMPONENTS>
27 </ONOScell>
28
29 <MininetSwitch1>
30 <host>OCN</host>
31 <user>sdn</user>
32 <password>rocks</password>
33 <type>MininetSwitchDriver</type>
34 <connect_order>2</connect_order>
35 <COMPONENTS>
36 <shortName>s1</shortName>
37 <port1>1</port1>
38 <link1>MininetHost1</link1>
39 <port2>2</port2>
40 <link2>MininetHost2</link2>
41 </COMPONENTS>
42 </MininetSwitch1>
43
44 <MininetHost1>
45 <host>OCN</host>
46 <user>sdn</user>
47 <password>rocks</password>
48 <type>MininetHostDriver</type>
49 <connect_order>3</connect_order>
50 <COMPONENTS>
51 <ip>10.0.0.1</ip>
52 <shortName>h1</shortName>
53 <port1>0</port1>
54 <link1>MininetSwitch1</link1>
55 </COMPONENTS>
56 </MininetHost1>
57
58 <MininetHost2>
59 <host>OCN</host>
60 <user>sdn</user>
61 <password>rocks</password>
62 <type>MininetHostDriver</type>
63 <connect_order>4</connect_order>
64 <COMPONENTS>
65 <ip>10.0.0.2</ip>
66 <shortName>h2</shortName>
67 <port1>0</port1>
68 <link1>MininetSwitch1</link1>
69 </COMPONENTS>
70 </MininetHost2>
71
72 <NetworkBench>
73 <host>OCN</host>
74 <user>sdn</user>
75 <password>rocks</password>
76 <type>NetworkDriver</type>
77 <connect_order>5</connect_order>
78 <COMPONENTS>
79 </COMPONENTS>
80 </NetworkBench>
81
82 </COMPONENT>
83</TOPOLOGY>