blob: 905d24bc668580e1dfcf135bc1fb948940711c84 [file] [log] [blame]
You Wang84f981d2018-01-12 16:11:50 -08001<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>
Jeremy Ronquillobcbef3e2019-06-07 11:02:38 -07009 <home></home> # defines where onos home is on the build machine. Defaults to "~/onos/" if empty.
You Wang84f981d2018-01-12 16:11:50 -080010 <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
Jeremy Ronquillobcbef3e2019-06-07 11:02:38 -070019 <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 -080020 <nodes>3</nodes> # number of nodes in the cluster
21 </COMPONENTS>
22 </ONOScell>
23
24 <MininetSwitchLeaf1>
25 <host>OCN</host>
26 <user>sdn</user>
27 <password>rocks</password>
28 <type>MininetSwitchDriver</type>
29 <connect_order>2</connect_order>
30 <COMPONENTS>
31 <shortName>leaf1</shortName>
32 <port1>1</port1>
33 <link1>MininetSwitchSpine101</link1>
34 <port2>2</port2>
35 <link2>MininetSwitchSpine102</link2>
36 <port3>3</port3>
37 <link3>MininetHost1</link3>
38 <port4>4</port4>
39 <link4>MininetHost2</link4>
40 </COMPONENTS>
41 </MininetSwitchLeaf1>
42
43 <MininetSwitchLeaf2>
44 <host>OCN</host>
45 <user>sdn</user>
46 <password>rocks</password>
47 <type>MininetSwitchDriver</type>
48 <connect_order>3</connect_order>
49 <COMPONENTS>
50 <shortName>leaf2</shortName>
51 <port1>1</port1>
52 <link1>MininetSwitchSpine101</link1>
53 <port2>2</port2>
54 <link2>MininetSwitchSpine102</link2>
55 <port3>3</port3>
56 <link3>MininetHost3</link3>
57 <port4>4</port4>
58 <link4>MininetHost4</link4>
59 </COMPONENTS>
60 </MininetSwitchLeaf2>
61
62 <MininetSwitchSpine101>
63 <host>OCN</host>
64 <user>sdn</user>
65 <password>rocks</password>
66 <type>MininetSwitchDriver</type>
67 <connect_order>4</connect_order>
68 <COMPONENTS>
69 <shortName>spine101</shortName>
70 <port1>1</port1>
71 <link1>MininetSwitchLeaf1</link1>
72 <port2>2</port2>
73 <link2>MininetSwitchLeaf2</link2>
74 </COMPONENTS>
75 </MininetSwitchSpine101>
76
77 <MininetSwitchSpine102>
78 <host>OCN</host>
79 <user>sdn</user>
80 <password>rocks</password>
81 <type>MininetSwitchDriver</type>
82 <connect_order>5</connect_order>
83 <COMPONENTS>
84 <shortName>spine102</shortName>
85 <port1>1</port1>
86 <link1>MininetSwitchLeaf1</link1>
87 <port2>2</port2>
88 <link2>MininetSwitchLeaf2</link2>
89 </COMPONENTS>
90 </MininetSwitchSpine102>
91
92 <MininetHost1>
93 <host>OCN</host>
94 <user>sdn</user>
95 <password>rocks</password>
96 <type>MininetHostDriver</type>
97 <connect_order>6</connect_order>
98 <COMPONENTS>
99 <ip>10.0.2.1</ip>
100 <shortName>h1</shortName>
101 <port1>0</port1>
102 <link1>MininetSwitchLeaf1</link1>
103 </COMPONENTS>
104 </MininetHost1>
105
106 <MininetHost2>
107 <host>OCN</host>
108 <user>sdn</user>
109 <password>rocks</password>
110 <type>MininetHostDriver</type>
111 <connect_order>7</connect_order>
112 <COMPONENTS>
113 <ip>10.0.2.2</ip>
114 <shortName>h2</shortName>
115 <port1>0</port1>
116 <link1>MininetSwitchLeaf1</link1>
117 </COMPONENTS>
118 </MininetHost2>
119
120 <MininetHost3>
121 <host>OCN</host>
122 <user>sdn</user>
123 <password>rocks</password>
124 <type>MininetHostDriver</type>
125 <connect_order>8</connect_order>
126 <COMPONENTS>
127 <ip>10.0.3.1</ip>
128 <shortName>h3</shortName>
129 <port1>0</port1>
130 <link1>MininetSwitchLeaf2</link1>
131 </COMPONENTS>
132 </MininetHost3>
133
134 <MininetHost4>
135 <host>OCN</host>
136 <user>sdn</user>
137 <password>rocks</password>
138 <type>MininetHostDriver</type>
139 <connect_order>9</connect_order>
140 <COMPONENTS>
141 <ip>10.0.3.2</ip>
142 <shortName>h4</shortName>
143 <port1>0</port1>
144 <link1>MininetSwitchLeaf2</link1>
145 </COMPONENTS>
146 </MininetHost4>
147
148 <NetworkBench>
149 <host>OCN</host>
150 <user>sdn</user>
151 <password>rocks</password>
152 <type>NetworkDriver</type>
153 <connect_order>10</connect_order>
154 <COMPONENTS>
155 </COMPONENTS>
156 </NetworkBench>
157
158 </COMPONENT>
159</TOPOLOGY>