Pip standerdization and tox replacement
[osm/RO.git] / sdn / sdn_port_mapping.yaml
1 ##
2 # Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U.
3 # This file is part of openmano
4 # All Rights Reserved.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License"); you may
7 # not use this file except in compliance with the License. You may obtain
8 # a copy of the License at
9 #
10 #         http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15 # License for the specific language governing permissions and limitations
16 # under the License.
17 #
18 # For those usages not covered by the Apache License, Version 2.0 please
19 # contact with: nfvlabs@tid.es
20 ##
21 ---
22 #The mapping is composed of a list of compute nodes. Each compute nodes has two elements:
23 #"compute_node": name to identify the compute node within the datacenter
24 #"ports": list of ports mapped to a switch for that compute node.
25 #The information to identify the SDN controller and the dataplane switch is obtained from the datacenter information
26 - compute_node:    "compute node 1"
27   ports:
28     #Each mapped port contains the following information:
29     #"pci": pci address of the port in the compute node. This is a mandatory parameter
30     #"switch_mac": MAC address of the corresponding port in the dataplane switch.
31     #"switch_port": Openflow name of the port in the dataplane switch.
32     #"switch_mac" or "switch_port" must be specified. Both of them could be specified
33     - pci:         "0000:81:00.0"
34       switch_port: "port-2/1"
35     - pci:         "0000:81:00.1"
36       switch_mac:  "52:54:00:94:21:22"
37 - compute_node:    "compute node 2"
38   ports:
39     - pci:         "0000:81:00.0"
40       switch_port: "port-2/3"
41       switch_mac:  "52:54:00:94:22:21"
42     - pci:         "0000:81:00.1"
43       switch_port: "port-2/4"
44       switch_mac:  "52:54:00:94:22:22"