CDS Blueprint for vFW K8s Use Case 03/99203/8
authorSamuli Silvius <s.silvius@partner.samsung.com>
Thu, 5 Dec 2019 12:34:48 +0000 (14:34 +0200)
committerMarco Platania <platania@research.att.com>
Tue, 7 Jan 2020 16:22:07 +0000 (16:22 +0000)
Introduce blueprint changes on top of latest
vFW demo to also support multicloud/K8s plugin
integration.

This commit brings resource resolution part for
k8s related parameters that are enough to instantiate
CNF defined by Helm charts in multicloud/k8s plugin.

Issue-ID: INT-1260

Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Change-Id: I783e364a201cda25ea812d83795ae2a4be71def9

24 files changed:
heat/vFW_CNF_CDS/templates/README.txt [new file with mode: 0644]
heat/vFW_CNF_CDS/templates/cba-dd.json [new file with mode: 0644]
heat/vFW_CNF_CDS/templates/cba/Definitions/data_types.json
heat/vFW_CNF_CDS/templates/cba/Definitions/node_types.json
heat/vFW_CNF_CDS/templates/cba/Definitions/resources_definition_types.json
heat/vFW_CNF_CDS/templates/cba/Definitions/vFW_CNF_CDS.json [moved from heat/vFW_CNF_CDS/templates/cba/Definitions/vFW_CDS.json with 94% similarity]
heat/vFW_CNF_CDS/templates/cba/TOSCA-Metadata/TOSCA.meta
heat/vFW_CNF_CDS/templates/cba/Templates/base_template-mapping.json
heat/vFW_CNF_CDS/templates/cba/Templates/base_template-template.vtl
heat/vFW_CNF_CDS/templates/cba/Templates/vfw-mapping.json
heat/vFW_CNF_CDS/templates/cba/Templates/vfw-template.vtl
heat/vFW_CNF_CDS/templates/cba/Templates/vnf-mapping.json
heat/vFW_CNF_CDS/templates/cba/Templates/vnf-template.vtl
heat/vFW_CNF_CDS/templates/cba/Templates/vpkg-mapping.json
heat/vFW_CNF_CDS/templates/cba/Templates/vpkg-template.vtl
heat/vFW_CNF_CDS/templates/cba/Templates/vsn-mapping.json
heat/vFW_CNF_CDS/templates/cba/Templates/vsn-template.vtl
heat/vFW_CNF_CDS/templates/helm/base_template/templates/onap-private-net.yaml
heat/vFW_CNF_CDS/templates/helm/base_template/templates/protected-private-net.yaml
heat/vFW_CNF_CDS/templates/helm/base_template/templates/unprotected-private-net.yaml
heat/vFW_CNF_CDS/templates/helm/base_template/values.yaml
heat/vFW_CNF_CDS/templates/helm/vfw/values.yaml
heat/vFW_CNF_CDS/templates/helm/vpkg/values.yaml
heat/vFW_CNF_CDS/templates/helm/vsn/values.yaml

