From d78c645df31a19567667d3e6d3acdf0474f39bf1 Mon Sep 17 00:00:00 2001 From: "Lovett, Trevor" Date: Mon, 7 Oct 2019 16:06:17 -0500 Subject: [VVP] Enforce R-35666 by ensuring a network exists for int_ parameters Implements a basic sanity check that if parameters match the internal network naming convention, then we ensure the network itself was defined in a heat template. Change-Id: I37c84e2c62745a51a90dd60f0aaeb213d784f003 Issue-ID: VVP-327 Signed-off-by: Lovett, Trevor (tl2972) --- .../contrail/invalid_contrail_network_name.yaml | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ice_validator/tests/fixtures/test_network_format/fail/contrail/invalid_contrail_network_name.yaml (limited to 'ice_validator/tests/fixtures/test_network_format/fail/contrail/invalid_contrail_network_name.yaml') diff --git a/ice_validator/tests/fixtures/test_network_format/fail/contrail/invalid_contrail_network_name.yaml b/ice_validator/tests/fixtures/test_network_format/fail/contrail/invalid_contrail_network_name.yaml new file mode 100644 index 0000000..d89564b --- /dev/null +++ b/ice_validator/tests/fixtures/test_network_format/fail/contrail/invalid_contrail_network_name.yaml @@ -0,0 +1,42 @@ +# -*- coding: utf8 -*- +# ============LICENSE_START======================================================= +# org.onap.vvp/validation-scripts +# =================================================================== +# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# =================================================================== +# +# Unless otherwise specified, all software contained herein is licensed +# under the Apache License, Version 2.0 (the "License"); +# you may not use this software except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# +# +# Unless otherwise specified, all documentation contained herein is licensed +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); +# you may not use this documentation except in compliance with the License. +# You may obtain a copy of the License at +# +# https://creativecommons.org/licenses/by/4.0/ +# +# Unless required by applicable law or agreed to in writing, documentation +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ============LICENSE_END============================================ +# +# +--- +resources: + int_oam_netork: + type: OS::ContrailV2::VirtualNetwork -- cgit 1.2.3-korg