Issue-ID: AAI-1453
Add properties network-ref, transparent, operational-status
Make these network-ref and operational-status indexed
Change-Id: I047ecda31e08573adb1ef32ecd82b8e80e70d37a
Signed-off-by: Keong Lim <keong.lim@huawei.com>
<xs:complexType>
<xs:annotation>
<xs:appinfo>
<xs:complexType>
<xs:annotation>
<xs:appinfo>
- <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Physical interface (e.g., nic)",indexedProps="interface-name,prov-status",nameProps="prov-status",dependentOn="vpls-pe,pserver,pnf",container="p-interfaces")</annox:annotate>
+ <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Physical interface (e.g., nic)",indexedProps="interface-name,prov-status,networkRef,operational-status",nameProps="prov-status",dependentOn="vpls-pe,pserver,pnf",container="p-interfaces")</annox:annotate>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:appinfo>
</xs:annotation>
</xs:element>
+ <xs:element name="network-ref" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:appinfo>
+ <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Store the network-ref of this p-interface. Derived from ietf-restconf-notification that identifies a termination-point.")</annox:annotate>
+ </xs:appinfo>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="transparent" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:appinfo>
+ <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Store the transparent value of this p-interface.")</annox:annotate>
+ </xs:appinfo>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="operational-status" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:appinfo>
+ <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="oper Status of this p-interface.")</annox:annotate>
+ </xs:appinfo>
+ </xs:annotation>
+ </xs:element>
<xs:element ref="tns:relationship-list" minOccurs="0"/>
<xs:element ref="tns:sriov-pfs" minOccurs="0"/>
<xs:element ref="tns:l-interfaces" minOccurs="0"/>
<xs:element ref="tns:relationship-list" minOccurs="0"/>
<xs:element ref="tns:sriov-pfs" minOccurs="0"/>
<xs:element ref="tns:l-interfaces" minOccurs="0"/>
"default": "true",
"description":""
}
"default": "true",
"description":""
}
<xml-property name="description" value="inventory status" />
</xml-properties>
</xml-element>
<xml-property name="description" value="inventory status" />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="networkRef" name="network-ref" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Store the network-ref of this p-interface. Derived from ietf-restconf-notification that identifies a termination-point." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="transparent" name="transparent" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Store the transparent value of this p-interface." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="oper Status of this p-interface." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v14.RelationshipList" />
<xml-element java-attribute="sriovPfs" name="sriov-pfs" type="inventory.aai.onap.org.v14.SriovPfs" />
<xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v14.LInterfaces" />
</java-attributes>
<xml-properties>
<xml-property name="description" value="Physical interface (e.g., nic)" />
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v14.RelationshipList" />
<xml-element java-attribute="sriovPfs" name="sriov-pfs" type="inventory.aai.onap.org.v14.SriovPfs" />
<xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v14.LInterfaces" />
</java-attributes>
<xml-properties>
<xml-property name="description" value="Physical interface (e.g., nic)" />
- <xml-property name="indexedProps" value="interface-name,prov-status" />
+ <xml-property name="indexedProps" value="interface-name,prov-status,networkRef,operational-status" />
<xml-property name="nameProps" value="prov-status" />
<xml-property name="dependentOn" value="vpls-pe,pserver,pnf" />
<xml-property name="container" value="p-interfaces" />
<xml-property name="nameProps" value="prov-status" />
<xml-property name="dependentOn" value="vpls-pe,pserver,pnf" />
<xml-property name="container" value="p-interfaces" />