diff --git a/heat/vFW_CNF_CDS/templates/README.txt b/heat/vFW_CNF_CDS/templates/README.txt
new file mode 100644 (file)
index 0000000..3d7c29c
--- /dev/null
@@ -0,0 +1 @@
+cba-dd.json file is Data Dictionary file used to enrich cba model.
diff --git a/heat/vFW_CNF_CDS/templates/cba-dd.json b/heat/vFW_CNF_CDS/templates/cba-dd.json
new file mode 100644 (file)
index 0000000..1d85d96
--- /dev/null
@@ -0,0 +1,428 @@
+[
+  {
+    "name": "k8s-rb-profile-name",
+    "tags": "k8s, cnf, profile",
+    "data_type": "string",
+    "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
+    "entry_schema": "string",
+    "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "definition": {
+      "tags": "k8s, cnf, profile",
+      "name": "k8s-rb-profile-name",
+      "property": {
+        "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
+        "type": "string"
+      },
+      "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+      "sources": {
+        "input": {
+          "type": "source-input"
+        },
+        "default": {
+          "type": "source-default",
+          "properties": {}
+        },
+        "sdnc" : {
+           "type" : "source-rest",
+           "properties" : {
+             "verb" : "GET",
+             "type" : "JSON",
+             "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/k8s-rb-profile-name",
+             "path" : "/param/0/value",
+             "input-key-mapping" : {
+               "service-instance-id" : "service-instance-id",
+               "vnf-id" : "vnf-id"
+             },
+             "output-key-mapping" : {
+               "k8s-rb-profile-name" : "value"
+             },
+             "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+           }
+         }
+      }
+    }
+  },
+  {
+    "name": "vf-module-model-invariant-uuid",
+    "tags": "vnf, vf-module",
+    "data_type": "string",
+    "description": "vf module model invariant uuid",
+    "entry_schema": "string",
+    "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "definition": {
+      "tags": "vnf, vf-module",
+      "name": "vf-module-model-invariant-uuid",
+      "property": {
+        "description": "vf module model invariant uuid",
+        "type": "string"
+      },
+      "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+      "sources": {
+        "input": {
+          "type": "source-input"
+        },
+        "default": {
+          "type": "source-default",
+          "properties": {}
+        },
+        "processor-db" : {
+           "type" : "source-db",
+           "properties" : {
+             "type" : "SQL",
+             "query" : "select sdnctl.VF_MODULE_MODEL.invariant_uuid as vf_module_model_invariant_uuid from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid",
+             "input-key-mapping" : {
+               "customizationid" : "vf-module-model-customization-uuid"
+             },
+             "output-key-mapping" : {
+               "vf-module-model-invariant-uuid" : "vf_module_model_invariant_uuid"
+             },
+             "key-dependencies" : [ "vf-module-model-customization-uuid" ],
+             "endpoint-selector" : "dynamic-db-source"
+           }
+         }
+      }
+    }
+  },
+  {
+    "name": "vf-module-model-version",
+    "tags": "vnf, vf-module",
+    "data_type": "string",
+    "description": "vf module model model version",
+    "entry_schema": "string",
+    "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "definition": {
+      "tags": "vnf, vf-module",
+      "name": "vf-module-model-version",
+      "property": {
+        "description": "vf module model model version",
+        "type": "string"
+      },
+      "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+      "sources": {
+        "input": {
+          "type": "source-input"
+        },
+        "default": {
+          "type": "source-default",
+          "properties": {}
+        },
+        "processor-db" : {
+           "type" : "source-db",
+           "properties" : {
+             "type" : "SQL",
+             "query" : "select sdnctl.VF_MODULE_MODEL.version as vf_module_model_version from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid",
+             "input-key-mapping" : {
+               "customizationid" : "vf-module-model-customization-uuid"
+             },
+             "output-key-mapping" : {
+               "vf-module-model-version" : "vf-module-model-version"
+             },
+             "key-dependencies" : [ "vf-module-model-customization-uuid" ],
+             "endpoint-selector" : "dynamic-db-source"
+           }
+         }
+      }
+    }
+  },
+  {
+    "name": "int_private1_gw_ip",
+    "tags": "k8s, cnf, int_private1_gw_ip",
+    "data_type": "string",
+    "description": "Private unprotected network gateway ip address",
+    "entry_schema": "string",
+    "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "definition": {
+      "tags": "k8s, cnf, int_private1_gw_ip",
+      "name": "int_private1_gw_ip",
+      "property": {
+        "description": "Private unprotected network gateway ip address",
+        "type": "string"
+      },
+      "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+      "sources": {
+        "input": {
+          "type": "source-input"
+        },
+        "default": {
+          "type": "source-default",
+          "properties": {}
+        },
+        "sdnc" : {
+           "type" : "source-rest",
+           "properties" : {
+             "verb" : "GET",
+             "type" : "JSON",
+             "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_gw_ip",
+             "path" : "/param/0/value",
+             "input-key-mapping" : {
+               "service-instance-id" : "service-instance-id",
+               "vnf-id" : "vnf-id"
+             },
+             "output-key-mapping" : {
+               "int_private1_gw_ip" : "value"
+             },
+             "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+           }
+         }
+      }
+    }
+  },
+  {
+    "name": "int_private1_net_id",
+    "tags": "k8s, cnf, int_private1_net_id",
+    "data_type": "string",
+    "description": "Private unprotected network identification",
+    "entry_schema": "string",
+    "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "definition": {
+      "tags": "k8s, cnf, int_private1_net_id",
+      "name": "int_private1_net_id",
+      "property": {
+        "description": "Private network identification",
+        "type": "string"
+      },
+      "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+      "sources": {
+        "input": {
+          "type": "source-input"
+        },
+        "default": {
+          "type": "source-default",
+          "properties": {}
+        },
+        "sdnc" : {
+           "type" : "source-rest",
+           "properties" : {
+             "verb" : "GET",
+             "type" : "JSON",
+             "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_net_id",
+             "path" : "/param/0/value",
+             "input-key-mapping" : {
+               "service-instance-id" : "service-instance-id",
+               "vnf-id" : "vnf-id"
+             },
+             "output-key-mapping" : {
+               "int_private1_net_id" : "value"
+             },
+             "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+           }
+         }
+      }
+    }
+  },
+  {
+    "name": "int_private1_subnet_id",
+    "tags": "k8s, cnf, int_private1_subnet_id",
+    "data_type": "string",
+    "description": "Private unprotected subnetwork identification",
+    "entry_schema": "string",
+    "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "definition": {
+      "tags": "k8s, cnf, int_private1_subnet_id",
+      "name": "int_private1_subnet_id",
+      "property": {
+        "description": "Private unprotected subnetwork identification",
+        "type": "string"
+      },
+      "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+      "sources": {
+        "input": {
+          "type": "source-input"
+        },
+        "default": {
+          "type": "source-default",
+          "properties": {}
+        },
+        "sdnc" : {
+           "type" : "source-rest",
+           "properties" : {
+             "verb" : "GET",
+             "type" : "JSON",
+             "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_subnet_id",
+             "path" : "/param/0/value",
+             "input-key-mapping" : {
+               "service-instance-id" : "service-instance-id",
+               "vnf-id" : "vnf-id"
+             },
+             "output-key-mapping" : {
+               "int_private1_subnet_id" : "value"
+             },
+             "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+           }
+         }
+      }
+    }
+  },
+  {
+    "name": "int_private2_gw_ip",
+    "tags": "k8s, cnf, int_private2_gw_ip",
+    "data_type": "string",
+    "description": "Private protected network gateway ip address",
+    "entry_schema": "string",
+    "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "definition": {
+      "tags": "k8s, cnf, int_private2_gw_ip",
+      "name": "int_private2_gw_ip",
+      "property": {
+        "description": "Private protected network gateway ip address",
+        "type": "string"
+      },
+      "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+      "sources": {
+        "input": {
+          "type": "source-input"
+        },
+        "default": {
+          "type": "source-default",
+          "properties": {}
+        },
+        "sdnc" : {
+           "type" : "source-rest",
+           "properties" : {
+             "verb" : "GET",
+             "type" : "JSON",
+             "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_gw_ip",
+             "path" : "/param/0/value",
+             "input-key-mapping" : {
+               "service-instance-id" : "service-instance-id",
+               "vnf-id" : "vnf-id"
+             },
+             "output-key-mapping" : {
+               "int_private2_gw_ip" : "value"
+             },
+             "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+           }
+         }
+      }
+    }
+  },
+  {
+    "name": "int_private2_net_id",
+    "tags": "k8s, cnf, int_private2_net_id",
+    "data_type": "string",
+    "description": "Private protected network identification",
+    "entry_schema": "string",
+    "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "definition": {
+      "tags": "k8s, cnf, int_private2_net_id",
+      "name": "int_private2_net_id",
+      "property": {
+        "description": "Private protected network identification",
+        "type": "string"
+      },
+      "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+      "sources": {
+        "input": {
+          "type": "source-input"
+        },
+        "default": {
+          "type": "source-default",
+          "properties": {}
+        },
+        "sdnc" : {
+           "type" : "source-rest",
+           "properties" : {
+             "verb" : "GET",
+             "type" : "JSON",
+             "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_net_id",
+             "path" : "/param/0/value",
+             "input-key-mapping" : {
+               "service-instance-id" : "service-instance-id",
+               "vnf-id" : "vnf-id"
+             },
+             "output-key-mapping" : {
+               "int_private2_net_id" : "value"
+             },
+             "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+           }
+         }
+      }
+    }
+  },
+  {
+    "name": "int_private2_subnet_id",
+    "tags": "k8s, cnf, int_private2_subnet_id",
+    "data_type": "string",
+    "description": "Private protected subnetwork identification",
+    "entry_schema": "string",
+    "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "definition": {
+      "tags": "k8s, cnf, int_private2_subnet_id",
+      "name": "int_private2_subnet_id",
+      "property": {
+        "description": "Private protected subnetwork identification",
+        "type": "string"
+      },
+      "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+      "sources": {
+        "input": {
+          "type": "source-input"
+        },
+        "default": {
+          "type": "source-default",
+          "properties": {}
+        },
+        "sdnc" : {
+           "type" : "source-rest",
+           "properties" : {
+             "verb" : "GET",
+             "type" : "JSON",
+             "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_subnet_id",
+             "path" : "/param/0/value",
+             "input-key-mapping" : {
+               "service-instance-id" : "service-instance-id",
+               "vnf-id" : "vnf-id"
+             },
+             "output-key-mapping" : {
+               "int_private2_subnet_id" : "value"
+             },
+             "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+           }
+         }
+      }
+    }
+  },
+  {
+    "name": "onap_private_gw_ip",
+    "tags": "k8s, cnf, onap_private_gw_ip",
+    "data_type": "string",
+    "description": "Private onap management network gateway ip address",
+    "entry_schema": "string",
+    "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "definition": {
+      "tags": "k8s, cnf, onap_private_gw_ip",
+      "name": "onap_private_gw_ip",
+      "property": {
+        "description": "Private onap management network gateway ip address",
+        "type": "string"
+      },
+      "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
+      "sources": {
+        "input": {
+          "type": "source-input"
+        },
+        "default": {
+          "type": "source-default",
+          "properties": {}
+        },
+        "sdnc" : {
+           "type" : "source-rest",
+           "properties" : {
+             "verb" : "GET",
+             "type" : "JSON",
+             "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/onap_private_gw_ip",
+             "path" : "/param/0/value",
+             "input-key-mapping" : {
+               "service-instance-id" : "service-instance-id",
+               "vnf-id" : "vnf-id"
+             },
+             "output-key-mapping" : {
+               "onap_private_gw_ip" : "value"
+             },
+             "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+           }
+         }
+      }
+    }
+  }
+]
index 4df92dd..82d4a04 100644 (file)
             "type" : ""
           }
         },
             "type" : ""
           }
         },
+        "int_private1_gw_ip" : {
+          "description" : "Private unprotected network gateway ip",
+          "type" : "string",
+          "default" : "192.168.10.1/24"
+        },
         "sec_group" : {
           "description" : "",
           "required" : false,
         "sec_group" : {
           "description" : "",
           "required" : false,
             "type" : ""
           }
         },
             "type" : ""
           }
         },
+        "int_private2_subnet_id" : {
+          "description" : "Private protected subnetwork identification",
+          "type" : "string",
+          "default" : "${int_private2_subnet_id}"
+        },
         "vfccustomizationuuid" : {
           "description" : "",
           "required" : false,
         "vfccustomizationuuid" : {
           "description" : "",
           "required" : false,
             "type" : ""
           }
         },
             "type" : ""
           }
         },
+        "k8s-rb-profile-name" : {
+          "description" : "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
+          "type" : "string"
+        },
         "vsn_name_0" : {
           "description" : "",
           "required" : false,
         "vsn_name_0" : {
           "description" : "",
           "required" : false,
             "type" : ""
           }
         },
             "type" : ""
           }
         },
+        "int_private2_net_id" : {
+          "description" : "Private protected network identification",
+          "type" : "string"
+        },
+        "int_private1_subnet_id" : {
+          "description" : "Private unprotected subnetwork identification",
+          "type" : "string",
+          "default" : "${int_private1_subnet_id}"
+        },
         "vnf_name" : {
           "description" : "",
           "required" : false,
         "vnf_name" : {
           "description" : "",
           "required" : false,
             "type" : ""
           }
         },
             "type" : ""
           }
         },
+        "int_private2_gw_ip" : {
+          "description" : "Private protected network gateway ip",
+          "type" : "string"
+        },
         "vsn_image_name" : {
           "description" : "",
           "required" : false,
         "vsn_image_name" : {
           "description" : "",
           "required" : false,
             "type" : ""
           }
         },
             "type" : ""
           }
         },
+        "onap_private_gw_ip" : {
+          "description" : "Private onap management network gateway ip",
+          "type" : "string",
+          "default" : "10.10.0.1/16"
+        },
         "dcae_collector_port" : {
           "description" : "",
           "required" : false,
         "dcae_collector_port" : {
           "description" : "",
           "required" : false,
           "entry_schema" : {
             "type" : ""
           }
           "entry_schema" : {
             "type" : ""
           }
+        },
+        "int_private1_net_id" : {
+          "description" : "Private unprotected network identification",
+          "type" : "string",
+          "default" : "${int_private1_net_id}"
         }
       },
       "derived_from" : "tosca.datatypes.Dynamic"
         }
       },
       "derived_from" : "tosca.datatypes.Dynamic"
