Definition Type: Element
Name: module_state
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5#catos
Type: oval-def:StateType
Containing Schema: catos-definitions-schema.xsd
Abstract
Documentation:
The module_state element defines the module information held within a Cisco Catalyst switch. The module_number, type, and model element specifies the number, type and model of the module respectively. The software_major_release, software_individual_release and software_version_id elements specify the software version information of the module. For instance, if the software version is 8.5(4c)GLX, then software_major_release is 8.5GLX, software_individual_release is 4 and software_version_id is c. Similarly, the hardware_major_release, hardware_individual_release, firmware_major_release and firmware_individual_release elements reveal the hardware and firmware version information of the module.
Collapse XSD Schema Diagram:
Drilldown into firmware_individual_release in schema catos-definitions-schema_xsd Drilldown into firmware_major_release in schema catos-definitions-schema_xsd Drilldown into hardware_individual_release in schema catos-definitions-schema_xsd Drilldown into hardware_major_release in schema catos-definitions-schema_xsd Drilldown into software_version_id in schema catos-definitions-schema_xsd Drilldown into software_individual_release in schema catos-definitions-schema_xsd Drilldown into software_major_release in schema catos-definitions-schema_xsd Drilldown into model in schema catos-definitions-schema_xsd Drilldown into type in schema catos-definitions-schema_xsd Drilldown into module_number in schema catos-definitions-schema_xsd Drilldown into notes in schema oval-definitions-schema_xsd Drilldown into Signature in schema xmldsig-core-schema_xsd Drilldown into deprecated in schema oval-definitions-schema_xsd Drilldown into comment in schema oval-definitions-schema_xsd Drilldown into operator in schema oval-definitions-schema_xsd Drilldown into version in schema oval-definitions-schema_xsd Drilldown into id in schema oval-definitions-schema_xsd Drilldown into StateType in schema oval-definitions-schema_xsdXSD Diagram of module_state in schema catos-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="module_state" substitutionGroup="oval-def:state">
    <xsd:annotation>
        <xsd:documentation>The module_state element defines the module information held within a Cisco Catalyst switch. The module_number, type, and model element specifies the number, type and model of the module respectively. The software_major_release, software_individual_release and software_version_id elements specify the software version information of the module. For instance, if the software version is 8.5(4c)GLX, then software_major_release is 8.5GLX, software_individual_release is 4 and software_version_id is c. Similarly, the hardware_major_release, hardware_individual_release, firmware_major_release and firmware_individual_release elements reveal the hardware and firmware version information of the module.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-def:StateType">
                <xsd:sequence>
                    <xsd:element name="module_number" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>A number that identifies the a specific module.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosmodulestemodule_number" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:module_state/catos-def:module_number">
                                        <sch:assert test="@datatype='int'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the module_number entity of a module_state should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="type" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The type of module.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosmodulestetype" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:module_state/catos-def:type">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the type entity of a module_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="model" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The model of a module.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosmodulestemodel" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:module_state/catos-def:model">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the model entity of a module_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="software_major_release" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The major relase of the software of a module to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosmodulestesoftware_major_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:module_state/catos-def:software_major_release">
                                        <sch:assert test="@datatype='version'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the software_major_release entity of a module_state should be 'version'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="software_individual_release" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The individual release of the software of the module to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosmodulestesoftware_individual_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:module_state/catos-def:software_individual_release">
                                        <sch:assert test="@datatype='int'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the software_individual_release entity of a module_state should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="software_version_id" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The vesion id of the software of a module to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosmodulestesoftware_version_id" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:module_state/catos-def:software_version_id">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the software_version_id entity of a module_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="hardware_major_release" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The hardware major release of a module to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosmodulestehardware_major_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:module_state/catos-def:hardware_major_release">
                                        <sch:assert test="@datatype='version'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the hardware_major_release entity of a module_state should be 'version'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="hardware_individual_release" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The hardware individual release of a module to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosmodulestehardware_individual_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:module_state/catos-def:hardware_individual_release">
                                        <sch:assert test="@datatype='int'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the hardware_individual_release entity of a module_state should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="firmware_major_release" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The major release of the firmware of a module to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosmodulestefirmware_major_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:module_state/catos-def:firmware_major_release">
                                        <sch:assert test="@datatype='version'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the firmware_major_release entity of a module_state should be 'version'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="firmware_individual_release" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The individual release of the firmware of a module to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosmodulestefirmware_individual_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:module_state/catos-def:firmware_individual_release">
                                        <sch:assert test="@datatype='int'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the firmware_individual_release entity of a module_state should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Signature ds:Signature 0 1
notes oval-def:notes 0 1
module_number catos-def:module_number 0 1
type catos-def:type 0 1
model catos-def:model 0 1
software_major_release catos-def:software_major_release 0 1
software_individual_release catos-def:software_individual_release 0 1
software_version_id catos-def:software_version_id 0 1
hardware_major_release catos-def:hardware_major_release 0 1
hardware_individual_release catos-def:hardware_individual_release 0 1
firmware_major_release catos-def:firmware_major_release 0 1
firmware_individual_release catos-def:firmware_individual_release 0 1
Collapse Child Attributes:
Name Type Default Value Use
id oval-def:id Required
version oval-def:version Required
operator oval-def:operator AND Optional
comment oval-def:comment Optional
deprecated oval-def:deprecated false Optional
Collapse Derivation Tree:
Collapse References:
oval-def:state