OF controller port mapping
[osm/openvim.git] / templates / of_port_mapping.yaml
diff --git a/templates/of_port_mapping.yaml b/templates/of_port_mapping.yaml
new file mode 100644 (file)
index 0000000..a8c1eff
--- /dev/null
@@ -0,0 +1,32 @@
+##
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: nfvlabs@tid.es
+##
+
+of_port_mapings:
+    - region:         spain                                   # Region name as e.g. Datacenter id
+      # ofc_id:         f6fb715a-03f0-11e7-9460-080027d220d5   # Openflow controller uuid, must exist
+      compute_node:   35f9de96-040a-11e7-93ae-92361f002671    # Compute node id
+      pci:            "0000:00:10.1"                          # PCI address port of the computer node
+      switch_dpid:    "11:22:33:44:55:66:77:88"               # Swicth DPID
+      switch_port:    "port-1/1"                              # Switch port name
+      switch_mac:     "5E:64:A2:86:06:46"                     # Switch port MAC
+    - region:         spain                                   # Region name as e.g. Datacenter id
+      # ofc_id:         f6fb715a-03f0-11e7-9460-080027d220d5   # Openflow controller uuid, must exist
+      compute_node:   35f9de96-040a-11e7-93ae-92361f002671    # Compute node id
+      pci:            "0000:00:10.2"                          # PCI address port of the computer node
+      switch_dpid:    "11:22:33:44:55:66:77:88"               # Swicth DPID
+      switch_port:    "port-1/2"                              # Switch port name
+      switch_mac:     "5E:64:A2:86:06:47"                     # Switch port MAC