Jon Hall | a478b85 | 2017-12-04 15:00:15 -0800 | [diff] [blame] | 1 | <TOPOLOGY> |
| 2 | <COMPONENT> |
| 3 | |
| 4 | <ONOScell> |
| 5 | <host>localhost</host> # ONOS "bench" machine |
| 6 | <user>sdn</user> |
| 7 | <password>rocks</password> |
| 8 | <type>OnosClusterDriver</type> |
| 9 | <connect_order>1</connect_order> |
| 10 | <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 |
| 19 | <onos_home></onos_home> # defines where onos home is |
| 20 | <nodes> 7 </nodes> # number of nodes in the cluster |
| 21 | </COMPONENTS> |
| 22 | </ONOScell> |
| 23 | |
| 24 | <Mininet1> |
| 25 | <host>OCN</host> |
| 26 | <user>sdn</user> |
| 27 | <password>rocks</password> |
| 28 | <type>MininetCliDriver</type> |
| 29 | <connect_order>2</connect_order> |
| 30 | <COMPONENTS> |
| 31 | #Specify the Option for mininet |
| 32 | <arg1> --custom ~/mininet/custom/obelisk.py </arg1> |
| 33 | <arg2> --topo obelisk </arg2> |
| 34 | <arg3> --switch ovs,protocols=OpenFlow13 </arg3> |
| 35 | <controller> none </controller> |
| 36 | <home>~/mininet/custom/</home> |
| 37 | <prompt></prompt> |
| 38 | </COMPONENTS> |
| 39 | </Mininet1> |
| 40 | |
| 41 | <Mininet2> |
| 42 | <host>OCN</host> |
| 43 | <user>sdn</user> |
| 44 | <password>rocks</password> |
| 45 | <type>RemoteMininetDriver</type> |
| 46 | <connect_order>3</connect_order> |
| 47 | <COMPONENTS> |
| 48 | <prompt></prompt> |
| 49 | </COMPONENTS> |
| 50 | </Mininet2> |
| 51 | |
| 52 | </COMPONENT> |
| 53 | </TOPOLOGY> |