blob: 1250fd936133196e059ffcb7d2761ed97ba89870 [file] [log] [blame]
You Wang84f981d2018-01-12 16:11:50 -08001<TOPOLOGY>
2 <COMPONENT>
3
4 <ONOScell>
5 <host>localhost</host> # ONOS "bench" machine
6 <user>sdn</user>
7 <password>rocks</password>
8 <type>OnosClusterDriver</type>
9 <connect_order>1</connect_order>
Jeremy Ronquillobcbef3e2019-06-07 11:02:38 -070010 <home></home> # defines where onos home is on the build machine. Defaults to "~/onos/" if empty.
You Wang84f981d2018-01-12 16:11:50 -080011 <COMPONENTS>
12 <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS'
13 <diff_clihost></diff_clihost> # if it has different host other than localhost for CLI. True or empty. OC# will be used for True.
14 <karaf_username></karaf_username>
15 <karaf_password></karaf_password>
16 <web_user></web_user>
17 <web_pass></web_pass>
18 <rest_port></rest_port>
19 <prompt></prompt> # TODO: we technically need a few of these, one per component
Jeremy Ronquillobcbef3e2019-06-07 11:02:38 -070020 <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 -080021 <nodes> 1 </nodes> # number of nodes in the cluster
22 </COMPONENTS>
23 </ONOScell>
24
25 <MininetSwitch1>
26 <host>OCN</host>
27 <user>sdn</user>
28 <password>rocks</password>
29 <type>MininetSwitchDriver</type>
30 <connect_order>2</connect_order>
31 <COMPONENTS>
32 <shortName>s1</shortName>
33 <port1>1</port1>
34 <link1>MininetHost1</link1>
35 <port2>2</port2>
36 <link2>MininetHost2</link2>
37 <port3>3</port3>
38 <link3>MininetHost3</link3>
39 <port4>4</port4>
40 <link4>MininetHost4</link4>
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 <MininetHost3>
73 <host>OCN</host>
74 <user>sdn</user>
75 <password>rocks</password>
76 <type>MininetHostDriver</type>
77 <connect_order>5</connect_order>
78 <COMPONENTS>
79 <ip>10.0.0.3</ip>
80 <shortName>h3</shortName>
81 <port1>0</port1>
82 <link1>MininetSwitch1</link1>
83 </COMPONENTS>
84 </MininetHost3>
85
86 <MininetHost4>
87 <host>OCN</host>
88 <user>sdn</user>
89 <password>rocks</password>
90 <type>MininetHostDriver</type>
91 <connect_order>6</connect_order>
92 <COMPONENTS>
93 <ip>10.0.0.4</ip>
94 <shortName>h4</shortName>
95 <port1>0</port1>
96 <link1>MininetSwitch1</link1>
97 </COMPONENTS>
98 </MininetHost4>
99
100 <NetworkBench>
101 <host>OCN</host>
102 <user>sdn</user>
103 <password>rocks</password>
104 <type>NetworkDriver</type>
105 <connect_order>7</connect_order>
106 <COMPONENTS>
107 </COMPONENTS>
108 </NetworkBench>
109
110 <h1>
111 <host>OCN</host>
112 <user>sdn</user>
113 <password>rocks</password>
114 <type>MininetHostScapyCliDriver</type>
115 <connect_order>8</connect_order>
116 <COMPONENTS>
117 <ifaceName>h1-eth0</ifaceName>
118 </COMPONENTS>
119 </h1>
120
121 <h2>
122 <host>OCN</host>
123 <user>sdn</user>
124 <password>rocks</password>
125 <type>MininetHostScapyCliDriver</type>
126 <connect_order>9</connect_order>
127 <COMPONENTS>
128 <ifaceName>h2-eth0</ifaceName>
129 </COMPONENTS>
130 </h2>
131
132 <h3>
133 <host>OCN</host>
134 <user>sdn</user>
135 <password>rocks</password>
136 <type>MininetHostScapyCliDriver</type>
137 <connect_order>10</connect_order>
138 <COMPONENTS>
139 <ifaceName>h3-eth0</ifaceName>
140 </COMPONENTS>
141 </h3>
142
143 <h4>
144 <host>OCN</host>
145 <user>sdn</user>
146 <password>rocks</password>
147 <type>MininetHostScapyCliDriver</type>
148 <connect_order>11</connect_order>
149 <COMPONENTS>
150 <ifaceName>h4-eth0</ifaceName>
151 </COMPONENTS>
152 </h4>
153
154 </COMPONENT>
155</TOPOLOGY>