index e812db1..91ecafe 100644 (file)
           } ],
           "default" : "JSON"
         },
           } ],
           "default" : "JSON"
         },
+        "headers" : {
+          "required" : false,
+          "type" : "map",
+          "entry_schema" : {
+            "type" : "string"
+          }
+        },
         "verb" : {
           "required" : true,
           "type" : "string",
         "verb" : {
           "required" : true,
           "type" : "string",
index 6b1efae..ea053c3 100644 (file)
@@ -6,7 +6,7 @@
       "description" : "active-streams",
       "type" : "string"
     },
       "description" : "active-streams",
       "type" : "string"
     },
-    "updated-by" : "Singal, Kapil <ks220y@att.com>",
+    "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
     "sources" : {
       "input" : {
         "type" : "source-input"
     "sources" : {
       "input" : {
         "type" : "source-input"
       }
     }
   },
       }
     }
   },
+  "int_private1_gw_ip" : {
+    "tags" : "k8s, cnf, int_private1_gw_ip",
+    "name" : "int_private1_gw_ip",
+    "property" : {
+      "description" : "Private unprotected network gateway ip address",
+      "type" : "string"
+    },
+    "updated-by" : "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "sources" : {
+      "input" : {
+        "type" : "source-input"
+      },
+      "default" : {
+        "type" : "source-default",
+        "properties" : { }
+      },
+      "sdnc" : {
+        "type" : "source-rest",
+        "properties" : {
+          "verb" : "GET",
+          "type" : "JSON",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_gw_ip",
+          "path" : "/param/0/value",
+          "input-key-mapping" : {
+            "service-instance-id" : "service-instance-id",
+            "vnf-id" : "vnf-id"
+          },
+          "output-key-mapping" : {
+            "int_private1_gw_ip" : "value"
+          },
+          "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+        }
+      }
+    }
+  },
   "int_private1_net_cidr" : {
     "tags" : "int_private1_net_cidr",
     "name" : "int_private1_net_cidr",
   "int_private1_net_cidr" : {
     "tags" : "int_private1_net_cidr",
     "name" : "int_private1_net_cidr",
         "type" : "source-default",
         "properties" : { }
       },
         "type" : "source-default",
         "properties" : { }
       },
+      "sdnc" : {
+        "type" : "source-rest",
+        "properties" : {
+          "verb" : "GET",
+          "type" : "JSON",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_net_cidr",
+          "path" : "/param/0/value",
+          "input-key-mapping" : {
+            "service-instance-id" : "service-instance-id",
+            "vnf-id" : "vnf-id"
+          },
+          "output-key-mapping" : {
+            "int_private1_net_cidr" : "value"
+          },
+          "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+        }
+      },
       "processor-db" : {
         "type" : "source-db",
         "properties" : {
       "processor-db" : {
         "type" : "source-db",
         "properties" : {
             "int_private1_net_cidr" : "prefix"
           }
         }
             "int_private1_net_cidr" : "prefix"
           }
         }
+      }
+    }
+  },
+  "int_private1_net_id" : {
+    "tags" : "k8s, cnf, int_private1_net_id",
+    "name" : "int_private1_net_id",
+    "property" : {
+      "description" : "Private network identification",
+      "type" : "string"
+    },
+    "updated-by" : "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "sources" : {
+      "input" : {
+        "type" : "source-input"
+      },
+      "default" : {
+        "type" : "source-default",
+        "properties" : { }
       },
       "sdnc" : {
         "type" : "source-rest",
         "properties" : {
           "verb" : "GET",
           "type" : "JSON",
       },
       "sdnc" : {
         "type" : "source-rest",
         "properties" : {
           "verb" : "GET",
           "type" : "JSON",
-          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_net_cidr",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_net_id",
           "path" : "/param/0/value",
           "input-key-mapping" : {
             "service-instance-id" : "service-instance-id",
             "vnf-id" : "vnf-id"
           },
           "output-key-mapping" : {
           "path" : "/param/0/value",
           "input-key-mapping" : {
             "service-instance-id" : "service-instance-id",
             "vnf-id" : "vnf-id"
           },
           "output-key-mapping" : {
-            "int_private1_net_cidr" : "value"
+            "int_private1_net_id" : "value"
+          },
+          "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+        }
+      }
+    }
+  },
+  "int_private1_subnet_id" : {
+    "tags" : "k8s, cnf, int_private1_subnet_id",
+    "name" : "int_private1_subnet_id",
+    "property" : {
+      "description" : "Private unprotected subnetwork identification",
+      "type" : "string"
+    },
+    "updated-by" : "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "sources" : {
+      "input" : {
+        "type" : "source-input"
+      },
+      "default" : {
+        "type" : "source-default",
+        "properties" : { }
+      },
+      "sdnc" : {
+        "type" : "source-rest",
+        "properties" : {
+          "verb" : "GET",
+          "type" : "JSON",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_subnet_id",
+          "path" : "/param/0/value",
+          "input-key-mapping" : {
+            "service-instance-id" : "service-instance-id",
+            "vnf-id" : "vnf-id"
+          },
+          "output-key-mapping" : {
+            "int_private1_subnet_id" : "value"
+          },
+          "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+        }
+      }
+    }
+  },
+  "int_private2_gw_ip" : {
+    "tags" : "k8s, cnf, int_private2_gw_ip",
+    "name" : "int_private2_gw_ip",
+    "property" : {
+      "description" : "Private protected network gateway ip address",
+      "type" : "string"
+    },
+    "updated-by" : "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "sources" : {
+      "input" : {
+        "type" : "source-input"
+      },
+      "default" : {
+        "type" : "source-default",
+        "properties" : { }
+      },
+      "sdnc" : {
+        "type" : "source-rest",
+        "properties" : {
+          "verb" : "GET",
+          "type" : "JSON",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_gw_ip",
+          "path" : "/param/0/value",
+          "input-key-mapping" : {
+            "service-instance-id" : "service-instance-id",
+            "vnf-id" : "vnf-id"
+          },
+          "output-key-mapping" : {
+            "int_private2_gw_ip" : "value"
           },
           "key-dependencies" : [ "service-instance-id", "vnf-id" ]
         }
           },
           "key-dependencies" : [ "service-instance-id", "vnf-id" ]
         }
         "type" : "source-default",
         "properties" : { }
       },
         "type" : "source-default",
         "properties" : { }
       },
+      "processor-db" : {
+        "type" : "source-db",
+        "properties" : {
+          "endpoint-selector" : "dynamic-db-source",
+          "type" : "SQL",
+          "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
+          "output-key-mapping" : {
+            "int_private2_net_cidr" : "prefix"
+          },
+          "input-key-mapping" : { }
+        }
+      },
       "sdnc" : {
         "type" : "source-rest",
         "properties" : {
       "sdnc" : {
         "type" : "source-rest",
         "properties" : {
           },
           "key-dependencies" : [ "service-instance-id", "vnf-id" ]
         }
           },
           "key-dependencies" : [ "service-instance-id", "vnf-id" ]
         }
+      }
+    }
+  },
+  "int_private2_net_id" : {
+    "tags" : "k8s, cnf, int_private2_net_id",
+    "name" : "int_private2_net_id",
+    "property" : {
+      "description" : "Private protected network identification",
+      "type" : "string"
+    },
+    "updated-by" : "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "sources" : {
+      "input" : {
+        "type" : "source-input"
+      },
+      "default" : {
+        "type" : "source-default",
+        "properties" : { }
+      },
+      "sdnc" : {
+        "type" : "source-rest",
+        "properties" : {
+          "verb" : "GET",
+          "type" : "JSON",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_net_id",
+          "path" : "/param/0/value",
+          "input-key-mapping" : {
+            "service-instance-id" : "service-instance-id",
+            "vnf-id" : "vnf-id"
+          },
+          "output-key-mapping" : {
+            "int_private2_net_id" : "value"
+          },
+          "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+        }
+      }
+    }
+  },
+  "int_private2_subnet_id" : {
+    "tags" : "k8s, cnf, int_private2_subnet_id",
+    "name" : "int_private2_subnet_id",
+    "property" : {
+      "description" : "Private protected subnetwork identification",
+      "type" : "string"
+    },
+    "updated-by" : "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "sources" : {
+      "input" : {
+        "type" : "source-input"
       },
       },
