diff options
author | Eric Multanen <eric.w.multanen@intel.com> | 2019-08-21 21:48:53 -0700 |
---|---|---|
committer | Eric Multanen <eric.w.multanen@intel.com> | 2019-08-21 21:58:07 -0700 |
commit | 176ebda78ba373ce4419e1baa9c83c6e5907960b (patch) | |
tree | 7437715f9a98877c6bfd0863864c184debe02555 | |
parent | 6f111a4c24ecd42c874d349081efbbd8376ab715 (diff) |
Add generic neutron network parameters
Add the generic neutron network heat template parameters
to the catalogdb. This will allow providing a name to
networks different than the default network
Change-Id: I22adea6eed11eeea7d99c9f3d753b6cf77088d6a
Issue-ID: SO-2083
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
-rw-r--r-- | adapters/mso-catalog-db-adapter/src/main/resources/db/migration/V5.5.1__Correct_Default_NeutronNetwork.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/V5.5.1__Correct_Default_NeutronNetwork.sql b/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/V5.5.1__Correct_Default_NeutronNetwork.sql index 5d940fb9ea..8e52fbeeaf 100644 --- a/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/V5.5.1__Correct_Default_NeutronNetwork.sql +++ b/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/V5.5.1__Correct_Default_NeutronNetwork.sql @@ -30,3 +30,8 @@ resources: INSERT INTO `temp_network_heat_template_lookup` (`NETWORK_RESOURCE_MODEL_NAME`, `HEAT_TEMPLATE_ARTIFACT_UUID`,`AIC_VERSION_MIN` , `AIC_VERSION_MAX` ) VALUES ('Generic NeutronNet','efee1d84-b8ec-11e7-abc4-cec278b6b50a','2.0','3.0'); +INSERT INTO `heat_template_params` (`HEAT_TEMPLATE_ARTIFACT_UUID`, `PARAM_NAME`, `IS_REQUIRED`, `PARAM_TYPE`, `PARAM_ALIAS`) +VALUES ('efee1d84-b8ec-11e7-abc4-cec278b6b50a', 'network_name', 0, 'String', NULL); + +INSERT INTO `heat_template_params` (`HEAT_TEMPLATE_ARTIFACT_UUID`, `PARAM_NAME`, `IS_REQUIRED`, `PARAM_TYPE`, `PARAM_ALIAS`) +VALUES ('efee1d84-b8ec-11e7-abc4-cec278b6b50a', 'shared', 0, 'Boolean', NULL); |