Merge "Build on jenkins nodes with label docker"
[osm/SO.git] / rwcm / plugins / rwconman / rift / tasklets / rwconmantasklet / xlate_tags.yml
1 # """
2 # # 
3 #   Copyright 2016 RIFT.IO Inc
4 #
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
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
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.
16 #
17
18 # @file xlate_tags.yml
19 # @author Manish Patel (Manish.Patel@riftio.com)
20 # @date 01/14/2016
21 # """
22
23 # This file contains the tags that needs translation
24 # One can add some tags with processing limitations by the translation script.
25
26 # Add Regular expressions here (connection-points received dynamically from VNFR)
27
28 # Translate connection point names (Connection point name is read using RegEx)
29
30 xlate_cp_list :
31   - <rw_connection_point_name (.*?)>
32
33 # Literal string translations
34 xlate_str_list :
35   - <rw_mgmt_ip>
36   - <rw_username>
37   - <rw_password>
38
39 # This list contains 2 tags separated by colon (:)
40 xlate_colon_list :
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 (.*?)>
47
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 (.*?)>
54
55 # This translates connection point name and generates tuple with name:resolved IP
56 xlate_cp_to_tuple_list :
57   - <rw_connection_point_tuple (.*?)>
58