...
- each node from edgerules has to be present in OXM
- ?
OXM Containment to TREE EdgeRules
In the OXM schema definition, the containment relationship looks like the example below, which describes:
- "PNF contains VRFs"
- "VRFs is an array of VRF"
- "VRF depends on PNF"
Code Block |
---|
<java-type name="Pnf">
<xml-root-element name="pnf"/>
<java-attributes>
...
<xml-element java-attribute="vrfs" name="vrfs" type="inventory.aai.onap.org.v16.Vrfs"/>
</java-attributes>
...
</java-type>
<java-type name="Vrfs">
<xml-root-element name="vrfs"/>
<java-attributes>
<xml-element container-type="java.util.ArrayList" java-attribute="vrf" name="vrf" type="inventory.aai.onap.org.v16.Vrf"/>
</java-attributes>
<xml-properties>
</xml-properties>
</java-type>
<java-type name="Vrf">
<xml-root-element name="vrf"/>
...
<xml-properties>
...
<xml-property name="dependentOn" value="pnf"/>
...
</xml-properties>
</java-type>
|
These OXM containments must be matched by TREE EdgeRules.
tbc