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) --- ice_validator/tests/structures.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ice_validator/tests/structures.py') diff --git a/ice_validator/tests/structures.py b/ice_validator/tests/structures.py index a435246..887917c 100644 --- a/ice_validator/tests/structures.py +++ b/ice_validator/tests/structures.py @@ -605,6 +605,10 @@ class Heat(object): self.load_env(envpath) self.heat_processors = self.get_heat_processors() + @property + def is_heat(self): + return "heat_template_version" in self.yml + @property def contrail_resources(self): """This attribute is a dict of Contrail resources. -- cgit 1.2.3-korg