3 # Copyright 2016 RIFT.IO Inc
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
18 # @file xlate_tags.yml
19 # @author Manish Patel (Manish.Patel@riftio.com)
23 # This file contains the tags that needs translation
24 # One can add some tags with processing limitations by the translation script.
26 # Add Regular expressions here (connection-points received dynamically from VNFR)
28 # Translate connection point names (Connection point name is read using RegEx)
31 - <rw_connection_point_name (.*?)>
33 # Literal string translations
39 # This list contains 2 tags separated by colon (:)
41 # Fetch CP from the member_index dictionary (I.e. CP of a particular VNF)
42 - <rw_unique_index:rw_connection_point_name (.*?)>
43 # Generate network address from CP address and mask (mask is expected to be a hard coded number in config)
44 - <rw_connection_point:masklen_network (.*?)>
45 # Generate broadcast address from CP address and mask (mask is expected to be a hard coded number in config)
46 - <rw_connection_point:masklen_broadcast (.*?)>
48 # This list contains 3 tags separated by colon (:)
49 xlate_multi_colon_list :
50 # Generate network address from CP of a particular VNF (mask is expected to be a hard coded number in config))
51 - <rw_unique_index:rw_connection_point:masklen_network (.*?)>
52 # Generate broadcast address from CP of a particular VNF (mask is expected to be a hard coded number in config))
53 - <rw_unique_index:rw_connection_point:masklen_broadcast (.*?)>
55 # This translates connection point name and generates tuple with name:resolved IP
56 xlate_cp_to_tuple_list :
57 - <rw_connection_point_tuple (.*?)>