<xsd:element name="interface_state" substitutionGroup="oval-def:state">
<xsd:annotation>
<xsd:documentation>The interface_state element enumerates the different properties associate with a Windows interface. Please refer to the individual elements in the schema for more details about what each represents.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-def:StateType">
<xsd:sequence>
<xsd:element name="name" type="oval-def:EntityStateStringType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The name element specifies the name of an interface.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfacestename" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-def:interface_state/win-def:name">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the name entity of an interface_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="index" type="oval-def:EntityStateIntType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The index element specifies index that identifies the interface.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfacesteindex" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-def:interface_state/win-def:index">
<sch:assert test="@datatype='int'">
<sch:value-of select="../@id" /> - datatype attribute for the index entity of an interface_state should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="type" type="win-def:EntityStateInterfaceTypeType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The type element specifies the type of interface which is limited to certain set of values.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfacestetype" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-def:interface_state/win-def:type">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the type entity of an interface_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="hardware_addr" type="oval-def:EntityStateStringType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The hardware_addr element specifies the the physical address of the adapter for this interface.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfacestehardware_addr" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-def:interface_state/win-def:hardware_addr">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the hardware_addr entity of an interface_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="inet_addr" type="oval-def:EntityStateStringType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The inet_addr element specifies the IP address.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfacesteinet_addr" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-def:interface_state/win-def:inet_addr">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the inet_addr entity of an interface_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="broadcast_addr" type="oval-def:EntityStateStringType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The broadcast_addr element specifies the broadcast address. A broadcast address is typically the IP address with the host portion set to either all zeros or all ones.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfacestebroadcast_addr" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-def:interface_state/win-def:broadcast_addr">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the broadcast_addr entity of an interface_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="netmask" type="oval-def:EntityStateStringType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The netmask element specifies the subnet mask for the IP address.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfacestenetmask" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-def:interface_state/win-def:netmask">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the netmask entity of an interface_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="addr_type" type="win-def:EntityStateAddrTypeType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The addr_type element specifies the address type or state of a specific interface. Each interface can be associated with more than one value meaning the addr_type element can occur multiple times in a system characteristic item. Note that the entity_check attribute associated with EntityStateAddrTypeType guides the evaluation of unbounded entities like addr_type.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="wininterfacesteaddr_type" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-def:interface_state/win-def:addr_type">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the addr_type entity of an interface_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
|