blob: 4605185f3b03115bab7254e833694b2f4bd38b9f [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>
9 <COMPONENTS>
10 <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS'
11 <diff_clihost></diff_clihost> # if it has different host other than localhost for CLI. True or empty. OC# will be used if True.
12 <karaf_username></karaf_username>
13 <karaf_password></karaf_password>
14 <web_user></web_user>
15 <web_pass></web_pass>
16 <rest_port></rest_port>
17 <prompt></prompt> # TODO: we technically need a few of these, one per component
18 <onos_home></onos_home> # defines where onos home is
19 <nodes>3</nodes> # number of nodes in the cluster
20 </COMPONENTS>
21 </ONOScell>
22
23 <MininetSwitchLeaf1>
24 <host>OCN</host>
25 <user>sdn</user>
26 <password>rocks</password>
27 <type>MininetSwitchDriver</type>
28 <connect_order>2</connect_order>
29 <COMPONENTS>
30 <shortName>leaf1</shortName>
31 <port1>1</port1>
32 <link1>MininetSwitchSpine101</link1>
33 <port2>2</port2>
34 <link2>MininetSwitchSpine102</link2>
35 <port3>3</port3>
36 <link3>MininetHost1</link3>
37 <port4>4</port4>
38 <link4>MininetHost2</link4>
39 </COMPONENTS>
40 </MininetSwitchLeaf1>
41
42 <MininetSwitchLeaf2>
43 <host>OCN</host>
44 <user>sdn</user>
45 <password>rocks</password>
46 <type>MininetSwitchDriver</type>
47 <connect_order>3</connect_order>
48 <COMPONENTS>
49 <shortName>leaf2</shortName>
50 <port1>1</port1>
51 <link1>MininetSwitchSpine101</link1>
52 <port2>2</port2>
53 <link2>MininetSwitchSpine102</link2>
54 <port3>3</port3>
55 <link3>MininetHost3</link3>
56 <port4>4</port4>
57 <link4>MininetHost4</link4>
58 </COMPONENTS>
59 </MininetSwitchLeaf2>
60
61 <MininetSwitchSpine101>
62 <host>OCN</host>
63 <user>sdn</user>
64 <password>rocks</password>
65 <type>MininetSwitchDriver</type>
66 <connect_order>4</connect_order>
67 <COMPONENTS>
68 <shortName>spine101</shortName>
69 <port1>1</port1>
70 <link1>MininetSwitchLeaf1</link1>
71 <port2>2</port2>
72 <link2>MininetSwitchLeaf2</link2>
73 </COMPONENTS>
74 </MininetSwitchSpine101>
75
76 <MininetSwitchSpine102>
77 <host>OCN</host>
78 <user>sdn</user>
79 <password>rocks</password>
80 <type>MininetSwitchDriver</type>
81 <connect_order>5</connect_order>
82 <COMPONENTS>
83 <shortName>spine102</shortName>
84 <port1>1</port1>
85 <link1>MininetSwitchLeaf1</link1>
86 <port2>2</port2>
87 <link2>MininetSwitchLeaf2</link2>
88 </COMPONENTS>
89 </MininetSwitchSpine102>
90
91 <MininetHost1>
92 <host>OCN</host>
93 <user>sdn</user>
94 <password>rocks</password>
95 <type>MininetHostDriver</type>
96 <connect_order>6</connect_order>
97 <COMPONENTS>
98 <ip>10.0.2.1</ip>
99 <shortName>h1</shortName>
100 <port1>0</port1>
101 <link1>MininetSwitchLeaf1</link1>
102 </COMPONENTS>
103 </MininetHost1>
104
105 <MininetHost2>
106 <host>OCN</host>
107 <user>sdn</user>
108 <password>rocks</password>
109 <type>MininetHostDriver</type>
110 <connect_order>7</connect_order>
111 <COMPONENTS>
112 <ip>10.0.2.2</ip>
113 <shortName>h2</shortName>
114 <port1>0</port1>
115 <link1>MininetSwitchLeaf1</link1>
116 </COMPONENTS>
117 </MininetHost2>
118
119 <MininetHost3>
120 <host>OCN</host>
121 <user>sdn</user>
122 <password>rocks</password>
123 <type>MininetHostDriver</type>
124 <connect_order>8</connect_order>
125 <COMPONENTS>
126 <ip>10.0.3.1</ip>
127 <shortName>h3</shortName>
128 <port1>0</port1>
129 <link1>MininetSwitchLeaf2</link1>
130 </COMPONENTS>
131 </MininetHost3>
132
133 <MininetHost4>
134 <host>OCN</host>
135 <user>sdn</user>
136 <password>rocks</password>
137 <type>MininetHostDriver</type>
138 <connect_order>9</connect_order>
139 <COMPONENTS>
140 <ip>10.0.3.2</ip>
141 <shortName>h4</shortName>
142 <port1>0</port1>
143 <link1>MininetSwitchLeaf2</link1>
144 </COMPONENTS>
145 </MininetHost4>
146
147 <NetworkBench>
148 <host>OCN</host>
149 <user>sdn</user>
150 <password>rocks</password>
151 <type>NetworkDriver</type>
152 <connect_order>10</connect_order>
153 <COMPONENTS>
154 </COMPONENTS>
155 </NetworkBench>
156
157 </COMPONENT>
158</TOPOLOGY>