01fc9aae319f2333f719c79e7df455eb2a63f201
[csit.git] / topologies / available / 3_node_hw_topo1.yaml.example
1 # Copyright (c) 2016 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 # Example file of topology
15
16 ---
17 metadata:
18   version: 0.1
19   schema: # list of schema files against which to validate
20     - resources/topology_schemas/3_node_topology.sch.yaml
21     - resources/topology_schemas/topology.sch.yaml
22   tags: [hw, 3-node]
23
24 nodes:
25   TG:
26     type: TG
27     host: 10.0.0.3
28     port: 22
29     username: lab
30     password: lab
31     interfaces:
32       port3:
33         mac_address: "08:00:27:35:59:04"
34         pci_address: "0000:00:08.0"
35         link: link1
36       port5:
37         mac_address: "08:00:27:46:2b:4c"
38         pci_address: "0000:00:09.0"
39         link: link2
40   DUT1:
41     type: DUT
42     host: 10.0.0.1
43     port: 22
44     username: lab
45     password: lab
46     interfaces:
47       port1:
48         mac_address: "08:00:27:ae:29:2b"
49         pci_address: "0000:00:08.0"
50         link: link1
51       port3:
52         mac_address: "08:00:27:f3:be:f0"
53         pci_address: "0000:00:09.0"
54         link: link3
55   DUT2:
56     type: DUT
57     host: 10.0.0.2
58     port: 22
59     username: lab
60     password: lab
61     interfaces:
62       port1:
63         mac_address: "08:00:27:f2:90:d8"
64         pci_address: "0000:00:08.0"
65         link: link2
66       port3:
67         mac_address: "08:00:27:14:64:e0"
68         pci_address: "0000:00:09.0"
69         link: link3