returnf"Network interface '{iface_name}' doesn't belong to any security group."
elifsg_name:
ifsg_name:
returnf"Security group '{sg_name}' is not associated with any network interface."
else:
return"A network interface doesn't belong to any security group, or a security group is not associated with any network interface."
...
...
@@ -431,7 +428,7 @@ RequirementLists = {
(all_SoftwareComponents_deployed,"all_SoftwareComponents_deployed","All software components have been deployed to some node.",ed_all_SoftwareComponents_deployed),
(all_infrastructure_elements_deployed,"all_infrastructure_elements_deployed","All abstract infrastructure elements are mapped to an element in the active concretization.",ed_all_infrastructure_elements_deployed),
(all_concrete_map_something,"all_concrete_map_something","All elements in the active concretization are mapped to some abstract infrastructure element.",ed_all_concrete_map_something),
(iface_must_have_security_group,"iface_must_have_security_group","All interfaces should have a security group.",ed_iface_must_have_security_group),
(security_group_must_have_iface,"security_group_must_have_iface","All security group should be a associated to a network interface",ed_security_group_must_have_iface),
(external_services_must_have_https,"external_services_must_have_https","All external SaaS should be accessed through HTTPS.",ed_external_services_must_have_https)