-      "processor-db" : {
-        "type" : "source-db",
+      "default" : {
+        "type" : "source-default",
+        "properties" : { }
+      },
+      "sdnc" : {
+        "type" : "source-rest",
         "properties" : {
         "properties" : {
-          "endpoint-selector" : "dynamic-db-source",
-          "type" : "SQL",
-          "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
-          "input-key-mapping" : { },
+          "verb" : "GET",
+          "type" : "JSON",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_subnet_id",
+          "path" : "/param/0/value",
+          "input-key-mapping" : {
+            "service-instance-id" : "service-instance-id",
+            "vnf-id" : "vnf-id"
+          },
           "output-key-mapping" : {
           "output-key-mapping" : {
-            "int_private2_net_cidr" : "prefix"
-          }
+            "int_private2_subnet_id" : "value"
+          },
+          "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+        }
+      }
+    }
+  },
+  "k8s-rb-profile-name" : {
+    "tags" : "k8s, cnf, profile",
+    "name" : "k8s-rb-profile-name",
+    "property" : {
+      "description" : "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
+      "type" : "string"
+    },
+    "updated-by" : "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "sources" : {
+      "input" : {
+        "type" : "source-input"
+      },
+      "default" : {
+        "type" : "source-default",
+        "properties" : { }
+      },
+      "sdnc" : {
+        "type" : "source-rest",
+        "properties" : {
+          "verb" : "GET",
+          "type" : "JSON",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/k8s-rb-profile-name",
+          "path" : "/param/0/value",
+          "input-key-mapping" : {
+            "service-instance-id" : "service-instance-id",
+            "vnf-id" : "vnf-id"
+          },
+          "output-key-mapping" : {
+            "k8s-rb-profile-name" : "value"
+          },
+          "key-dependencies" : [ "service-instance-id", "vnf-id" ]
         }
       }
     }
         }
       }
     }
       }
     }
   },
       }
     }
   },
+  "onap_private_gw_ip" : {
+    "tags" : "k8s, cnf, onap_private_gw_ip",
+    "name" : "onap_private_gw_ip",
+    "property" : {
+      "description" : "Private onap management network gateway ip address",
+      "type" : "string"
+    },
+    "updated-by" : "Samuli, Silvius <s.silvius@partner.samsung.com>",
+    "sources" : {
+      "input" : {
+        "type" : "source-input"
+      },
+      "default" : {
+        "type" : "source-default",
+        "properties" : { }
+      },
+      "sdnc" : {
+        "type" : "source-rest",
+        "properties" : {
+          "verb" : "GET",
+          "type" : "JSON",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/onap_private_gw_ip",
+          "path" : "/param/0/value",
+          "input-key-mapping" : {
+            "service-instance-id" : "service-instance-id",
+            "vnf-id" : "vnf-id"
+          },
+          "output-key-mapping" : {
+            "onap_private_gw_ip" : "value"
+          },
+          "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+        }
+      }
+    }
+  },
   "onap_private_net_cidr" : {
     "tags" : "onap_private_net_cidr",
     "name" : "onap_private_net_cidr",
   "onap_private_net_cidr" : {
     "tags" : "onap_private_net_cidr",
     "name" : "onap_private_net_cidr",
       "description" : "put-active-streams",
       "type" : "string"
     },
       "description" : "put-active-streams",
       "type" : "string"
     },
-    "updated-by" : "Singal, Kapil <ks220y@att.com>",
+    "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
     "sources" : {
     "sources" : {
+      "input" : {
+        "type" : "source-input"
+      },
+      "default" : {
+        "type" : "source-default",
+        "properties" : { }
+      },
       "sdnc" : {
         "type" : "source-rest",
         "properties" : {
       "sdnc" : {
         "type" : "source-rest",
         "properties" : {
           "endpoint-selector" : "vpkg-rest-api",
           "payload" : "{\"streams\": {\"active-streams\": $active-streams}}"
         }
           "endpoint-selector" : "vpkg-rest-api",
           "payload" : "{\"streams\": {\"active-streams\": $active-streams}}"
         }
-      },
-      "input" : {
-        "type" : "source-input"
-      },
-      "default" : {
-        "type" : "source-default",
-        "properties" : { }
       }
     }
   },
       }
     }
   },
       "sdnc" : {
         "type" : "source-rest",
         "properties" : {
       "sdnc" : {
         "type" : "source-rest",
         "properties" : {
+          "verb" : "GET",
           "type" : "JSON",
           "type" : "JSON",
-          "verb": "GET",
-          "url-path" : "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/name",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vnf_name",
           "path" : "/param/0/value",
           "input-key-mapping" : {
             "service-instance-id" : "service-instance-id",
           "path" : "/param/0/value",
           "input-key-mapping" : {
             "service-instance-id" : "service-instance-id",
           },
           "key-dependencies" : [ "service-instance-id", "vnf-id" ]
         }
           },
           "key-dependencies" : [ "service-instance-id", "vnf-id" ]
         }
-      },
-      "aai-data": {
-        "type": "source-rest",
-        "properties": {
-          "type": "JSON",
-          "verb": "GET",
-          "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id",
-          "path": "",
-          "input-key-mapping": {
-            "vnf-id": "vnf-id"
-          },
-          "output-key-mapping": {
-            "vnf_name": "vnf-name"
-          },
-          "key-dependencies": [
-            "vnf-id"
-          ]
-        }
       }
     }
   },
       }
     }
   },
       "processor-db" : {
         "type" : "source-db",
         "properties" : {
       "processor-db" : {
         "type" : "source-db",
         "properties" : {
+          "endpoint-selector" : "dynamic-db-source",
           "type" : "SQL",
           "query" : "select VFC_MODEL.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
           "type" : "SQL",
           "query" : "select VFC_MODEL.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-          "output-key-mapping" : {
-            "vnfc-model-version" : "vnfc_model_version"
-          },
-          "endpoint-selector" : "dynamic-db-source",
           "input-key-mapping" : {
             "vfccustomizationuuid" : "vfccustomizationuuid"
           },
           "input-key-mapping" : {
             "vfccustomizationuuid" : "vfccustomizationuuid"
           },
+          "output-key-mapping" : {
+            "vnfc-model-version" : "vnfc_model_version"
+          },
           "key-dependencies" : [ "vfccustomizationuuid" ]
         }
       }
           "key-dependencies" : [ "vfccustomizationuuid" ]
         }
       }
       "description" : "vpg_int_private1_ip_0",
       "type" : "string"
     },
       "description" : "vpg_int_private1_ip_0",
       "type" : "string"
     },
