blob: 7aee36705a5bbd4f42a588dac8c66426daeba315 [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>
12 <kubeConfig>~/.kube/dev-pairedleaves-tucson</kubeConfig> # If set, will attempt to use this file for setting up port-forwarding
13 <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>
36 <trex_address>10.76.28.72</trex_address> <!-- Compute2 -->
37 <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>
46 <host>10.76.28.66</host>
47 <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>