Siddesh | 7fddba5 | 2021-10-21 22:02:23 +0000 | [diff] [blame] | 1 | <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>1</connect_order> |
| 9 | <home>~/onos</home> # defines where onos home is on the build machine. Defaults to "~/onos/" if empty. |
| 10 | <COMPONENTS> |
| 11 | <kubeConfig>~/.kube/dev-pairedleaves-tucson</kubeConfig> # If set, will attempt to use this file for setting up port-forwarding |
| 12 | <useDocker>True</useDocker> # Whether to use docker for ONOS nodes |
| 13 | <docker_prompt>\$</docker_prompt> |
| 14 | <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS' |
| 15 | <diff_clihost>True</diff_clihost> # if it has different host other than localhost for CLI. True or empty. OC# will be used if True. |
| 16 | <karaf_username>karaf</karaf_username> |
| 17 | <karaf_password>karaf</karaf_password> |
| 18 | <karafPrompt_username>karaf</karafPrompt_username> |
| 19 | <karafPrompt_password>karaf</karafPrompt_password> |
| 20 | <web_user>karaf</web_user> |
| 21 | <web_pass>karaf</web_pass> |
| 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 | </COMPONENTS> |
| 27 | </ONOScell> |
| 28 | |
| 29 | <Leaf1> |
| 30 | <host>10.76.28.70</host> |
| 31 | <user>root</user> |
| 32 | <password>onl</password> |
| 33 | <type>StratumOSSwitchDriver</type> |
| 34 | <connect_order>2</connect_order> |
| 35 | <COMPONENTS> |
| 36 | <shortName>leaf1</shortName> |
| 37 | <port1>1</port1> |
| 38 | <link1>Host1</link1> |
| 39 | <onosConfigPath></onosConfigPath> |
| 40 | <onosConfigFile></onosConfigFile> |
| 41 | </COMPONENTS> |
| 42 | </Leaf1> |
| 43 | |
| 44 | <Leaf2> |
| 45 | <host>10.76.28.71</host> |
| 46 | <user>root</user> |
| 47 | <password>onl</password> |
| 48 | <type>StratumOSSwitchDriver</type> |
| 49 | <connect_order>2</connect_order> |
| 50 | <COMPONENTS> |
| 51 | <shortName>leaf2</shortName> |
| 52 | <port1>2</port1> |
| 53 | <link1>Host2</link1> |
| 54 | <onosConfigPath></onosConfigPath> |
| 55 | <onosConfigFile></onosConfigFile> |
| 56 | </COMPONENTS> |
| 57 | </Leaf2> |
| 58 | |
| 59 | <Compute1> |
| 60 | <host>10.76.28.74</host> |
| 61 | <user>jenkins</user> |
| 62 | <password></password> |
| 63 | <type>HostDriver</type> |
| 64 | <connect_order>6</connect_order> |
| 65 | <jump_host></jump_host> |
| 66 | <COMPONENTS> |
| 67 | <mac></mac> |
| 68 | <inband>false</inband> |
| 69 | <dhcp>False</dhcp> |
| 70 | <ip>10.32.11.2</ip> |
| 71 | <shortName>h1</shortName> |
| 72 | <port1></port1> |
| 73 | <link1></link1> |
| 74 | <ifaceName>pairbond</ifaceName> |
| 75 | <scapy_path>/usr/bin/scapy</scapy_path> |
| 76 | <routes> |
| 77 | <route1> |
| 78 | <network>10.32.11.126</network> |
| 79 | <netmask>25</netmask> |
| 80 | <gw>10.32.11.126</gw> |
| 81 | <interface>pairbond</interface> |
| 82 | </route1> |
| 83 | </routes> |
| 84 | <sudo_required>true</sudo_required> |
| 85 | </COMPONENTS> |
| 86 | </Compute1> |
| 87 | |
| 88 | <Compute2> |
| 89 | <host>10.76.28.72</host> |
| 90 | <user>jenkins</user> |
| 91 | <password></password> |
| 92 | <type>HostDriver</type> |
| 93 | <connect_order>7</connect_order> |
| 94 | <jump_host></jump_host> |
| 95 | <COMPONENTS> |
| 96 | <mac></mac> |
| 97 | <inband>false</inband> |
| 98 | <dhcp>False</dhcp> |
| 99 | <ip>10.32.11.3</ip> |
| 100 | <shortName>h2</shortName> |
| 101 | <port1></port1> |
| 102 | <link1></link1> |
| 103 | <ifaceName>pairbond</ifaceName> |
| 104 | <scapy_path>/usr/bin/scapy</scapy_path> |
| 105 | <routes> |
| 106 | <route1> |
| 107 | <network>10.32.11.126</network> |
| 108 | <netmask>25</netmask> |
| 109 | <gw>10.32.11.126</gw> |
| 110 | <interface>pairbond</interface> |
| 111 | </route1> |
| 112 | </routes> |
| 113 | <sudo_required>true</sudo_required> |
| 114 | </COMPONENTS> |
| 115 | </Compute2> |
| 116 | |
| 117 | <Compute3> |
| 118 | <host>10.76.28.68</host> |
| 119 | <user>jenkins</user> |
| 120 | <password></password> |
| 121 | <type>HostDriver</type> |
| 122 | <connect_order>8</connect_order> |
| 123 | <jump_host></jump_host> |
| 124 | <COMPONENTS> |
| 125 | <mac></mac> |
| 126 | <inband>false</inband> |
| 127 | <dhcp>False</dhcp> |
| 128 | <ip>10.32.11.194</ip> |
| 129 | <shortName>h3</shortName> |
| 130 | <port1></port1> |
| 131 | <link1></link1> |
| 132 | <ifaceName>eno2</ifaceName> |
| 133 | <scapy_path>/usr/bin/scapy</scapy_path> |
| 134 | <routes> |
| 135 | <route1> |
| 136 | <network>10.32.11.254</network> |
| 137 | <netmask>26</netmask> |
| 138 | <gw>10.32.11.254</gw> |
| 139 | <interface>26</interface> |
| 140 | </route1> |
| 141 | </routes> |
| 142 | <sudo_required>true</sudo_required> |
| 143 | </COMPONENTS> |
| 144 | </Compute3> |
| 145 | |
| 146 | <ManagmentServer> |
| 147 | <host>10.76.28.66</host> |
| 148 | <user>jenkins</user> |
| 149 | <password></password> |
| 150 | <type>HostDriver</type> |
| 151 | <connect_order>1</connect_order> |
| 152 | <COMPONENTS> |
| 153 | <mac></mac> |
| 154 | <inband>false</inband> |
| 155 | <dhcp>False</dhcp> |
| 156 | <ip>10.32.11.1</ip> |
| 157 | <shortName>mgmt</shortName> |
| 158 | <port1></port1> |
| 159 | <link1></link1> |
| 160 | <ifaceName>pairbond</ifaceName> |
| 161 | <scapy_path>/usr/bin/scapy</scapy_path> |
| 162 | <routes> |
| 163 | <route1> |
| 164 | <network>10.32.11.126</network> |
| 165 | <netmask>25</netmask> |
| 166 | <gw>10.32.11.126</gw> |
| 167 | <interface>pairbond</interface> |
| 168 | </route1> |
| 169 | </routes> |
| 170 | <sudo_required>true</sudo_required> |
| 171 | |
| 172 | </COMPONENTS> |
| 173 | </ManagmentServer> |
| 174 | |
| 175 | <NetworkBench> |
| 176 | <host>10.76.28.66</host> |
| 177 | <user>jenkins</user> |
| 178 | <password></password> |
| 179 | <type>NetworkDriver</type> |
| 180 | <connect_order>10</connect_order> |
| 181 | <COMPONENTS> |
| 182 | </COMPONENTS> |
| 183 | </NetworkBench> |
| 184 | |
| 185 | </COMPONENT> |
| 186 | </TOPOLOGY> |