-    "updated-by" : "Singal, Kapil <ks220y@att.com>",
+    "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
     "sources" : {
       "input" : {
         "type" : "source-input"
     "sources" : {
       "input" : {
         "type" : "source-input"
     "tags" : "vpg_name_0",
     "name" : "vpg_name_0",
     "property" : {
     "tags" : "vpg_name_0",
     "name" : "vpg_name_0",
     "property" : {
-      "description" : "vlb_name_0",
+      "description" : "vpg_name_0",
       "type" : "string"
     },
     "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
       "type" : "string"
     },
     "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
@@ -1,12 +1,13 @@
 {
   "tosca_definitions_version" : "controller_blueprint_1_0_0",
   "metadata" : {
 {
   "tosca_definitions_version" : "controller_blueprint_1_0_0",
   "metadata" : {
-    "template_author" : "Abdelmuhaimen Seaudi",
+    "template_author" : "Samuli Silvius <s.silvius@partner.samsung.com>",
     "author-email" : "abdelmuhaimen.seaudi@orange.com",
     "user-groups" : "ADMIN, OPERATION",
     "author-email" : "abdelmuhaimen.seaudi@orange.com",
     "user-groups" : "ADMIN, OPERATION",
-    "template_name" : "vFW_CDS",
+    "template_name" : "vFW_CNF_CDS",
     "template_version" : "1.0.0",
     "template_version" : "1.0.0",
-    "template_tags" : "vFW-CDS, vfw-CDS, SCALE-OUT"
+    "template_tags" : "Samuli Silvius, vFW_CNF_CDS",
+    "template_type" : "DEFAULT"
   },
   "imports" : [ {
     "file" : "Definitions/data_types.json"
   },
   "imports" : [ {
     "file" : "Definitions/data_types.json"
       "url" : "http://netbox-nginx:8080",
       "token" : "Token 0123456789abcdef0123456789abcdef01234567"
     },
       "url" : "http://netbox-nginx:8080",
       "token" : "Token 0123456789abcdef0123456789abcdef01234567"
     },
+    "vpkg-rest-api" : {
+      "type" : "basic-auth",
+      "url" : "http://",
+      "username" : "admin",
+      "password" : "admin"
+    },
     "config-deploy-properties" : {
       "resolution-key" : {
         "get_input" : "resolution-key"
     "config-deploy-properties" : {
       "resolution-key" : {
         "get_input" : "resolution-key"
index 144c3d0..d5b8af2 100644 (file)
@@ -1,6 +1,8 @@
 TOSCA-Meta-File-Version: 1.0.0
 CSAR-Version: 1.0
 TOSCA-Meta-File-Version: 1.0.0
 CSAR-Version: 1.0
-Created-By: PLATANIA, MARCO <platania@research.att.com>
-Entry-Definitions: Definitions/vFW_CDS.json
-Template-Tags: vFW_CDS
-Content-Type: application/vnd.oasis.bpmn
\ No newline at end of file
+Created-By: Samuli Silvius <s.silvius@partner.samsung.com>
+Entry-Definitions: Definitions/vFW_CNF_CDS.json
+Template-Name: vFW_CNF_CDS
+Template-Version: 1.0.0
+Template-Type: DEFAULT
+Template-Tags: Samuli Silvius, vFW_CNF_CDS
index 7ce9707..b4cadd3 100644 (file)
       "vnf-id"
     ],
     "version": 0
       "vnf-id"
     ],
     "version": 0
+  },
+  {
+    "name": "k8s-rb-profile-name",
+    "property": {
+      "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "k8s-rb-profile-name",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private1_gw_ip",
+    "property": {
+      "description": "Private unprotected network gateway ip",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private1_gw_ip",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private1_net_id",
+    "property": {
+      "description": "Private unprotected network identification",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private1_net_id",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private1_subnet_id",
+    "property": {
+      "description": "Private unprotected subnetwork identification",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private1_subnet_id",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private2_gw_ip",
+    "property": {
+      "description": "Private protected network gateway ip",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private2_gw_ip",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private2_net_id",
+    "property": {
+      "description": "Private protected network identification",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private2_net_id",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private2_subnet_id",
+    "property": {
+      "description": "Private protected subnetwork identification",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private2_subnet_id",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "onap_private_gw_ip",
+    "property": {
+      "description": "Private onap management network gateway ip",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "onap_private_gw_ip",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "onap_private_net_id",
+    "property": {
+      "description": "Private onap management network identification",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "onap_private_net_id",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "onap_private_subnet_id",
+    "property": {
+      "description": "Private onap management subnetwork identification",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "onap_private_subnet_id",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
   }
   }
-  
-]
\ No newline at end of file
+]
index c2e92ad..226f4a5 100644 (file)
@@ -4,10 +4,7 @@
       "param-name": "service-instance-id",
       "param-value": "${service-instance-id}"
     },
       "param-name": "service-instance-id",
       "param-value": "${service-instance-id}"
     },
-    {
-      "param-name": "vnf_id",
-      "param-value": "${vnf-id}"
-    },
+
     {
       "param-name": "vnf_name",
       "param-value": "${vnf_name}"
     {
       "param-name": "vnf_name",
       "param-value": "${vnf_name}"
       "param-name": "vf_module_type",
       "param-value": "${vf-module-type}"
     },
       "param-name": "vf_module_type",
       "param-value": "${vf-module-type}"
     },
+
     {
       "param-name": "int_private1_net_cidr",
       "param-value": "${int_private1_net_cidr}"
     },
     {
       "param-name": "int_private1_net_cidr",
       "param-value": "${int_private1_net_cidr}"
     },
+
     {
       "param-name": "int_private2_net_cidr",
       "param-value": "${int_private2_net_cidr}"
     },
 
     {
       "param-name": "int_private2_net_cidr",
       "param-value": "${int_private2_net_cidr}"
     },
 
-    {          
-      "param-name": "pub_key",         
-      "param-value": "${pub_key}"              
+    {
+      "param-name": "pub_key",
+      "param-value": "${pub_key}"
+    },
+    {
+      "param-name": "k8s-rb-profile-name",
+      "param-value": "${k8s-rb-profile-name}"
+    },
+    {
+      "param-name": "int_private1_gw_ip",
+      "param-value": "${int_private1_gw_ip}"
+    },
+    {
+      "param-name": "int_private1_net_id",
+      "param-value": "${int_private1_net_id}"
+    },
+    {
+      "param-name": "int_private1_subnet_id",
+      "param-value": "${int_private1_subnet_id}"
+    },
+    {
+      "param-name": "int_private2_gw_ip",
+      "param-value": "${int_private2_gw_ip}"
+    },
+    {
+      "param-name": "int_private2_net_id",
+      "param-value": "${int_private2_net_id}"
+    },
+    {
+      "param-name": "int_private2_subnet_id",
+      "param-value": "${int_private2_subnet_id}"
+    },
+    {
+      "param-name": "onap_private_gw_ip",
+      "param-value": "${onap_private_gw_ip}"
+    },
+    {
+      "param-name": "onap_private_net_id",
+      "param-value": "${onap_private_net_id}"
+    },
+    {
+      "param-name": "onap_private_subnet_id",
+      "param-value": "${onap_private_subnet_id}"
     }
     }
   ],
   "capability-data": [
     {
   ],
   "capability-data": [
     {
       ]
     }
   ]
       ]
     }
   ]
-}
\ No newline at end of file
+}
index 86a5cc8..c78d34c 100644 (file)
@@ -68,9 +68,9 @@
     ],
     "version": 0
   },
     ],
     "version": 0
   },
-  
-  
-  
+
+
+
   {
     "name": "vfw_int_private2_floating_ip",
     "property": {
   {
     "name": "vfw_int_private2_floating_ip",
     "property": {
     ],
     "version": 0
   },
     ],
     "version": 0
   },
-  
+
   {
     "name": "vfw_int_private2_ip_0",
     "property": {
   {
     "name": "vfw_int_private2_ip_0",
     "property": {
     ],
     "version": 0
   },
     ],
     "version": 0
   },
-  
-  
-  
-   
-     
+
+
+
+
+
   {
     "name": "private1-prefix-id",
     "property": {
   {
     "name": "private1-prefix-id",
     "property": {
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "private1-prefix-id",
     },
     "input-param": false,
     "dictionary-name": "private1-prefix-id",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "management-prefix-id",
     },
     "input-param": false,
     "dictionary-name": "management-prefix-id",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-       
+
     },
     "input-param": false,
     "dictionary-name": "install_script_version",
     },
     "input-param": false,
     "dictionary-name": "install_script_version",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-       
+
     },
     "input-param": false,
     "dictionary-name": "demo_artifacts_version",
     },
     "input-param": false,
     "dictionary-name": "demo_artifacts_version",
     "version": 0
   },
 
     "version": 0
   },
 
+
+
   {
     "name": "nfc-naming-code",
     "property": {
   {
     "name": "nfc-naming-code",
     "property": {
     "dependencies": [],
     "version": 0
   },
     "dependencies": [],
     "version": 0
   },
+
   {
     "name": "vfw_name_0",
     "property": {
   {
     "name": "vfw_name_0",
     "property": {
     "dependencies": [],
     "version": 0
   },
     "dependencies": [],
     "version": 0
   },
+
   {
     "name": "vf-module-id",
     "property": {
   {
     "name": "vf-module-id",
     "property": {
        ],
     "version": 0
   },
        ],
     "version": 0
   },
-  
+
   {
     "name": "vfccustomizationuuid",
     "property": {
   {
     "name": "vfccustomizationuuid",
     "property": {
     ],
     "version": 0
   },
     ],
     "version": 0
   },
+
   {
     "name": "vnf-id",
     "property": {
   {
     "name": "vnf-id",
     "property": {
       "vfccustomizationuuid"
     ],
     "version": 0
       "vfccustomizationuuid"
     ],
     "version": 0
+  },
+  {
+    "name": "dcae_collector_ip",
+    "property": {
+      "description": "",
+      "required": false,
+      "type": "string",
+      "status": "",
+      "constraints": [
+        {}
+      ],
+      "entry_schema": {
+        "type": ""
+      },
+      "default": "10.0.4.1"
+    },
+    "input-param": false,
+    "dictionary-name": "dcae_collector_ip",
+    "dictionary-source": "default",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ],
+    "version": 0
+  },
+  {
+    "name": "dcae_collector_port",
+    "property": {
+      "description": "",
+      "required": false,
+      "type": "string",
+      "status": "",
+      "constraints": [
+        {}
+      ],
+      "entry_schema": {
+        "type": ""
+      },
+      "default": "30235"
+    },
+    "input-param": false,
+    "dictionary-name": "dcae_collector_port",
+    "dictionary-source": "default",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ],
+    "version": 0
+  },
+  {
+    "name": "k8s-rb-profile-name",
+    "property": {
+      "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "k8s-rb-profile-name",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private1_net_id",
+    "property": {
+      "description": "Private unprotected network identification",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private1_net_id",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private2_net_id",
+    "property": {
+      "description": "Private protected network identification",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private2_net_id",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
   }
   }
-]
\ No newline at end of file
+]
index 5899674..d81d961 100644 (file)
@@ -4,10 +4,7 @@
       "param-name": "service-instance-id",
       "param-value": "${service-instance-id}"
     },
       "param-name": "service-instance-id",
       "param-value": "${service-instance-id}"
     },
-    {
-      "param-name": "vnf_id",
-      "param-value": "${vnf-id}"
-    },
+
     {
       "param-name": "vnf_name",
       "param-value": "${vnf_name}"
     {
       "param-name": "vnf_name",
       "param-value": "${vnf_name}"
        {
       "param-name": "nexus_artifact_repo",
       "param-value": "${nexus_artifact_repo}"
        {
       "param-name": "nexus_artifact_repo",
       "param-value": "${nexus_artifact_repo}"
-    }
-       
+    },
+    {
+      "param-name": "k8s-rb-profile-name",
+      "param-value": "${k8s-rb-profile-name}"
+    },
+    {
+      "param-name": "int_private1_net_id",
+      "param-value": "${int_private1_net_id}"
+    },
+    {
+      "param-name": "int_private2_net_id",
+      "param-value": "${int_private2_net_id}"
+    }    
   ],
   "capability-data": [
     {
   ],
   "capability-data": [
     {
       ]
     }
   ]
       ]
     }
   ]
