| <TOPOLOGY> |
| <COMPONENT> |
| |
| <ONOScell> |
| <host>localhost</host> # ONOS "bench" machine |
| <user>sdn</user> |
| <password>rocks</password> |
| <type>OnosClusterDriver</type> |
| <connect_order>1</connect_order> |
| <home></home> # defines where onos home is on the build machine. Defaults to "~/onos/" if empty. |
| <COMPONENTS> |
| <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS' |
| <diff_clihost></diff_clihost> # if it has different host other than localhost for CLI. True or empty. OC# will be used if True. |
| <karaf_username></karaf_username> |
| <karaf_password></karaf_password> |
| <web_user></web_user> |
| <web_pass></web_pass> |
| <rest_port></rest_port> |
| <prompt></prompt> # TODO: we technically need a few of these, one per component |
| <onos_home></onos_home> # defines where onos home is on the target cell machine. Defaults to entry in "home" if empty. |
| <nodes> 7 </nodes> # number of nodes in the cluster |
| </COMPONENTS> |
| </ONOScell> |
| |
| <Mininet1> |
| <host>OCN</host> |
| <user>sdn</user> |
| <password>rocks</password> |
| <type>MininetCliDriver</type> |
| <connect_order>2</connect_order> |
| <COMPONENTS> |
| <arg1> --custom ~/mininet/custom/topo-perf-1sw.py </arg1> |
| <arg2> --topo mytopo</arg2> |
| <arg3> --switch ovsk,protocols=OpenFlow13</arg3> |
| <controller> remote </controller> |
| <home>~/mininet/custom/</home> |
| <prompt></prompt> |
| </COMPONENTS> |
| </Mininet1> |
| |
| </COMPONENT> |
| </TOPOLOGY> |