Instantiation Rules

POMBA audit reports are generated based on the rules that applied in the rules engine generating the violations. The following is an initial capture of rules


RuleData SourcesAttributesDescriptionCategorySeverityStoryRelease
1Attribute ComparisonA&AI, SDN-C, Network DiscoveryAll

This rule compares all attributes by the same name from different Context Builders and returns a violation if the fields do no match. This includes the case where the name is present by the value is null in one of the cases.  It does not produce a violation if one of the Context Builders is missing an attribute.

Note in Casablanca, this will be implemented in a non-generic way, and made more generic as a future work item

Attribute MismatchERROR

Casablanca
2vnfc-type
  • aai-instance
  • tosca-csar (SDC)

Validate that each VNFC instance in AAI conforms VNFC type defined in SDC modelVNFC ConsistencyERROR

Casablanca
3vnfc-count
  • aai-instance
  • tosca-csar (SDC)

Validate that for each VNFC node defined in SDC model there is at least one VNFC instance in AAIVNFC ConsistencyWARN

Casablanca
4vf-module-type
  • aai-instance
  •  tosca-csar (SDC)

Validate that each VF module instance in AAI conforms VF Module defined in SDC service modelVF ConsistencyCRITICAL

Casablanca
5nfc-naming-code
  • aai-instance
nfc-naming-codeValidate that nfc-naming-code exists and is populated in AAI VNFC instanceExpected Field PopulatedCRITICAL

Casablanca
6data-dictionary-valid-value
  • data dictionary
All (assuming we can tell if not defined in dictionary)Validates for a particular field that its value aligns to what is in the data dictionaryInvalid ValueERROR


7vserver-vfmodule
  • aai-instance

If vfModule is present, I expect vserver/VMs to be present within this structure.

Coming soon to release near youFuture
8dataQuality*
When there is a problem with the data provided to the validation engine (data missing due to system issues, etc), this rule shall raise violations. Longer term the plan is to report this in a separate dataQuality field.  Attributes only

Casablanca, not done as a rule

Future
9nf-roleaai-instancenf-roleEnsure nf-role was populated in VNF


Future
10SDNC
  • sdnc-instance
  • network discover
  • aai-instance

Compare SDNC reported data against same fields in other data sources

Dublin
11data dictionary

Validate attributes of resources contain valid values, when present in data dictionary and data source



Note that Attribute Comparison in particular needs to check against the following, but should check everything it can

Deletion Rules

In the future, we will add additional rules to be able to audit that a service has been completely deleted.  POMBA will likely require an input parameter on the audit initiation request to indicate whether someone wishes to run the instantiation rule set or the deletion rule sets.

Adding New Rules

The rules that POMBA runs are extensible and anyone can add new rules. Note this is in code currently,  but can be done outside of the development cycle and manually applied if desired.  Ideas for rules probably fall into two categories