-}
\ No newline at end of file
+}
index f2cb919..1a1ca27 100644 (file)
@@ -32,7 +32,7 @@
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "management-prefix-id",
     },
     "input-param": false,
     "dictionary-name": "management-prefix-id",
     ],
     "version": 0
   },
     ],
     "version": 0
   },
-  
+
     {
     "name": "int_private1_net_cidr",
     "property": {
     {
     "name": "int_private1_net_cidr",
     "property": {
     "dependencies": [],
     "version": 0
   },
     "dependencies": [],
     "version": 0
   },
-  
-  
+
+
     {
     "name": "int_private2_net_cidr",
     "property": {
     {
     "name": "int_private2_net_cidr",
     "property": {
     "dependencies": [],
     "version": 0
   },
     "dependencies": [],
     "version": 0
   },
-  
-  
+
+
   {
     "name": "demo_artifacts_version",
     "property": {
   {
     "name": "demo_artifacts_version",
     "property": {
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "public_net_id",
     },
     "input-param": false,
     "dictionary-name": "public_net_id",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "vnf-id",
     },
     "input-param": false,
     "dictionary-name": "vnf-id",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "vnf-model-customization-uuid",
     },
     "input-param": false,
     "dictionary-name": "vnf-model-customization-uuid",
     "dependencies": [],
     "version": 0
   },
     "dependencies": [],
     "version": 0
   },
-   {
+  {
     "name": "vpg_int_private1_ip_0",
     "property": {
       "description": "",
     "name": "vpg_int_private1_ip_0",
     "property": {
       "description": "",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "aic-cloud-region",
     },
     "input-param": false,
     "dictionary-name": "aic-cloud-region",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "onap_private_net_id",
     },
     "input-param": false,
     "dictionary-name": "onap_private_net_id",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "onap_private_subnet_id",
     },
     "input-param": false,
     "dictionary-name": "onap_private_subnet_id",
     "dependencies": [],
     "version": 0
   },
     "dependencies": [],
     "version": 0
   },
-  {
-    "name": "vfw_onap_private_ip_0",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      },
-      "default": "${vfw_onap_private_ip_0}"
-    },
-    "input-param": false,
-    "dictionary-name": "vfw_onap_private_ip_0",
-    "dictionary-source": "default",
-    "dependencies": [],
-    "version": 0
-  },
   {
     "name": "vsn_int_private2_ip_0",
     "property": {
   {
     "name": "vsn_int_private2_ip_0",
     "property": {
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "service-instance-id",
     },
     "input-param": false,
     "dictionary-name": "service-instance-id",
     "dependencies": [],
     "version": 0
   },
     "dependencies": [],
     "version": 0
   },
+
   {
     "name": "private1-prefix-id",
     "property": {
   {
     "name": "private1-prefix-id",
     "property": {
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "private1-prefix-id",
     },
     "input-param": false,
     "dictionary-name": "private1-prefix-id",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "private2-prefix-id",
     "dictionary-source": "processor-db",
     "dependencies": [],
     "version": 0
     },
     "input-param": false,
     "dictionary-name": "private2-prefix-id",
     "dictionary-source": "processor-db",
     "dependencies": [],
     "version": 0
+  },
+  {
+    "name": "k8s-rb-profile-name",
+    "property": {
+      "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
+      "type": "string",
+      "default": "vfw-cnf-cds-base-profile"
+    },
+    "input-param": false,
+    "dictionary-name": "k8s-rb-profile-name",
+    "dictionary-source": "default",
+    "dependencies": [
+    ]
+  },
+  {
+    "name": "int_private1_gw_ip",
+    "property": {
+      "description": "Private unprotected network gateway ip",
+      "type": "string",
+      "default": "192.168.10.1/24"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private1_gw_ip",
+    "dictionary-source": "default",
+    "dependencies": [
+    ]
+  },
+  {
+    "name": "int_private1_net_id",
+    "property": {
+      "description": "Private unprotected network identification",
+      "type": "string",
+      "default": "${int_private1_net_id}"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private1_net_id",
+    "dictionary-source": "default",
+    "dependencies": [
+    ]
+  },
+  {
+    "name": "int_private1_subnet_id",
+    "property": {
+      "description": "Private unprotected subnetwork identification",
+      "type": "string",
+      "default": "${int_private1_subnet_id}"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private1_subnet_id",
+    "dictionary-source": "default",
+    "dependencies": [
+    ]
+  },
+  {
+    "name": "int_private2_gw_ip",
+    "property": {
+      "description": "Private protected network gateway ip",
+      "type": "string",
+      "default": "192.168.20.1/24"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private2_gw_ip",
+    "dictionary-source": "default",
+    "dependencies": [
+    ]
+  },
+  {
+    "name": "int_private2_net_id",
+    "property": {
+      "description": "Private protected network identification",
+      "type": "string",
+      "default": "${int_private2_net_id}"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private2_net_id",
+    "dictionary-source": "default",
+    "dependencies": [
+    ]
+  },
+  {
+    "name": "int_private2_subnet_id",
+    "property": {
+      "description": "Private protected subnetwork identification",
+      "type": "string",
+      "default": "${int_private2_subnet_id}"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private2_subnet_id",
+    "dictionary-source": "default",
+    "dependencies": [
+    ]
+  },
+  {
+    "name": "onap_private_gw_ip",
+    "property": {
+      "description": "Private onap management network gateway ip",
+      "type": "string",
+      "default": "10.10.0.1/16"
+    },
+    "input-param": false,
+    "dictionary-name": "onap_private_gw_ip",
+    "dictionary-source": "default",
+    "dependencies": [
+    ]
   }
   }
-]
\ No newline at end of file
+]
index 60aeb04..37b4b94 100644 (file)
@@ -4,10 +4,7 @@
       "param-name": "service-instance-id",
       "param-value": "${service-instance-id}"
     },
       "param-name": "service-instance-id",
       "param-value": "${service-instance-id}"
     },
-    {
-      "param-name": "vnf_id",
-      "param-value": "${vnf-id}"
-    },
+
     {
       "param-name": "vnf-model-customization-uuid",
       "param-value": "${vnf-model-customization-uuid}"
     {
       "param-name": "vnf-model-customization-uuid",
       "param-value": "${vnf-model-customization-uuid}"
        {
       "param-name": "nexus_artifact_repo",
       "param-value": "${nexus_artifact_repo}"
        {
       "param-name": "nexus_artifact_repo",
       "param-value": "${nexus_artifact_repo}"
+    },
+    {
+      "param-name": "k8s-rb-profile-name",
+      "param-value": "${k8s-rb-profile-name}"
+    },
+    {
+      "param-name": "int_private1_gw_ip",
+      "param-value": "${int_private1_gw_ip}"
+    },
+    {
+      "param-name": "int_private1_net_id",
+      "param-value": "${vnf_name}-unprotected-network"
+    },
+    {
+      "param-name": "int_private1_subnet_id",
+      "param-value": "${int_private1_net_id}-subnet-1"
+    },
+    {
+      "param-name": "int_private2_gw_ip",
+      "param-value": "${int_private2_gw_ip}"
+    },
+    {
+      "param-name": "int_private2_net_id",
+      "param-value": "${vnf_name}-protected-network"
+    },
+    {
+      "param-name": "int_private2_subnet_id",
+      "param-value": "${int_private2_net_id}-subnet-1"
+    },
+    {
+      "param-name": "onap_private_gw_ip",
+      "param-value": "${onap_private_gw_ip}"
     }
   ],
   "capability-data": [
     }
   ],
   "capability-data": [
       ]
     }
   ]
       ]
     }
   ]
