diff options
author | Lovett, Trevor <trevor.lovett@att.com> | 2019-10-07 16:06:17 -0500 |
---|---|---|
committer | Lovett, Trevor (tl2972) <tl2972@att.com> | 2019-10-07 16:12:35 -0500 |
commit | d78c645df31a19567667d3e6d3acdf0474f39bf1 (patch) | |
tree | b048fa852adb672cde6ddcd44922698bf6ae6325 /ice_validator/tests/structures.py | |
parent | c238e85627eb8f34e030e043df8d2dc7e85e68f7 (diff) |
[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) <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/tests/structures.py')
-rw-r--r-- | ice_validator/tests/structures.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -606,6 +606,10 @@ class Heat(object): 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. """ |