update vlb cds instantiation and scale out package
[ccsdk/cds.git] / components / model-catalog / blueprint-model / service-blueprint / vLB / Templates / base_template-mapping.json
index 43b0f9d..62f043d 100644 (file)
-[
-  {
-    "name": "service-instance-id",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "service-instance-id",
-    "dictionary-source": "input",
-    "dependencies": [],
-    "version": 0
-  },
-    {
-    "name": "vf-module-name",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      },
-      "default": "${vf-module-name}"
-    },
-    "input-param": false,
-    "dictionary-name": "vf-module-name",
-    "dictionary-source": "default",
-    "dependencies": [],
-    "version": 0
-  },
-  {
-    "name": "vf-module-label",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "vf-module-label",
-    "dictionary-source": "processor-db",
-    "dependencies": [
-      "vf-module-model-customization-uuid"
-    ],
-    "version": 0
-  },
-  {
-    "name": "vf-naming-policy",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-         },
-    "input-param": false,
-    "dictionary-name": "vf-naming-policy",
-    "dictionary-source": "sdnc",
-    "dependencies": [
-         "service-instance-id",
-      "vnf-id"
-       ],
-    "version": 0
-  },
-  {
-    "name": "vf-module-type",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "vf-module-type",
-    "dictionary-source": "processor-db",
-    "dependencies": [
-      "vf-module-model-customization-uuid"
-    ],
-    "version": 0
-  },
-  {
-    "name": "vf-module-model-customization-uuid",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "vf-module-model-customization-uuid",
-    "dictionary-source": "input",
-    "dependencies": [],
-    "version": 0
-  },
-  {
-    "name": "vnf-id",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "vnf-id",
-    "dictionary-source": "input",
-    "dependencies": [],
-    "version": 0
-  },
-  {
-    "name": "vf-module-id",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "vf-module-id",
-    "dictionary-source": "input",
-    "dependencies": [],
-    "version": 0
-  },
-  {
-    "name": "vnf-model-customization-uuid",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "vnf-model-customization-uuid",
-    "dictionary-source": "input",
-    "dependencies": [],
-    "version": 0
-  },
-  {
-    "name": "aic-cloud-region",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "aic-cloud-region",
-    "dictionary-source": "input",
-    "dependencies": [],
-    "version": 0
-  },
-  {
-    "name": "vlb_private_net_cidr",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "vlb_private_net_cidr",
-    "dictionary-source": "sdnc",
-    "dependencies": [
-      "service-instance-id",
-      "vnf-id"
-    ],
-    "version": 0
-  },
-  {
-    "name": "pktgen_private_net_cidr",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "pktgen_private_net_cidr",
-    "dictionary-source": "sdnc",
-    "dependencies": [
-      "service-instance-id",
-      "vnf-id"
-    ],
-    "version": 0
-  },
-  {
-    "name": "vnf_name",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "vnf_name",
-    "dictionary-source": "sdnc",
-    "dependencies": [
-      "service-instance-id",
-      "vnf-id"
-    ],
-    "version": 0
-  },
-  {
-    "name": "pub_key",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "pub_key",
-    "dictionary-source": "sdnc",
-    "dependencies": [
-      "service-instance-id",
-      "vnf-id"
-    ],
-    "version": 0
-  },
-   {
-    "name": "int_pktgen_private_subnet_id",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      },
-      "default": "${int_pktgen_private_subnet_id}"
-    },
-    "input-param": false,
-    "dictionary-name": "int_pktgen_private_subnet_id",
-    "dictionary-source": "default",
-    "dependencies": [],
-    "version": 0
-  },  
-  {
-    "name": "int_private_subnet_id",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      },
-      "default": "${int_private_subnet_id}"
-    },
-    "input-param": false,
-    "dictionary-name": "int_private_subnet_id",
-    "dictionary-source": "default",
-    "dependencies": [],
-    "version": 0
-  },
-   {
-    "name": "int_private_net_id",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      },
-      "default": "${int_private_net_id}"
-    },
-    "input-param": false,
-    "dictionary-name": "int_private_net_id",
-    "dictionary-source": "default",
-    "dependencies": [],
-    "version": 0
-  },
-  {
-    "name": "int_pktgen_private_net_id",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      },
-      "default": "${int_pktgen_private_net_id}"
-    },
-    "input-param": false,
-    "dictionary-name": "int_pktgen_private_net_id",
-    "dictionary-source": "default",
-    "dependencies": [],
-    "version": 0
-  },
-    {
-    "name": "key_name",
-    "property": {
-      "description": "",
-      "required": false,
-      "type": "string",
-      "status": "",
-      "constraints": [
-        {}
-      ],
-      "entry_schema": {
-        "type": ""
-      }
-    },
-    "input-param": false,
-    "dictionary-name": "key_name",
-    "dictionary-source": "sdnc",
-    "dependencies": [
-      "service-instance-id",
-      "vnf-id"
-    ],
-    "version": 0
-  }
+[{
+               "name": "service-instance-id",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "service-instance-id",
+               "dictionary-source": "input",
+               "dependencies": [],
+               "version": 0
+       },
+               {
+               "name": "vf-module-assign",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       },
+                       "metadata": {
+                               "transform-template": "${vf-module-assign}_${vnf_name}_${service-instance-id}"
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vf-module-assign",
+               "dictionary-source": "aai-data",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id",
+                       "vf-module-name"
+               ],
+               "version": 0
+       },
+       {
+               "name": "int_pktgen_private_net_id",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "int_pktgen_private_net_id",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id",
+                       "vnf_name"
+               ],
+               "version": 0
+       },
+       {
+               "name": "int_pktgen_private_subnet_id",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "int_pktgen_private_subnet_id",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id",
+                       "vnf_name"
+               ],
+               "version": 0
+       },
+       {
+               "name": "int_private_net_id",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "int_private_net_id",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id",
+                       "vnf_name"
+               ],
+               "version": 0
+       },
+       {
+               "name": "int_private_subnet_id",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "int_private_subnet_id",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id",
+                       "vnf_name"
+               ],
+               "version": 0
+       },
+       {
+               "name": "vf-module-name",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vf-module-name",
+               "dictionary-source": "rest",
+               "dependencies": ["vnf_name", "vf-module-label", "vf-module-type", "vf-naming-policy", "vf-module-id"],
+               "version": 0
+       },
+       {
+               "name": "vlb_private_net_id",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       },
+                       "default": "private1"
+               },
+               "input-param": false,
+               "dictionary-name": "vlb_private_net_id",
+               "dictionary-source": "default",
+               "dependencies": [],
+               "version": 0
+       },
+       {
+               "name": "pktgen_private_net_id",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       },
+                       "default": "private2"
+               },
+               "input-param": false,
+               "dictionary-name": "pktgen_private_net_id",
+               "dictionary-source": "default",
+               "dependencies": [],
+               "version": 0
+       },
+       {
+               "name": "vf-module-label",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vf-module-label",
+               "dictionary-source": "processor-db",
+               "dependencies": [
+                       "vf-module-model-customization-uuid"
+               ],
+               "version": 0
+       },
+       {
+               "name": "vf-naming-policy",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vf-naming-policy",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id"
+               ],
+               "version": 0
+       },
+       {
+               "name": "vf-module-type",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vf-module-type",
+               "dictionary-source": "processor-db",
+               "dependencies": [
+                       "vf-module-model-customization-uuid"
+               ],
+               "version": 0
+       },
+       {
+               "name": "vf-module-model-customization-uuid",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vf-module-model-customization-uuid",
+               "dictionary-source": "input",
+               "dependencies": [],
+               "version": 0
+       },
+       {
+               "name": "vnf-id",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vnf-id",
+               "dictionary-source": "input",
+               "dependencies": [],
+               "version": 0
+       },
+       {
+               "name": "vf-module-id",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vf-module-id",
+               "dictionary-source": "input",
+               "dependencies": [],
+               "version": 0
+       },
+       {
+               "name": "vnf-model-customization-uuid",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vnf-model-customization-uuid",
+               "dictionary-source": "input",
+               "dependencies": [],
+               "version": 0
+       },
+       {
+               "name": "aic-cloud-region",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "aic-cloud-region",
+               "dictionary-source": "input",
+               "dependencies": [],
+               "version": 0
+       },
+       {
+               "name": "vlb_private_net_cidr",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vlb_private_net_cidr",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id"
+               ],
+               "version": 0
+       },
+       {
+               "name": "pktgen_private_net_cidr",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "pktgen_private_net_cidr",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id"
+               ],
+               "version": 0
+       },
+       {
+               "name": "vnf_name",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vnf_name",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id"
+               ],
+               "version": 0
+       },
+       {
+               "name": "pub_key",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "pub_key",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id"
+               ],
+               "version": 0
+       },
+       {
+               "name": "vlb_0_int_pktgen_private_port_0_mac",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vlb_0_int_pktgen_private_port_0_mac",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id"
+               ],
+               "version": 0
+       },
+       {
+               "name": "vpg_0_int_pktgen_private_port_0_mac",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "vpg_0_int_pktgen_private_port_0_mac",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id"
+               ],
+               "version": 0
+       },
+       {
+               "name": "key_name",
+               "property": {
+                       "description": "",
+                       "required": false,
+                       "type": "string",
+                       "status": "",
+                       "constraints": [{}],
+                       "entry_schema": {
+                               "type": ""
+                       }
+               },
+               "input-param": false,
+               "dictionary-name": "key_name",
+               "dictionary-source": "sdnc",
+               "dependencies": [
+                       "service-instance-id",
+                       "vnf-id"
+               ],
+               "version": 0
+       }
 ]
\ No newline at end of file