-}
\ No newline at end of file
+}
index 8d17414..801d339 100644 (file)
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "private2-prefix-id",
     },
     "input-param": false,
     "dictionary-name": "private2-prefix-id",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "management-prefix-id",
     },
     "input-param": false,
     "dictionary-name": "management-prefix-id",
       "vnf-id"
     ],
     "version": 0
       "vnf-id"
     ],
     "version": 0
+  },
+  {
+    "name": "dcae_collector_ip",
+    "property": {
+      "description": "",
+      "required": false,
+      "type": "string",
+      "status": "",
+      "constraints": [
+        {}
+      ],
+      "entry_schema": {
+        "type": ""
+      },
+      "default": "10.0.4.1"
+    },
+    "input-param": false,
+    "dictionary-name": "dcae_collector_ip",
+    "dictionary-source": "default",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ],
+    "version": 0
+  },
+  {
+    "name": "dcae_collector_port",
+    "property": {
+      "description": "",
+      "required": false,
+      "type": "string",
+      "status": "",
+      "constraints": [
+        {}
+      ],
+      "entry_schema": {
+        "type": ""
+      },
+      "default": "30235"
+    },
+    "input-param": false,
+    "dictionary-name": "dcae_collector_port",
+    "dictionary-source": "default",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ],
+    "version": 0
+  },
+  {
+    "name": "k8s-rb-profile-name",
+    "property": {
+      "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "k8s-rb-profile-name",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private1_net_id",
+    "property": {
+      "description": "Private unprotected network identification",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private1_net_id",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
   }
   }
-]
\ No newline at end of file
+]
index ecbbf55..bec8cfb 100644 (file)
@@ -4,10 +4,7 @@
       "param-name": "service-instance-id",
       "param-value": "${service-instance-id}"
     },
       "param-name": "service-instance-id",
       "param-value": "${service-instance-id}"
     },
-    {
-      "param-name": "vnf_id",
-      "param-value": "${vnf-id}"
-    },
+
     {
       "param-name": "vnf_name",
       "param-value": "${vnf_name}"
     {
       "param-name": "vnf_name",
       "param-value": "${vnf_name}"
@@ -56,7 +53,7 @@
       "param-name": "nfc-naming-code",
       "param-value": "${nfc-naming-code}"
     },
       "param-name": "nfc-naming-code",
       "param-value": "${nfc-naming-code}"
     },
+
     {
       "param-name": "vpg_image_name",
       "param-value": "${vpg_image_name}"
     {
       "param-name": "vpg_image_name",
       "param-value": "${vpg_image_name}"
       "param-name": "vsn_int_private2_ip_0",
       "param-value": "${vsn_int_private2_ip_0}"
     },
       "param-name": "vsn_int_private2_ip_0",
       "param-value": "${vsn_int_private2_ip_0}"
     },
+    {
+      "param-name": "dcae_collector_ip",
+      "param-value": "$(dcae_collector_ip)"
+    },
+    {
+        "param-name": "dcae_collector_port",
+        "param-value": "$(dcae_collector_port)"
+    },    
     {
       "param-name": "demo_artifacts_version",
       "param-value": "${demo_artifacts_version}}"
     {
       "param-name": "demo_artifacts_version",
       "param-value": "${demo_artifacts_version}}"
        {
       "param-name": "vpg_onap_private_ip_0",
       "param-value": "${vpg_onap_private_ip_0}"
        {
       "param-name": "vpg_onap_private_ip_0",
       "param-value": "${vpg_onap_private_ip_0}"
+    },
+    {
+      "param-name": "k8s-rb-profile-name",
+      "param-value": "${k8s-rb-profile-name}"
+    },
+    {
+      "param-name": "int_private1_net_id",
+      "param-value": "${int_private1_net_id}"
     }
     }
-       
-       
   ],
   "capability-data": [
     {
   ],
   "capability-data": [
     {
         }
       ]
     },
         }
       ]
     },
-    
+
     {
       "capability-name": "aai-vf-module-put",
       "key-mapping": [
     {
       "capability-name": "aai-vf-module-put",
       "key-mapping": [
       ]
     }
   ]
       ]
     }
   ]
-}
\ No newline at end of file
+}
index 532e157..a4b7450 100644 (file)
@@ -43,7 +43,7 @@
     ],
     "version": 0
   },
     ],
     "version": 0
   },
-  
+
   {
     "name": "vf-module-name",
     "property": {
   {
     "name": "vf-module-name",
     "property": {
     ],
     "version": 0
   },
     ],
     "version": 0
   },
-  {
-    "name": "dcae_collector_ip",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      },
-      "default": "10.0.4.1"
-    },
-    "input-param": false,
-    "dictionary-name": "dcae_collector_ip",
-    "dictionary-source": "default",
-    "dependencies": [
-      "service-instance-id",
-      "vnf-id"
-    ],
-    "version": 0
-  },
-  {
-    "name": "dcae_collector_port",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      },
-      "default": "30235"
-    },
-    "input-param": false,
-    "dictionary-name": "dcae_collector_port",
-    "dictionary-source": "default",
-    "dependencies": [
-      "service-instance-id",
-      "vnf-id"
-    ],
-    "version": 0
-  },
   {
     "name": "demo_artifacts_version",
     "property": {
   {
     "name": "demo_artifacts_version",
     "property": {
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "private1-prefix-id",
     },
     "input-param": false,
     "dictionary-name": "private1-prefix-id",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "management-prefix-id",
     },
     "input-param": false,
     "dictionary-name": "management-prefix-id",
       "entry_schema": {
         "type": ""
       }
       "entry_schema": {
         "type": ""
       }
-      
+
     },
     "input-param": false,
     "dictionary-name": "private2-prefix-id",
     "dictionary-source": "processor-db",
     "dependencies": [],
     "version": 0
     },
     "input-param": false,
     "dictionary-name": "private2-prefix-id",
     "dictionary-source": "processor-db",
     "dependencies": [],
     "version": 0
+  },
+  {
+    "name": "k8s-rb-profile-name",
+    "property": {
+      "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "k8s-rb-profile-name",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private2_gw_ip",
+    "property": {
+      "description": "Private protected network gateway ip",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private2_gw_ip",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
+  },
+  {
+    "name": "int_private2_net_id",
+    "property": {
+      "description": "Private protected network identification",
+      "type": "string"
+    },
+    "input-param": false,
+    "dictionary-name": "int_private2_net_id",
+    "dictionary-source": "sdnc",
+    "dependencies": [
+      "service-instance-id",
+      "vnf-id"
+    ]
   }
   }
-]
\ No newline at end of file
+]
index c70e689..60b8ecd 100644 (file)
@@ -4,10 +4,7 @@
       "param-name": "service-instance-id",
       "param-value": "${service-instance-id}"
     },
       "param-name": "service-instance-id",
       "param-value": "${service-instance-id}"
     },
-    {
-      "param-name": "vnf_id",
-      "param-value": "${vnf-id}"
-    },
+
     {
       "param-name": "vnf_name",
       "param-value": "${vnf_name}"
     {
       "param-name": "vnf_name",
       "param-value": "${vnf_name}"
     {
       "param-name": "public_net_id",
       "param-value": "${public_net_id}"
     {
       "param-name": "public_net_id",
       "param-value": "${public_net_id}"
-    },  
+    },
+
 
 
 
 
-    
     {
       "param-name": "int_private2_net_cidr",
       "param-value": "${int_private2_net_cidr}"
     {
       "param-name": "int_private2_net_cidr",
       "param-value": "${int_private2_net_cidr}"
        {
       "param-name": "demo_artifacts_version",
       "param-value": "${demo_artifacts_version}"
        {
       "param-name": "demo_artifacts_version",
       "param-value": "${demo_artifacts_version}"
-    },   
+    },
          {
       "param-name": "install_script_version",
       "param-value": "${install_script_version}"
          {
       "param-name": "install_script_version",
       "param-value": "${install_script_version}"
-    },  
+    },
        {
       "param-name": "key_name",
       "param-value": "${vnf_name}_key_name"
        {
       "param-name": "key_name",
       "param-value": "${vnf_name}_key_name"
-    },  
+    },
         {
       "param-name": "cloud_env",
       "param-value": "openstack"
         {
       "param-name": "cloud_env",
       "param-value": "openstack"
        {
       "param-name": "nexus_artifact_repo",
       "param-value": "${nexus_artifact_repo}"
        {
       "param-name": "nexus_artifact_repo",
       "param-value": "${nexus_artifact_repo}"
+    },
+    {
+      "param-name": "k8s-rb-profile-name",
+      "param-value": "${k8s-rb-profile-name}"
+    },
+    {
+      "param-name": "int_private2_gw_ip",
+      "param-value": "${int_private2_gw_ip}"
+    },
+    {
+      "param-name": "int_private2_net_id",
+      "param-value": "${int_private2_net_id}"
     }
     }
-  
-       
-       
   ],
   "capability-data": [
     {
   ],
   "capability-data": [
     {
       ]
     }
   ]
       ]
     }
   ]
-}
\ No newline at end of file
+}
index 6319b13..429574b 100644 (file)
@@ -1,12 +1,12 @@
 apiVersion: k8s.plugin.opnfv.org/v1alpha1
 kind: Network
 metadata:
 apiVersion: k8s.plugin.opnfv.org/v1alpha1
 kind: Network
 metadata:
