blob: 08e4efad6eec09dc28a0b3d5574dce178118fb03 [file] [log] [blame]
Daniele Moro80889562021-09-08 10:09:26 +02001<TOPOLOGY>
2 <COMPONENT>
3 <ONOScell>
4 <host>localhost</host> # ONOS "bench" machine
5 <user>jenkins</user>
6 <password></password>
7 <type>OnosClusterDriver</type>
8 <connect_order>50</connect_order>
9 <jump_host></jump_host>
10 <home>~/onos</home> # defines where onos home is on the build machine. Defaults to "~/onos/" if empty.
11 <COMPONENTS>
Tseng, Yie9bc2352022-06-23 08:48:03 -070012 <kubeConfig>~/.kube/ci1-sdfabric</kubeConfig> # If set, will attempt to use this file for setting up port-forwarding
Daniele Moro80889562021-09-08 10:09:26 +020013 <useDocker>True</useDocker> # Whether to use docker for ONOS nodes
14 <docker_prompt>\$</docker_prompt>
15 <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS'
16 <diff_clihost>True</diff_clihost> # if it has different host other than localhost for CLI. True or empty. OC# will be used if True.
17 <karaf_username>karaf</karaf_username>
18 <karaf_password>karaf</karaf_password>
19 <web_user>karaf</web_user>
20 <web_pass>karaf</web_pass>
21 <karafPrompt_username>karaf</karafPrompt_username>
22 <rest_port></rest_port>
23 <prompt></prompt> # TODO: we technically need a few of these, one per component
24 <onos_home>~/onos/</onos_home> # defines where onos home is on the target cell machine. Defaults to entry in "home" if empty.
25 <nodes> 3 </nodes> # number of nodes in the cluster
26 <up4_port>51001</up4_port> # Port where the UP4 P4Runtime server is listening
27 </COMPONENTS>
28 </ONOScell>
29
30 <!-- No need for any HostDriver components, traffic is being generated by TRex-->
31 <TRexClient>
32 <host>localhost</host>
33 <type>TrexClientDriver</type>
34 <connect_order>5</connect_order>
35 <COMPONENTS>
Tseng, Yie9bc2352022-06-23 08:48:03 -070036 <trex_address>10.70.10.98</trex_address> <!-- Lottanics -->
Daniele Moro80889562021-09-08 10:09:26 +020037 <trex_config>trex_config.yaml</trex_config> <!-- relative path starting from ./dependencies-->
38 <force_restart>True</force_restart>
39 <software_mode>True</software_mode>
Daniele Moro732055a2021-09-28 15:28:46 +020040 <trex_library_python_path>/home/jenkins/trex_python</trex_library_python_path>
Daniele Moro80889562021-09-08 10:09:26 +020041 </COMPONENTS>
42 </TRexClient>
43
44 <!-- This component is not needed, but required to use the Testcaselib -->
45 <NetworkBench>
Tseng, Yie9bc2352022-06-23 08:48:03 -070046 <host>localhost</host>
Daniele Moro80889562021-09-08 10:09:26 +020047 <user>jenkins</user>
48 <password></password>
49 <type>NetworkDriver</type>
50 <connect_order>1</connect_order>
51 <COMPONENTS>
52 </COMPONENTS>
53 </NetworkBench>
54
55 </COMPONENT>
56</TOPOLOGY>