-  name: {{ .Values.int_private2_net_id }}
+  name: {{ .Values.onap_private_net_id }}
   labels:
   labels:
-      vnf-name: {{ .Values.vnf_name }}
+    vnf-name: {{ .Values.vnf_name }}
 spec:
   cniType : ovn4nfv
   ipv4Subnets:
 spec:
   cniType : ovn4nfv
   ipv4Subnets:
-  - name: {{ .Values.int_private2_subnet_id }}
-    subnet: {{ .Values.int_private2_net_cidr }}
-    gateway: {{ .Values.int_private2_gw_ip }}
+  - name: {{ .Values.onap_private_subnet_id }}
+    subnet: {{ .Values.onap_private_net_cidr }}
+    gateway: {{ .Values.onap_private_gw_ip }}
index c7077e2..f7dbfc4 100644 (file)
@@ -1,12 +1,12 @@
 apiVersion: k8s.plugin.opnfv.org/v1alpha1
 kind: Network
 metadata:
 apiVersion: k8s.plugin.opnfv.org/v1alpha1
 kind: Network
 metadata:
-  name: {{ .Values.int_private1_net_id }}
+  name: {{ .Values.int_private2_net_id }}
   labels:
   labels:
-      vnf-name: {{ .Values.vnf_name }}
+    vnf-name: {{ .Values.vnf_name }}
 spec:
   cniType : ovn4nfv
   ipv4Subnets:
 spec:
   cniType : ovn4nfv
   ipv4Subnets:
-  - name: {{ .Values.int_private1_subnet_id }}
-    subnet: {{ .Values.int_private1_net_cidr }}
-    gateway: {{ .Values.int_private1_gw_ip }}
+  - name: {{ .Values.int_private2_subnet_id }}
+    subnet: {{ .Values.int_private2_net_cidr }}
+    gateway: {{ .Values.int_private2_gw_ip }}
index 429574b..18a383c 100644 (file)
@@ -1,12 +1,12 @@
 apiVersion: k8s.plugin.opnfv.org/v1alpha1
 kind: Network
 metadata:
 apiVersion: k8s.plugin.opnfv.org/v1alpha1
 kind: Network
 metadata:
-  name: {{ .Values.onap_private_net_id }}
+  name: {{ .Values.int_private1_net_id }}
   labels:
     vnf-name: {{ .Values.vnf_name }}
 spec:
   cniType : ovn4nfv
   ipv4Subnets:
   labels:
     vnf-name: {{ .Values.vnf_name }}
 spec:
   cniType : ovn4nfv
   ipv4Subnets:
-  - name: {{ .Values.onap_private_subnet_id }}
-    subnet: {{ .Values.onap_private_net_cidr }}
-    gateway: {{ .Values.onap_private_gw_ip }}
+  - name: {{ .Values.int_private1_subnet_id }}
+    subnet: {{ .Values.int_private1_net_cidr }}
+    gateway: {{ .Values.int_private1_gw_ip }}
index 406d6a3..9a371fc 100644 (file)
@@ -1,4 +1,4 @@
-# OPENSTACK PARAMETERS
+# Kubernetes PARAMETERS
 #unprotected
 int_private1_net_cidr: 192.168.10.0/24
 int_private1_gw_ip: 192.168.10.1/24 #No typo here
 #unprotected
 int_private1_net_cidr: 192.168.10.0/24
 int_private1_gw_ip: 192.168.10.1/24 #No typo here
index 873842f..c97ec60 100644 (file)
@@ -1,19 +1,19 @@
 # global:
 # global:
-# 
+#
 #   #Networks
 #   unprotectedNetworkName: unprotected-private-net
 #   protectedPrivateNetCidr: 192.168.10.0/24
 #   protectedPrivateNetGw: 192.168.10.1/24
 #   #Networks
 #   unprotectedNetworkName: unprotected-private-net
 #   protectedPrivateNetCidr: 192.168.10.0/24
 #   protectedPrivateNetGw: 192.168.10.1/24
-# 
+#
 #   onapPrivateNetworkName: onap-private-net
 #   onapPrivateNetCidr: 10.10.0.0/16
 #   onapPrivateNetGw: 10.10.0.1/16
 #   onapPrivateNetworkName: onap-private-net
 #   onapPrivateNetCidr: 10.10.0.0/16
 #   onapPrivateNetGw: 10.10.0.1/16
-# 
+#
 #   protectedNetworkName: protected-private-net
 #   protectedNetCidr: 192.168.20.0/24
 #   protectedNetGwIp: 192.168.20.100
 #   protectedNetGw: 192.168.20.100/24
 #   protectedNetworkName: protected-private-net
 #   protectedNetCidr: 192.168.20.0/24
 #   protectedNetGwIp: 192.168.20.100
 #   protectedNetGw: 192.168.20.100/24
-# 
+#
 #   #vFirewall container
 #   vfwPrivateIp0: 192.168.10.3
 #   vfwPrivateIp1: 192.168.20.2
 #   #vFirewall container
 #   vfwPrivateIp0: 192.168.10.3
 #   vfwPrivateIp1: 192.168.20.2
@@ -35,7 +35,7 @@ resources:
   limits:
     memory: 4Gi
 
   limits:
     memory: 4Gi
 
-# OPENSTACK PARAMETERS
+# Kubernetes PARAMETERS
 # Names
 vnf_name: test-vnf
 vfw_name_0: test-vnf-vfw
 # Names
 vnf_name: test-vnf
 vfw_name_0: test-vnf-vfw
@@ -47,8 +47,8 @@ vfw_int_private1_ip_0: 192.168.10.3
 vfw_int_private2_ip_0: 192.168.20.2
 vfw_onap_private_ip_0: 10.10.100.3
 # Env variables
 vfw_int_private2_ip_0: 192.168.20.2
 vfw_onap_private_ip_0: 10.10.100.3
 # Env variables
+int_private2_net_cidr: 192.168.20.0/24
+vsn_int_private2_ip_0: 192.168.20.3
 dcae_collector_port: 8080
 dcae_collector_ip: 10.0.4.1 #Placeholder
 demo_artifacts_version: 1.5.0
 dcae_collector_port: 8080
 dcae_collector_ip: 10.0.4.1 #Placeholder
 demo_artifacts_version: 1.5.0
-int_private2_net_cidr: 192.168.20.0/24
-vsn_int_private2_ip_0: 192.168.20.3
index a6dc4e1..20f0026 100644 (file)
@@ -14,10 +14,10 @@ service:
     port: 2831
     nodePort: 30831
 
     port: 2831
     nodePort: 30831
 
-# OPENSTACK PARAMETERS
+# Kubernetes PARAMETERS
 # Names
 vpg_name_0: test-vnf-vpg
 # Names
 vpg_name_0: test-vnf-vpg
-vnf_name: test-vnf 
+vnf_name: test-vnf
 int_private1_net_id: unprotected-net
 onap_private_net_id: onap-private-net
 # Own Addresses
 int_private1_net_id: unprotected-net
 onap_private_net_id: onap-private-net
 # Own Addresses
index 978323a..d82ede4 100644 (file)
@@ -21,7 +21,7 @@ service:
 
 # Static Defaults
 #
 
 # Static Defaults
 #
-# OPENSTACK PARAMETERS
+# Kubernetes PARAMETERS
 # Names
 vnf_name: test-vnf
 vsn_name_0: test-vnf-vsn
 # Names
 vnf_name: test-vnf
 vsn_name_0: test-vnf-vsn