diff options
author | Björn Gustavsson <[email protected]> | 2010-09-02 15:44:33 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2011-05-10 09:13:23 +0200 |
commit | 824a6db3ff111f8d2427ac5adad0362bf078630a (patch) | |
tree | f146685c27e4c8f91b07f76d3e1e3510553e2e88 /lib/xmerl/test/xmerl_xsd_SUITE_data/sis | |
parent | 1a5796cd12061ebb21e7e51a0b7bdf05ed4786a7 (diff) | |
download | otp-824a6db3ff111f8d2427ac5adad0362bf078630a.tar.gz otp-824a6db3ff111f8d2427ac5adad0362bf078630a.tar.bz2 otp-824a6db3ff111f8d2427ac5adad0362bf078630a.zip |
Add test suite for xmerl
Diffstat (limited to 'lib/xmerl/test/xmerl_xsd_SUITE_data/sis')
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IntegratedSite.xsd | 5238 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IsTypes.xsd | 42 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/MainSwitch_1.xsd | 1496 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/MyBsModel_1.xsd | 502 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/bs_mim.xml | 1187 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/dummy_action_mim.xml | 186 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/hwm_mim.xml | 631 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/instance.xml | 240 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/mim.xsd | 486 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/mim2.xsd | 506 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/nc.xsd | 14 | ||||
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/swm_mim.xml | 881 |
12 files changed, 11409 insertions, 0 deletions
diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IntegratedSite.xsd b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IntegratedSite.xsd new file mode 100644 index 0000000000..e211b313c2 --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IntegratedSite.xsd @@ -0,0 +1,5238 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ericsson.com/is/isco/IntegratedSite" xmlns="http://www.ericsson.com/is/isco/IntegratedSite" xmlns:nc="http://www.ericsson.com/is/isco/nc" xmlns:IsTypes="http://www.ericsson.com/is/isco/IsTypes" xmlns:MainSwitch="http://www.ericsson.com/is/isco/MainSwitch_1" xmlns:MyBsModel="http://www.ericsson.com/is/isco/MyBsModel_1"> + <xsd:annotation> + <xsd:appinfo> + <mim file="bs_mim.xml" version=""/> + <mim file="cpd_mim.xml" version=""/> + <mim file="hwm_mim.xml" version=""/> + <mim file="swm_mim.xml" version=""/> + <mim file="top_mim.xml" version=""/> + </xsd:appinfo> + </xsd:annotation> + <xsd:import schemaLocation="nc.xsd" namespace="http://www.ericsson.com/is/isco/nc"/> + <xsd:import schemaLocation="IsTypes.xsd" namespace="http://www.ericsson.com/is/isco/IsTypes"/> + <xsd:import schemaLocation="MainSwitch_1.xsd" namespace="http://www.ericsson.com/is/isco/MainSwitch_1"/> + <xsd:import schemaLocation="MyBsModel_1.xsd" namespace="http://www.ericsson.com/is/isco/MyBsModel_1"/> + <xsd:complexType name="JobData"> + <xsd:annotation> + <xsd:documentation> + Data to specify a jobs progress, status etc during its execution. + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:element name="jobDateOrdered"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType0"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="jobStatus" type="JobStatus"/> + <xsd:element name="jobResult" type="JobResult"/> + <xsd:element name="jobInfo"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="jobProgress" type="Unsigned32"/> + <xsd:element name="jobLaststep" type="Unsigned32"/> + <xsd:element name="jobProgressReport"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="BladeUgSpecification"> + <xsd:annotation> + <xsd:documentation> + Specification of a blade when an upgrade job is ordered for a + specific blade. This data always belongs to and is included in + an upgrade job for a blade system. + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:element name="ixBladeSubrack" type="Unsigned32"/> + <xsd:element name="ixBladeSlot" type="Unsigned32"/> + <xsd:element name="bladeSwgProdnr"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="bladeSwgVersion"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="FTPData"> + <xsd:annotation> + <xsd:documentation> + Data to specify FTP server info, such as host, user, + password and path, to locate correct files or destination + for files. + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:element name="host"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="user"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="password"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="path"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="HwmKnockOutType"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType3"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="HwmOperationalStateType"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="SwgStatus"> + <xsd:annotation> + <xsd:documentation> + Indicates status of software groups. A software group is + complete if all included load module containers have been + downloaded and unpacked correctly. A software group is inconsistent + if the checksums of the load module containers do not match the + information in the system information CXP, or if the XML + data could not be registered. + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType5"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="HwmBusTypeType"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType6"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="Unsigned32"> + <xsd:annotation> + <xsd:documentation> + Datatype for an integer according to SNMPv2 definition of + unsigned32. + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType7"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="JobResult"> + <xsd:annotation> + <xsd:documentation> + Possible results of an action for a job. + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType8"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="HwmAdministrativeStateType"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType9"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="ContainerType"> + <xsd:annotation> + <xsd:documentation> + Type of a load module container. + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType10"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="MatchStrategy"> + <xsd:annotation> + <xsd:documentation> + Interpretation of given filename and path. + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType11"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="DownloadStrategy"> + <xsd:annotation> + <xsd:documentation> + Interpretation according to existing files. + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType12"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="JobStatus"> + <xsd:annotation> + <xsd:documentation> + Indicator of job status. + A job should be started immediately, but could be postponed + if the total load on the system would become too high. + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType13"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="HwmAvailabilityStatusType"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType14"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="HwmSlotStateType"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType15"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:element name="model"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="Is" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + The top class - the forefather of all classes. + + Key attributes: [] + + Possible children: + Hardware + Software + NetworkConfiguration + BladeSystems + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="Hardware" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + Functional area Hardware Management + + Key attributes: [] + + Possible children: + BladeType + Subrack + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="BladeType" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This class describes a Blade. + + Key attributes: [key] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="key"> + <xsd:annotation> + <xsd:documentation> + The blade type number like CNA12801 + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="name"> + <xsd:annotation> + <xsd:documentation> + The name of the Blade Type. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="width"> + <xsd:annotation> + <xsd:documentation> + The width of the blade in number of slots. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="oneGLinks"> + <xsd:annotation> + <xsd:documentation> + The 1G links used by the blade type , like 0,1, counted from + the leftmost backplane position. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="linkAggregates"> + <xsd:annotation> + <xsd:documentation> + The 1G links used for link aggregation by the blade type , like 0-1, + counted from the leftmost backplane position. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="hasHwData"> + <xsd:annotation> + <xsd:documentation> + True if possible to read product info via the maintenance bus. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isMxb"> + <xsd:annotation> + <xsd:documentation> + True if this is a Main Switch blade type. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="availOneGSlots"> + <xsd:annotation> + <xsd:documentation> + Only valid for main switch blades. A list of slots that have 1G link. + Could be a single slot or a range or a combination thereof. + E.g. 1-24, or 1,3-13,15-24. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="aggregateRanges"> + <xsd:annotation> + <xsd:documentation> + Only valid for main switch blades. Specifies which slots can be used + for link aggregation. Ranges are specified in the form 1-12,13-24. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Subrack" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This class describes the subrack. + + Key attributes: [id] + + Possible children: + Slot + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:annotation> + <xsd:documentation> + Identifies a certain subrack. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType16"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="type"> + <xsd:annotation> + <xsd:documentation> + The type of subrack. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="userLabel"> + <xsd:annotation> + <xsd:documentation> + A user friendly Subrack name. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="position"> + <xsd:annotation> + <xsd:documentation> + The subrack position in the cabinet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="cabinetPosition"> + <xsd:annotation> + <xsd:documentation> + The cabinet position in the site. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="location"> + <xsd:annotation> + <xsd:documentation> + The site location, e.g. the visiting address. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="availableOneGSlots"> + <xsd:annotation> + <xsd:documentation> + Available slots for 1G switch links. Information taken from the type + of main switch blade that is created in the subrack. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="availableTenGSlots"> + <xsd:annotation> + <xsd:documentation> + Available slots for 10G switch links. Information taken from the type + of main switch blade that is created in the subrack. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="aggregateSlots"> + <xsd:annotation> + <xsd:documentation> + Links ranges for (1G) link aggregation. Information taken from the + type of main switch blade that is created in the subrack. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="Slot" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This table corresponds to slots, there is one row in the table + for each slot. The slots are grouped per subrack. A slot is + identified by subrack Id and slot number). The subrack Id for a slot + identifies in the subrackTable the subrack that the slot belongs + to. + + Key attributes: [number] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="number"> + <xsd:annotation> + <xsd:documentation> + The value of this object identifies the + slot position within the subrack. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType17"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="state" type="HwmSlotStateType"> + <xsd:annotation> + <xsd:documentation> + See HwmSlotStateType description. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="bladeSystem"> + <xsd:annotation> + <xsd:documentation> + The value of this object identifies the Blade System that uses this + slot. An instances of this object will only have meaning in a + conceptual row if the value of hemSlotState instance is either + usedOccupied or usedEmpty in the same conceptual row, + i.e. there is an Blade System created using this slot. (If + no Blade System is using the slot, the value will be -1.) + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Software" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + Top class of structure for SWM MOM. + + Key attributes: [] + + Possible children: + Inventory + Jobs + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="Inventory" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + Subclass to top class Software. Parent of + Inventory classes: + SoftwareDeliveryPackage, + SoftwareGroup, + LocalBackup, + Alarm. + Inventory actions: + DownloadFile + ImportBackup + Only system created data for info and overview, + sometimes as a result of an action called by the + operator. + + Key attributes: [] + + Possible children: + Alarm + LocalBackup + SoftwareDeliveryPackage + SoftwareGroup + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="Alarm" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + MO of all alarms logged in the system that has not been + taken care of in a satisfactory way. + + Key attributes: [alarmId] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="alarmId" type="Unsigned32"/> + <xsd:element minOccurs="0" name="faultyBladeSystem"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="faultCause"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="faultInfo"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="LocalBackup" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + All available backups locally stored. + + Key attributes: [localBackupId] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="localBackupId" type="Unsigned32"/> + <xsd:element minOccurs="0" name="name"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bladeSystem"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="date"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType0"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="size" type="Unsigned32"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="SoftwareDeliveryPackage" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + MO for info about LoadModuleContainers, ie CXPs. + + Key attributes: [ixProdNr,ixVersion] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="ixProdNr"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="ixVersion"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="name"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="type" type="ContainerType"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="SoftwareGroup" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This class reference to multiple MOs of class + SoftwareDeliveryPackage, ie the relationship between + CXPs and CXS. + + Key attributes: [ixProdnr,ixVersion] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="ixProdnr"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="ixVersion"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="name"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="systemProdNr"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="systemVersion"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="systemName"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="integratedSystemProdNr"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="integratedSystemVersion"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="integratedSystemName"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="relatedCXPs"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" minOccurs="0" maxOccurs="unbounded"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType18"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="status" type="SwgStatus"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Jobs" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + Subclass to top class Software. Parent of + Jobs classes: + DownloadFile, + Upgrade, + Backup. + System created data through ordered job actions. + + Key attributes: [] + + Possible children: + Backup + DownloadFile + Upgrade + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="Backup" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + Subclass to class Jobs. Parent of + Jobs classes: + Create, + Restore + Import, + Export.System created data through ordered backup job actions. + + Key attributes: [] + + Possible children: + Create + Export + Import + Restore + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="Create" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This MO handles creation of backups of the system. + + Key attributes: [backupJobId] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="backupJobId"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="jobData" type="JobData"/> + <xsd:element minOccurs="0" name="backupId" type="Unsigned32"/> + <xsd:element minOccurs="0" name="targetBladeSystem"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="backupName"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Export" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This MO handles export of locally stored backup files to + the FTP server. + + Key attributes: [exportJobId] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="exportJobId"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="jobData" type="JobData"/> + <xsd:element minOccurs="0" name="ftpData" type="FTPData"/> + <xsd:element minOccurs="0" name="backupId" type="Unsigned32"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Import" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This MO handles import of backup files from the FTP server. + The backup file is stored locally, but not loaded into the system. + + Key attributes: [importJobId] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="importJobId"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="jobData" type="JobData"/> + <xsd:element minOccurs="0" name="ftpData" type="FTPData"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Restore" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This MO handles restore of backups of the system. + + Key attributes: [restoreJobId] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="restoreJobId"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="jobData" type="JobData"/> + <xsd:element minOccurs="0" name="backupId" type="Unsigned32"/> + <xsd:element minOccurs="0" name="targetBladeSystem"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="backupName"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="DownloadFile" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This MO contains information about requested, ongoing, + and completed software file download jobs. To start a + download job the operator calls an action Inventory class, + and a new instance of this MO is created. + For load regulating reasons a requested job may not start + immediately. + + Key attributes: [downloadFileJobId] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="downloadFileJobId"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="jobData" type="JobData"/> + <xsd:element minOccurs="0" name="ftpData" type="FTPData"/> + <xsd:element minOccurs="0" name="matchStrategy" type="MatchStrategy"/> + <xsd:element minOccurs="0" name="downloadStrategy" type="DownloadStrategy"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Upgrade" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This MO handles upgrade jobs towards the system. The operator + may specify a specific blade to run the upgrade on, instead of + running an upgrade on the entire blade system. + + Key attributes: [upgradeJobId] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="upgradeJobId"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="jobData" type="JobData"/> + <xsd:element minOccurs="0" name="bladeSystem"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="selectedSwgProdNr"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="selectedSwgVersion"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="selectedCxrProdNr"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="selectedCxrVersion"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="MaxTime" type="Unsigned32"> + <xsd:annotation> + <xsd:documentation> + The maximum time allowed for the SW Upgrade + job to finish. After this time, the job will be interrupted. + The value 0 means that MaxTime will be given the + timer value registered with the Blade System Software Group + Version. If no such value has been registered, + MaxTime will be given a system default timer value. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="bladeUgSpecification" type="BladeUgSpecification"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="NetworkConfiguration" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + The MO branch where the common Network resources are configured. + + Key attributes: [] + + Possible children: + IsIpTrafficClass + IsLanTrafficClass + IsLogicalNetwork + IsVariables + IsVlan + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="IsIpTrafficClass" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [name] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name if the IS IP Traffic Class. + Unique within the entire Integrated Site. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the IS IP Traffic Class. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="dscp"> + <xsd:annotation> + <xsd:documentation> + DiffServ Code Point setting for this IS IP Traffic Class. + If there are two IS Ip Traffic Classes with the same DSCP, they + both must refer to an IS Lan Traffic Class with identical P-bit setting. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isLanTrafficClass"> + <xsd:annotation> + <xsd:documentation> + Reference to a Managed Object of type ISLanTrafficClass. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType19"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="IsLanTrafficClass" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + An IS Lan Traffic Class may be shared between several Blade Systems. + + Key attributes: [name] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the IS Lan Traffic Class. + Unique within the entire Integrated Site. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the IS Lan Traffic Class. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="pbits"> + <xsd:annotation> + <xsd:documentation> + P-bit setting for this IS Lan Traffic Class. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType20"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="IsLogicalNetwork" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + An IS Logical Network contains one or more IS Subnets. + It may be shared between several Blade Systems. + + Key attributes: [name] + + Possible children: + IsSubnet + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the IS Logical Network. + Unique within the entire Integrated Site. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the IS logical network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="IsSubnet" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + An IS Subnet contains one or more IS Subnet Segments. + It may be shared between several Blade Systems. + + Key attributes: [name] + + Possible children: + IsSubnetSegment + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the IS Subnet. Unique within the IS Logical Network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the IS Subnet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="address" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP network address of the IS Subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="mask"> + <xsd:annotation> + <xsd:documentation> + Prefix length of the IP network address. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType21"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="broadcastAddress"> + <xsd:annotation> + <xsd:documentation> + Broadcast address of the IS Subnet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isVlanId"> + <xsd:annotation> + <xsd:documentation> + Identity of an IS VLAN. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="IsSubnetSegment" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + An IS Subnet Segment may be shared between several Blade Systems. + + Key attributes: [name] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the IS Subnet Segment. Unique within the IS Subnet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the IS Subnet Segment. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="address" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP network address of the IS Subnet Segment. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="mask"> + <xsd:annotation> + <xsd:documentation> + Prefix length of the IP network address. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType21"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="routerAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + Router address for the IS Subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="dhcpEnabled"> + <xsd:annotation> + <xsd:documentation> + Flag that controls wheter DHCP should be enabled or not for this + IS Subnet Segment. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="IsVariables" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element minOccurs="0" name="updateMode"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType22"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="dataModelVersion"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="major"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="minor"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="rlspMarkerGenerateInterval"> + <xsd:annotation> + <xsd:documentation> + The RLSP marker generate interval in microseconds. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType7"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="timezoneDstRule"> + <xsd:annotation> + <xsd:documentation> + Daylight savings rule in posix standard format. + Better description to be supplied later........and a regular expression + which describes the valid string format. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="dnsDomain"> + <xsd:annotation> + <xsd:documentation> + The dns domain used by IS in the DNS-server. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType23"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="notifyAfter"> + <xsd:annotation> + <xsd:documentation> + Number of seconds from that a new network configuration has been + published until the Blade Systems will apply the changes. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="defaultDhcpLeaseTime"> + <xsd:annotation> + <xsd:documentation> + The default DHCP Lease time in seconds. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="lifeTimeDhcpLeaseTime"> + <xsd:annotation> + <xsd:documentation> + The lifetime of a DHCP lease in seconds. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="IsVlan" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + An IS Vlan may be shared between several Blade Systems. + + Key attributes: [identity] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="identity"> + <xsd:annotation> + <xsd:documentation> + Identity of the IS Vlan. Unique within the entire Integrated Site. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType24"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the IS Vlan. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BladeSystems" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + The BladeSystems mountpoint - parent of all blade systems. + + Key attributes: [] + + Possible children: + BladeSystemTemplate + Mxb + MyBsModel + Sis + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="Mxb" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This class describes a Blade System. It will be cloned for each + new blade system type registered in the system. The new clone + will serve as a mountpoint for the blade system specific model. + + Key attributes: [name] + + Possible children: + Blade + BsIpTrafficClass + BsLanTrafficClass + BsLogicalNetwork + BsVlan + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + A user friendly Blade System name, must be set at creation and can be + changed when BS is locked. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="no"> + <xsd:annotation> + <xsd:documentation> + An identifier for the BS. A new integer has to be used every time a new + BS is created. ??? Kvar ??? + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="softwareGroupId"> + <xsd:annotation> + <xsd:documentation> + The identity of the Software Group (SWG) that the BS implements. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="softwareGroupRevision"> + <xsd:annotation> + <xsd:documentation> + The revision of the Software Group (SWG) that the BS implements. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="admState" type="HwmAdministrativeStateType"> + <xsd:annotation> + <xsd:documentation> + The administrative state of the Blade System. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="opState" type="HwmOperationalStateType"> + <xsd:annotation> + <xsd:documentation> + The operational state of the Blade System. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="availStatus" type="HwmAvailabilityStatusType"> + <xsd:annotation> + <xsd:documentation> + The availability status of the Blade System. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="locked"> + <xsd:annotation> + <xsd:documentation> + eller s�tta admState ???????????? + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the Blade System. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsomAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address of the Blade System OaM Master. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element name="Blade" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This class describes a Blade. + A Blade is identified by the subrack and slot number. + + Key attributes: [subrackId,slotNo] + + Possible children: + LinkSap + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackId"> + <xsd:annotation> + <xsd:documentation> + A reference to the associated subrack (i.e. the value of 'subrackId' + for the associated subrack) + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType16"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="slotNo"> + <xsd:annotation> + <xsd:documentation> + The slot number for this Blade within the subrack. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType17"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="slotLabel"> + <xsd:annotation> + <xsd:documentation> + The slot label of the blade. Will only be set at creation of table row. + This should be used in alarms related to the slot to inform the + operator of what position in the subrack the blade is located in. + E.g. for GEM subracks it will be a string like X02 for slot 0 + up to X80 for slot 25. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsNo"> + <xsd:annotation> + <xsd:documentation> + An identifier for the BS to which the blade belongs. + A value of 0 means that the blade is inserted in the subrack but it + has not been configured to any BS yet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="type"> + <xsd:annotation> + <xsd:documentation> + The type of the Blade defined by a string BladTypeIdAndRev. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgLowestId"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgLowestRev"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgActualId"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgActualRev"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsom"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="knockOutType" type="HwmKnockOutType"> + <xsd:annotation> + <xsd:documentation> + Set to protected if blade sholud no be knocked out before the + switch blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="userLabel"> + <xsd:annotation> + <xsd:documentation> + A user friendly Blade name, always possible to set. + Default value indicates HwmBladeType and used slot. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="admState" type="HwmAdministrativeStateType"> + <xsd:annotation> + <xsd:documentation> + The administrative state of the Blade. The Blade is + unblocked by setting this object to unlocked and blocked + by setting it to locked. If the object already has the + desired value or the hwmBladeOpState has a transient OpState value + the set operation will be rejected. The set operation may be + rejected due to other reasons as well. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="opState" type="HwmOperationalStateType"> + <xsd:annotation> + <xsd:documentation> + The operational state of the Blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="availState" type="HwmAvailabilityStatusType"> + <xsd:annotation> + <xsd:documentation> + The availability status of the Blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="busType" type="HwmBusTypeType"> + <xsd:annotation> + <xsd:documentation> + The type of maintenance bus on the found Blade + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="prodNo"> + <xsd:annotation> + <xsd:documentation> + The Product Number of the found Blade + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="prodRev"> + <xsd:annotation> + <xsd:documentation> + The Product Revision of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="serialNo"> + <xsd:annotation> + <xsd:documentation> + The Serial Number of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="prodName"> + <xsd:annotation> + <xsd:documentation> + The Product Name of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="vendor"> + <xsd:annotation> + <xsd:documentation> + The Vendor name of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="mfgDate"> + <xsd:annotation> + <xsd:documentation> + The manufacturing date of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="macAddressAggregate" type="IsTypes:MacAddress"> + <xsd:annotation> + <xsd:documentation> + The aggregated MAC address of the found Blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="macAddressLeft" type="IsTypes:MacAddress"> + <xsd:annotation> + <xsd:documentation> + The left link MAC address of the found Blade. Only used by some blades + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="macAddressRight" type="IsTypes:MacAddress"> + <xsd:annotation> + <xsd:documentation> + The right link MAC address of the found Blade. Only used by some blades + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="changeDate"> + <xsd:annotation> + <xsd:documentation> + The date when the blade was last changed. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="lock"> + <xsd:annotation> + <xsd:documentation> + Borde kanske varfa en �ndring av admstate.???? + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="name"> + <xsd:annotation> + <xsd:documentation> + The name of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isbsAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address on the ISBS subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="isobAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address on the ISOB subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="islctAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address on the ISLCT subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element name="LinkSap" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + A Blade may have one or more resilient interfaces to the backplane. Such + interface is called Link Service Access Point and are automatically + created and deleted along with the hosting blade. + + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:annotation> + <xsd:documentation> + The id of a LinkSap is a number from 0 to X within the slot. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the Link Service Access Point. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsIpTrafficClass" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isIpTrafficClassRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType25"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsLanTrafficClass" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isLanTrafficClassRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType19"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsLogicalNetwork" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [name] + + Possible children: + BsSubnet + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS logical network. Unique within the Blade System. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Logical Network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="private"> + <xsd:annotation> + <xsd:documentation> + Flag that shows whether the BS Logical Network is private for this + Blade System or if it may be shared among several Blade Systems. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isLogicalNetworkRef"> + <xsd:annotation> + <xsd:documentation> + Reference to the corresponding IS Logical Network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType26"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsSubnet" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS Subnets can either be created manually by the operator or they + can be automatically created from pre-registered network requirements + bundled with the Blade System software. + Regardless of how they are created, + each one needs to be mapped to both a BS VLan and an + IS Subnet before blades can be unlocked via the Hardware service. + Each BS Subnet contains one or more BS Subnet Segments. + + Key attributes: [name] + + Possible children: + BsSubnetSegment + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS Subnet. Unique within the BS Logical Network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Subnet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsVlanRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType27"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isSubnetRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType28"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsSubnetSegment" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS Subnet Segments can either be created manually by you or they can + be automatically created from pre-registered network requirements + bundled with the Blade System software. Regardless of how they are created, + each one needs to be mapped to an IS Subnet Segment before the blades + can be unlocked via the Hardware service. + The mapping is done with the 'isSubnetSegmentRef' attribute. + + Key attributes: [name] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS Subnet Segment. Unique within the BS Subnet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Subnet Segment. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="numOfIpaddresses"> + <xsd:annotation> + <xsd:documentation> + Number of required IP addresses in the IS Subnet Segment. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="dhcpEnabled"> + <xsd:annotation> + <xsd:documentation> + Flag that controls whether the corresponding IS Subnet Segment is + required to have DHCP enabled or not. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="routerRequired"> + <xsd:annotation> + <xsd:documentation> + Flag that controls whether the corresponding IS Subnet Segment is + required to have a router configured or not. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isSubnetSegmentRef"> + <xsd:annotation> + <xsd:documentation> + The mapping to a corresponding IS Subnet Segment. The mapping here must + be done before the blades of the blade system can be unlocked. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType29"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsVlan" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS VLANs can either be created manually by the + operator or they can be automatically created from pre-registered + network requirements bundled with the Blade System software. + Regardless of how they are created, each one needs to be mapped to + an IS VLAN before the blades can be unlocked. + + Key attributes: [name] + + Possible children: + BsVlanSap + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS Vlan. Unique within the Blade System. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Vlan. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isVlanRef"> + <xsd:annotation> + <xsd:documentation> + The mapping to a corresponding IS Vlan. This mapping must be done before + the blades of the Blade System can be unlocked. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType30"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsVlanSap" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS VLAN Service Access Points can either be created manually by the + operator or they can be automatically created from pre-registered + network requirements bundled with the Blade System software. + Regardless of how they are created, each one needs to be mapped to + an Link SAP before the blades can be unlocked. + + Key attributes: [name] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS VLAN SAP. Uniqie within the BS VLAN. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS VLAN SAP. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="static"> + <xsd:annotation> + <xsd:documentation> + Flag which controls whether this BS VLAN SAP makes static or dynamic + use of the corresponding IS VLAN. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="protected"> + <xsd:annotation> + <xsd:documentation> + Flag which controls whether this BS VLAN SAP should be + isolation protected or not. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="linkSapRef"> + <xsd:annotation> + <xsd:documentation> + A mapping to the corresponding Link Service Access Point. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType31"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="MyBsModel" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This class describes a Blade System. It will be cloned for each + new blade system type registered in the system. The new clone + will serve as a mountpoint for the blade system specific model. + + Key attributes: [name] + + Possible children: + Blade + BsIpTrafficClass + BsLanTrafficClass + BsLogicalNetwork + BsVlan + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + A user friendly Blade System name, must be set at creation and can be + changed when BS is locked. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="no"> + <xsd:annotation> + <xsd:documentation> + An identifier for the BS. A new integer has to be used every time a new + BS is created. ??? Kvar ??? + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="softwareGroupId"> + <xsd:annotation> + <xsd:documentation> + The identity of the Software Group (SWG) that the BS implements. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="softwareGroupRevision"> + <xsd:annotation> + <xsd:documentation> + The revision of the Software Group (SWG) that the BS implements. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="admState" type="HwmAdministrativeStateType"> + <xsd:annotation> + <xsd:documentation> + The administrative state of the Blade System. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="opState" type="HwmOperationalStateType"> + <xsd:annotation> + <xsd:documentation> + The operational state of the Blade System. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="availStatus" type="HwmAvailabilityStatusType"> + <xsd:annotation> + <xsd:documentation> + The availability status of the Blade System. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="locked"> + <xsd:annotation> + <xsd:documentation> + eller s�tta admState ???????????? + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the Blade System. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsomAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address of the Blade System OaM Master. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element name="Blade" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This class describes a Blade. + A Blade is identified by the subrack and slot number. + + Key attributes: [subrackId,slotNo] + + Possible children: + LinkSap + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackId"> + <xsd:annotation> + <xsd:documentation> + A reference to the associated subrack (i.e. the value of 'subrackId' + for the associated subrack) + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType16"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="slotNo"> + <xsd:annotation> + <xsd:documentation> + The slot number for this Blade within the subrack. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType17"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="slotLabel"> + <xsd:annotation> + <xsd:documentation> + The slot label of the blade. Will only be set at creation of table row. + This should be used in alarms related to the slot to inform the + operator of what position in the subrack the blade is located in. + E.g. for GEM subracks it will be a string like X02 for slot 0 + up to X80 for slot 25. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsNo"> + <xsd:annotation> + <xsd:documentation> + An identifier for the BS to which the blade belongs. + A value of 0 means that the blade is inserted in the subrack but it + has not been configured to any BS yet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="type"> + <xsd:annotation> + <xsd:documentation> + The type of the Blade defined by a string BladTypeIdAndRev. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgLowestId"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgLowestRev"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgActualId"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgActualRev"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsom"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="knockOutType" type="HwmKnockOutType"> + <xsd:annotation> + <xsd:documentation> + Set to protected if blade sholud no be knocked out before the + switch blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="userLabel"> + <xsd:annotation> + <xsd:documentation> + A user friendly Blade name, always possible to set. + Default value indicates HwmBladeType and used slot. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="admState" type="HwmAdministrativeStateType"> + <xsd:annotation> + <xsd:documentation> + The administrative state of the Blade. The Blade is + unblocked by setting this object to unlocked and blocked + by setting it to locked. If the object already has the + desired value or the hwmBladeOpState has a transient OpState value + the set operation will be rejected. The set operation may be + rejected due to other reasons as well. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="opState" type="HwmOperationalStateType"> + <xsd:annotation> + <xsd:documentation> + The operational state of the Blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="availState" type="HwmAvailabilityStatusType"> + <xsd:annotation> + <xsd:documentation> + The availability status of the Blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="busType" type="HwmBusTypeType"> + <xsd:annotation> + <xsd:documentation> + The type of maintenance bus on the found Blade + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="prodNo"> + <xsd:annotation> + <xsd:documentation> + The Product Number of the found Blade + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="prodRev"> + <xsd:annotation> + <xsd:documentation> + The Product Revision of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="serialNo"> + <xsd:annotation> + <xsd:documentation> + The Serial Number of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="prodName"> + <xsd:annotation> + <xsd:documentation> + The Product Name of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="vendor"> + <xsd:annotation> + <xsd:documentation> + The Vendor name of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="mfgDate"> + <xsd:annotation> + <xsd:documentation> + The manufacturing date of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="macAddressAggregate" type="IsTypes:MacAddress"> + <xsd:annotation> + <xsd:documentation> + The aggregated MAC address of the found Blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="macAddressLeft" type="IsTypes:MacAddress"> + <xsd:annotation> + <xsd:documentation> + The left link MAC address of the found Blade. Only used by some blades + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="macAddressRight" type="IsTypes:MacAddress"> + <xsd:annotation> + <xsd:documentation> + The right link MAC address of the found Blade. Only used by some blades + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="changeDate"> + <xsd:annotation> + <xsd:documentation> + The date when the blade was last changed. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="lock"> + <xsd:annotation> + <xsd:documentation> + Borde kanske varfa en �ndring av admstate.???? + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="name"> + <xsd:annotation> + <xsd:documentation> + The name of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isbsAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address on the ISBS subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="isobAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address on the ISOB subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="islctAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address on the ISLCT subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element name="LinkSap" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + A Blade may have one or more resilient interfaces to the backplane. Such + interface is called Link Service Access Point and are automatically + created and deleted along with the hosting blade. + + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:annotation> + <xsd:documentation> + The id of a LinkSap is a number from 0 to X within the slot. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the Link Service Access Point. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsIpTrafficClass" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isIpTrafficClassRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType25"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsLanTrafficClass" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isLanTrafficClassRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType19"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsLogicalNetwork" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [name] + + Possible children: + BsSubnet + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS logical network. Unique within the Blade System. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Logical Network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="private"> + <xsd:annotation> + <xsd:documentation> + Flag that shows whether the BS Logical Network is private for this + Blade System or if it may be shared among several Blade Systems. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isLogicalNetworkRef"> + <xsd:annotation> + <xsd:documentation> + Reference to the corresponding IS Logical Network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType26"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsSubnet" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS Subnets can either be created manually by the operator or they + can be automatically created from pre-registered network requirements + bundled with the Blade System software. + Regardless of how they are created, + each one needs to be mapped to both a BS VLan and an + IS Subnet before blades can be unlocked via the Hardware service. + Each BS Subnet contains one or more BS Subnet Segments. + + Key attributes: [name] + + Possible children: + BsSubnetSegment + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS Subnet. Unique within the BS Logical Network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Subnet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsVlanRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType27"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isSubnetRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType28"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsSubnetSegment" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS Subnet Segments can either be created manually by you or they can + be automatically created from pre-registered network requirements + bundled with the Blade System software. Regardless of how they are created, + each one needs to be mapped to an IS Subnet Segment before the blades + can be unlocked via the Hardware service. + The mapping is done with the 'isSubnetSegmentRef' attribute. + + Key attributes: [name] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS Subnet Segment. Unique within the BS Subnet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Subnet Segment. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="numOfIpaddresses"> + <xsd:annotation> + <xsd:documentation> + Number of required IP addresses in the IS Subnet Segment. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="dhcpEnabled"> + <xsd:annotation> + <xsd:documentation> + Flag that controls whether the corresponding IS Subnet Segment is + required to have DHCP enabled or not. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="routerRequired"> + <xsd:annotation> + <xsd:documentation> + Flag that controls whether the corresponding IS Subnet Segment is + required to have a router configured or not. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isSubnetSegmentRef"> + <xsd:annotation> + <xsd:documentation> + The mapping to a corresponding IS Subnet Segment. The mapping here must + be done before the blades of the blade system can be unlocked. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType29"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsVlan" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS VLANs can either be created manually by the + operator or they can be automatically created from pre-registered + network requirements bundled with the Blade System software. + Regardless of how they are created, each one needs to be mapped to + an IS VLAN before the blades can be unlocked. + + Key attributes: [name] + + Possible children: + BsVlanSap + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS Vlan. Unique within the Blade System. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Vlan. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isVlanRef"> + <xsd:annotation> + <xsd:documentation> + The mapping to a corresponding IS Vlan. This mapping must be done before + the blades of the Blade System can be unlocked. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType30"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsVlanSap" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS VLAN Service Access Points can either be created manually by the + operator or they can be automatically created from pre-registered + network requirements bundled with the Blade System software. + Regardless of how they are created, each one needs to be mapped to + an Link SAP before the blades can be unlocked. + + Key attributes: [name] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS VLAN SAP. Uniqie within the BS VLAN. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS VLAN SAP. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="static"> + <xsd:annotation> + <xsd:documentation> + Flag which controls whether this BS VLAN SAP makes static or dynamic + use of the corresponding IS VLAN. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="protected"> + <xsd:annotation> + <xsd:documentation> + Flag which controls whether this BS VLAN SAP should be + isolation protected or not. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="linkSapRef"> + <xsd:annotation> + <xsd:documentation> + A mapping to the corresponding Link Service Access Point. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType31"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element ref="MyBsModel:model" minOccurs="0" maxOccurs="1"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Sis" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This class describes a Blade System. It will be cloned for each + new blade system type registered in the system. The new clone + will serve as a mountpoint for the blade system specific model. + + Key attributes: [name] + + Possible children: + Blade + BsIpTrafficClass + BsLanTrafficClass + BsLogicalNetwork + BsVlan + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + A user friendly Blade System name, must be set at creation and can be + changed when BS is locked. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="no"> + <xsd:annotation> + <xsd:documentation> + An identifier for the BS. A new integer has to be used every time a new + BS is created. ??? Kvar ??? + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="softwareGroupId"> + <xsd:annotation> + <xsd:documentation> + The identity of the Software Group (SWG) that the BS implements. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="softwareGroupRevision"> + <xsd:annotation> + <xsd:documentation> + The revision of the Software Group (SWG) that the BS implements. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="admState" type="HwmAdministrativeStateType"> + <xsd:annotation> + <xsd:documentation> + The administrative state of the Blade System. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="opState" type="HwmOperationalStateType"> + <xsd:annotation> + <xsd:documentation> + The operational state of the Blade System. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="availStatus" type="HwmAvailabilityStatusType"> + <xsd:annotation> + <xsd:documentation> + The availability status of the Blade System. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="locked"> + <xsd:annotation> + <xsd:documentation> + eller s�tta admState ???????????? + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the Blade System. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsomAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address of the Blade System OaM Master. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element name="Blade" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + This class describes a Blade. + A Blade is identified by the subrack and slot number. + + Key attributes: [subrackId,slotNo] + + Possible children: + LinkSap + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackId"> + <xsd:annotation> + <xsd:documentation> + A reference to the associated subrack (i.e. the value of 'subrackId' + for the associated subrack) + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType16"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="slotNo"> + <xsd:annotation> + <xsd:documentation> + The slot number for this Blade within the subrack. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType17"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="slotLabel"> + <xsd:annotation> + <xsd:documentation> + The slot label of the blade. Will only be set at creation of table row. + This should be used in alarms related to the slot to inform the + operator of what position in the subrack the blade is located in. + E.g. for GEM subracks it will be a string like X02 for slot 0 + up to X80 for slot 25. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsNo"> + <xsd:annotation> + <xsd:documentation> + An identifier for the BS to which the blade belongs. + A value of 0 means that the blade is inserted in the subrack but it + has not been configured to any BS yet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="type"> + <xsd:annotation> + <xsd:documentation> + The type of the Blade defined by a string BladTypeIdAndRev. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgLowestId"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgLowestRev"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgActualId"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="swgActualRev"> + <xsd:annotation> + <xsd:documentation> + The SW group of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsom"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="knockOutType" type="HwmKnockOutType"> + <xsd:annotation> + <xsd:documentation> + Set to protected if blade sholud no be knocked out before the + switch blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="userLabel"> + <xsd:annotation> + <xsd:documentation> + A user friendly Blade name, always possible to set. + Default value indicates HwmBladeType and used slot. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="admState" type="HwmAdministrativeStateType"> + <xsd:annotation> + <xsd:documentation> + The administrative state of the Blade. The Blade is + unblocked by setting this object to unlocked and blocked + by setting it to locked. If the object already has the + desired value or the hwmBladeOpState has a transient OpState value + the set operation will be rejected. The set operation may be + rejected due to other reasons as well. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="opState" type="HwmOperationalStateType"> + <xsd:annotation> + <xsd:documentation> + The operational state of the Blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="availState" type="HwmAvailabilityStatusType"> + <xsd:annotation> + <xsd:documentation> + The availability status of the Blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="busType" type="HwmBusTypeType"> + <xsd:annotation> + <xsd:documentation> + The type of maintenance bus on the found Blade + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="prodNo"> + <xsd:annotation> + <xsd:documentation> + The Product Number of the found Blade + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="prodRev"> + <xsd:annotation> + <xsd:documentation> + The Product Revision of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="serialNo"> + <xsd:annotation> + <xsd:documentation> + The Serial Number of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="prodName"> + <xsd:annotation> + <xsd:documentation> + The Product Name of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="vendor"> + <xsd:annotation> + <xsd:documentation> + The Vendor name of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="mfgDate"> + <xsd:annotation> + <xsd:documentation> + The manufacturing date of the found Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="macAddressAggregate" type="IsTypes:MacAddress"> + <xsd:annotation> + <xsd:documentation> + The aggregated MAC address of the found Blade. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="macAddressLeft" type="IsTypes:MacAddress"> + <xsd:annotation> + <xsd:documentation> + The left link MAC address of the found Blade. Only used by some blades + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="macAddressRight" type="IsTypes:MacAddress"> + <xsd:annotation> + <xsd:documentation> + The right link MAC address of the found Blade. Only used by some blades + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="changeDate"> + <xsd:annotation> + <xsd:documentation> + The date when the blade was last changed. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="lock"> + <xsd:annotation> + <xsd:documentation> + Borde kanske varfa en �ndring av admstate.???? + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="name"> + <xsd:annotation> + <xsd:documentation> + The name of the Blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the blade. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isbsAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address on the ISBS subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="isobAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address on the ISOB subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="islctAddress" type="IsTypes:IpAddress"> + <xsd:annotation> + <xsd:documentation> + IP address on the ISLCT subnet. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element name="LinkSap" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + A Blade may have one or more resilient interfaces to the backplane. Such + interface is called Link Service Access Point and are automatically + created and deleted along with the hosting blade. + + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:annotation> + <xsd:documentation> + The id of a LinkSap is a number from 0 to X within the slot. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the Link Service Access Point. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsIpTrafficClass" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isIpTrafficClassRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType25"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsLanTrafficClass" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isLanTrafficClassRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType19"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsLogicalNetwork" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + Key attributes: [name] + + Possible children: + BsSubnet + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS logical network. Unique within the Blade System. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Logical Network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="private"> + <xsd:annotation> + <xsd:documentation> + Flag that shows whether the BS Logical Network is private for this + Blade System or if it may be shared among several Blade Systems. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isLogicalNetworkRef"> + <xsd:annotation> + <xsd:documentation> + Reference to the corresponding IS Logical Network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType26"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsSubnet" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS Subnets can either be created manually by the operator or they + can be automatically created from pre-registered network requirements + bundled with the Blade System software. + Regardless of how they are created, + each one needs to be mapped to both a BS VLan and an + IS Subnet before blades can be unlocked via the Hardware service. + Each BS Subnet contains one or more BS Subnet Segments. + + Key attributes: [name] + + Possible children: + BsSubnetSegment + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS Subnet. Unique within the BS Logical Network. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Subnet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bsVlanRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType27"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isSubnetRef"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType28"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsSubnetSegment" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS Subnet Segments can either be created manually by you or they can + be automatically created from pre-registered network requirements + bundled with the Blade System software. Regardless of how they are created, + each one needs to be mapped to an IS Subnet Segment before the blades + can be unlocked via the Hardware service. + The mapping is done with the 'isSubnetSegmentRef' attribute. + + Key attributes: [name] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS Subnet Segment. Unique within the BS Subnet. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Subnet Segment. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="numOfIpaddresses"> + <xsd:annotation> + <xsd:documentation> + Number of required IP addresses in the IS Subnet Segment. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="dhcpEnabled"> + <xsd:annotation> + <xsd:documentation> + Flag that controls whether the corresponding IS Subnet Segment is + required to have DHCP enabled or not. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="routerRequired"> + <xsd:annotation> + <xsd:documentation> + Flag that controls whether the corresponding IS Subnet Segment is + required to have a router configured or not. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isSubnetSegmentRef"> + <xsd:annotation> + <xsd:documentation> + The mapping to a corresponding IS Subnet Segment. The mapping here must + be done before the blades of the blade system can be unlocked. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType29"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsVlan" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS VLANs can either be created manually by the + operator or they can be automatically created from pre-registered + network requirements bundled with the Blade System software. + Regardless of how they are created, each one needs to be mapped to + an IS VLAN before the blades can be unlocked. + + Key attributes: [name] + + Possible children: + BsVlanSap + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS Vlan. Unique within the Blade System. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS Vlan. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="isVlanRef"> + <xsd:annotation> + <xsd:documentation> + The mapping to a corresponding IS Vlan. This mapping must be done before + the blades of the Blade System can be unlocked. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType30"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="BsVlanSap" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + BS VLAN Service Access Points can either be created manually by the + operator or they can be automatically created from pre-registered + network requirements bundled with the Blade System software. + Regardless of how they are created, each one needs to be mapped to + an Link SAP before the blades can be unlocked. + + Key attributes: [name] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="name"> + <xsd:annotation> + <xsd:documentation> + Name of the BS VLAN SAP. Uniqie within the BS VLAN. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Short description of the BS VLAN SAP. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="static"> + <xsd:annotation> + <xsd:documentation> + Flag which controls whether this BS VLAN SAP makes static or dynamic + use of the corresponding IS VLAN. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="protected"> + <xsd:annotation> + <xsd:documentation> + Flag which controls whether this BS VLAN SAP should be + isolation protected or not. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="linkSapRef"> + <xsd:annotation> + <xsd:documentation> + A mapping to the corresponding Link Service Access Point. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType31"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element ref="MainSwitch:model" minOccurs="0" maxOccurs="1"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:simpleType name="ccsHelperType31"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*LinkSap\[id='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType30"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*IsVlan\[identity='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType29"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*IsSubnetSegment\[name='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType28"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*IsSubnet\[name='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType27"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*BsVlan\[name='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType26"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*IsLogicalNetwork\[name='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType25"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*IsIpTrafficClass\[name='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType24"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + <xsd:maxInclusive value="4096"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType23"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="[a-zA-Z]+(.[a-zA-Z])*"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType22"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="unsafe"/> + <xsd:enumeration value="readOnly"/> + <xsd:enumeration value="safe"/> + <xsd:enumeration value="preliminary"/> + <xsd:enumeration value="prepare"/> + <xsd:enumeration value="publish"/> + <xsd:enumeration value="accept"/> + <xsd:enumeration value="reject"/> + <xsd:enumeration value="purge"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType21"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + <xsd:maxInclusive value="32"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType20"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + <xsd:maxInclusive value="7"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType19"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*IsLanTrafficClass\[name='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType18"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*SoftwareDeliveryPackage\[ixProdNr='[^\]]+'\]\[ixVersion='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType17"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + <xsd:maxInclusive value="25"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType16"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + <xsd:maxInclusive value="31"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType15"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="unsuedEmpty"/> + <xsd:enumeration value="usedEmpty"/> + <xsd:enumeration value="unusedOccupied"/> + <xsd:enumeration value="usedOccupied"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType14"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="available"/> + <xsd:enumeration value="failed"/> + <xsd:enumeration value="offLine"/> + <xsd:enumeration value="dependency"/> + <xsd:enumeration value="degraded"/> + <xsd:enumeration value="upgrading"/> + <xsd:enumeration value="startingUp"/> + <xsd:enumeration value="goingOffLine"/> + <xsd:enumeration value="notInstalled"/> + <xsd:enumeration value="powerOff"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType13"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="notStarted"/> + <xsd:enumeration value="ongoing"/> + <xsd:enumeration value="complete"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType12"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="onlyIfMissing"/> + <xsd:enumeration value="always"/> + <xsd:enumeration value="unknown"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType11"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="exact"/> + <xsd:enumeration value="prefix"/> + <xsd:enumeration value="unknown"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType10"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="bladeSystemInformation"/> + <xsd:enumeration value="bladeInformation"/> + <xsd:enumeration value="application"/> + <xsd:enumeration value="rootFileSystem"/> + <xsd:enumeration value="kernel"/> + <xsd:enumeration value="correction"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType9"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="locked"/> + <xsd:enumeration value="shuttingdown"/> + <xsd:enumeration value="unlocked"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType8"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="ok"/> + <xsd:enumeration value="inputError"/> + <xsd:enumeration value="executionError"/> + <xsd:enumeration value="unknown"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType7"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + <xsd:maxInclusive value="4294967295"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType6"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="ipmi"/> + <xsd:enumeration value="mbus"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType5"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="complete"/> + <xsd:enumeration value="incomplete"/> + <xsd:enumeration value="inconsistent"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType4"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="disabled"/> + <xsd:enumeration value="enabled"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType3"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="normal"/> + <xsd:enumeration value="protected"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType2"> + <xsd:restriction base="xsd:boolean"> + <xsd:pattern value="(true|false)"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType1"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType0"> + <xsd:restriction base="xsd:dateTime"> + <xsd:whiteSpace value="collapse"/> + </xsd:restriction> + </xsd:simpleType> +</xsd:schema> diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IsTypes.xsd b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IsTypes.xsd new file mode 100644 index 0000000000..a9607e4253 --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IsTypes.xsd @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ericsson.com/is/isco/IsTypes" xmlns="http://www.ericsson.com/is/isco/IsTypes" xmlns:nc="http://www.ericsson.com/is/isco/nc"> + <xsd:annotation> + <xsd:appinfo> + <mim file="types_mim.xml" version=""/> + </xsd:appinfo> + </xsd:annotation> + <xsd:import schemaLocation="nc.xsd" namespace="http://www.ericsson.com/is/isco/nc"/> + <xsd:complexType name="IpAddress"> + <xsd:annotation> + <xsd:documentation> + An IPv4 address + in the form v1.v2.v3.v4 where v1 ... v4 is a + decimal number in the range 0 to 255. + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType0"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="MacAddress"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:simpleType name="ccsHelperType1"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType0"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])"/> + </xsd:restriction> + </xsd:simpleType> +</xsd:schema> diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/MainSwitch_1.xsd b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/MainSwitch_1.xsd new file mode 100644 index 0000000000..9c91d6efd6 --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/MainSwitch_1.xsd @@ -0,0 +1,1496 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ericsson.com/is/isco/MainSwitch_1" xmlns="http://www.ericsson.com/is/isco/MainSwitch_1" xmlns:nc="http://www.ericsson.com/is/isco/nc"> + <xsd:annotation> + <xsd:appinfo> + <mim file="mx_mim.xml" version=""/> + </xsd:appinfo> + </xsd:annotation> + <xsd:import schemaLocation="nc.xsd" namespace="http://www.ericsson.com/is/isco/nc"/> + <xsd:complexType name="SubrackNum"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType0"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="LinkAggregationData"> + <xsd:annotation> + <xsd:documentation> + Description of Link Aggregation Data + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:element name="aggrPortActorPort"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="aggrPortOperState"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="LinkAggregationOperStateData" minOccurs="8" maxOccurs="8"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="ifIndex"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="mode"> + <xsd:annotation> + <xsd:documentation> + Port Channel Mode + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="configuredPorts"> + <xsd:annotation> + <xsd:documentation> + Number of configured ports for this interface. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="activePorts"> + <xsd:annotation> + <xsd:documentation> + Number of active ports for this interface. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="macSelectionPolicy"> + <xsd:annotation> + <xsd:documentation> + MAC Selection Policy + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="linkSelectionPolicy"> + <xsd:annotation> + <xsd:documentation> + Link Selection Policy + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType3"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="aggregatorMac"> + <xsd:annotation> + <xsd:documentation> + MAC address of Aggregator + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="actorId"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="actorPrio"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="actorAdminKey"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="actorOperKey"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="partnerId"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="partnerPrio"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="partnerOperKey"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="PercentUsage"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType5"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="BladeSlotLink"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType6"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="CosQueueConfigurationData"> + <xsd:annotation> + <xsd:documentation> + Description of COS configuration data + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:element name="queue"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType7"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="buffer" type="PercentUsage"> + <xsd:annotation> + <xsd:documentation> + Indicates allocated buffer in percent + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element name="scheduling"> + <xsd:annotation> + <xsd:documentation> + Indicates if Sceduling is Weighted Round Robin (WRR) or Strict Priority + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType8"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="weight"> + <xsd:annotation> + <xsd:documentation> + Indicates if Weight in case of WRR is High, Medium or Low + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType9"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="VlanData"> + <xsd:annotation> + <xsd:documentation> + This struct describes Vlan data + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:element name="vlanId"> + <xsd:annotation> + <xsd:documentation> + Vlan Id + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType10"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="vlanType"> + <xsd:annotation> + <xsd:documentation> + Type of Vlan + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType11"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="isolationStatus"> + <xsd:annotation> + <xsd:documentation> + Isolation status + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType12"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="StatisticCounter"> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="PbitQueue"> + <xsd:sequence> + <xsd:element name="pbitKey"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType7"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="queueValue"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType7"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="LinkAggregationOperStateData"> + <xsd:annotation> + <xsd:documentation> + Description of Link Aggregation Oper State Data + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:element name="lacpActivity"> + <xsd:annotation> + <xsd:documentation> + Indicates LACP activity + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType13"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="lacpTimeout"> + <xsd:annotation> + <xsd:documentation> + Indicates if LACP timeout is long or short + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType14"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="aggregation"> + <xsd:annotation> + <xsd:documentation> + Indicates if Individual or Aggregatable + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType15"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="syncronization"> + <xsd:annotation> + <xsd:documentation> + Indicates if Syncronized or not + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType16"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="collecting"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType17"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="distributing"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType17"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="defaulted"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType17"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="expired"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType17"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="MxbSlot"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType18"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="TresholdPercent"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType19"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="PbitToQueueMapping"> + <xsd:annotation> + <xsd:documentation> + Description of Pbit to queue mapping + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:element name="bladeSlotLink" type="BladeSlotLink"/> + <xsd:element name="interface"> + <xsd:annotation> + <xsd:documentation> + Interface number + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="pbitQueue"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="PbitQueue" minOccurs="8" maxOccurs="8"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="VlanIds"> + <xsd:sequence> + <xsd:element name="vlanId"> + <xsd:annotation> + <xsd:documentation> + Vlan Id + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType10"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:element name="model"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="Vlan" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + Administrative and Operative Vlans + + Key attributes: [] + + Possible children: + VlanAdmin + VlanOper + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="VlanAdmin" minOccurs="0" maxOccurs="31"> + <xsd:annotation> + <xsd:documentation> + This class shows the Administrative configured Vlans + + Key attributes: [subrackNum] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackNum" type="SubrackNum"/> + <xsd:element minOccurs="0" name="numberOfDefinedVlans"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="vlanIds"> + <xsd:annotation> + <xsd:documentation> + Information about defined Vlan Ids + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="VlanIds" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="VlanOper" minOccurs="0" maxOccurs="31"> + <xsd:annotation> + <xsd:documentation> + This class shows the Operative Vlans + + Key attributes: [subrackNum] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackNum" type="SubrackNum"/> + <xsd:element minOccurs="0" name="numberOfActiveVlans"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="vlanIds"> + <xsd:annotation> + <xsd:documentation> + Information about operative Vlan Ids + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="VlanIds" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Cos" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + This class describes the Class of Service function. + + Key attributes: [] + + Possible children: + Pbit + Queue + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element minOccurs="0" name="administrativeQueueConfiguration"> + <xsd:annotation> + <xsd:documentation> + Description of administrative Queue Configuration Data + to be applied for each subrack (or whole system?) + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="CosQueueConfigurationData" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="administrativePbitToQueueMapping"> + <xsd:annotation> + <xsd:documentation> + Description of administrative Pbit to Queue mapping. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="PbitToQueueMapping" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="operationalQueueConfiguration"> + <xsd:annotation> + <xsd:documentation> + Description operational Queue Configuration Data + to be applied for actual subrack and Mxb. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="CosQueueConfigurationData" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="operationalPbitToQueueMapping"> + <xsd:annotation> + <xsd:documentation> + Description of operational Pbit to Queue mapping. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="PbitToQueueMapping" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Pbit" minOccurs="0" maxOccurs="8"> + <xsd:annotation> + <xsd:documentation> + This class is used to set the Pbit to queue table. + + Key attributes: [bladeSlotLink] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="bladeSlotLink" type="BladeSlotLink"/> + <xsd:element minOccurs="0" name="pbitQueue"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="PbitQueue" minOccurs="8" maxOccurs="8"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Queue" minOccurs="0" maxOccurs="8"> + <xsd:annotation> + <xsd:documentation> + This class is used to set the Queue Data table. + + Key attributes: [queueKey] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="queueKey"> + <xsd:annotation> + <xsd:documentation> + Queue value 0 to 7. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType7"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="queueData"> + <xsd:annotation> + <xsd:documentation> + Queue Configuration Data to be applied for the whole system. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="CosQueueConfigurationData" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="State" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + This class describes data to be read for a Mxb. + + Key attributes: [] + + Possible children: + StateBlade + StateLink + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="StateBlade" minOccurs="0" maxOccurs="64"> + <xsd:annotation> + <xsd:documentation> + This class describes data related to a specific Mxb. + + Key attributes: [subrackNum,mxbSlot] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackNum" type="SubrackNum"/> + <xsd:element name="mxbSlot" type="MxbSlot"/> + <xsd:element minOccurs="0" name="description"> + <xsd:annotation> + <xsd:documentation> + Description of type of Mxb. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="ipAddress"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="upTime"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="remoteMxbHost"> + <xsd:annotation> + <xsd:documentation> + Indicates if the other Mxb in the subrack is present or absent. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="executingSoftwareVersion"> + <xsd:annotation> + <xsd:documentation> + Software version executing. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="flashLoadedSoftwareVersion"> + <xsd:annotation> + <xsd:documentation> + Software version in flash memory. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="fallbackSoftwareVersion"> + <xsd:annotation> + <xsd:documentation> + Fallback software version. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="ipmiFirmwareVersion"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bootLoaderVersion"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="hwVersion"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="StateLink" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + This class describes actual state data for a specific link + related to the Mxb. + + Key attributes: [] + + Possible children: + StateLa + StateVlan + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="StateLa" minOccurs="0" maxOccurs="1536"> + <xsd:annotation> + <xsd:documentation> + This class describes the state of the Blade Slot Links with + regards to Link Aggregation info. + + Key attributes: [subrackNum,bladeSlotLink,mxbSlot] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackNum" type="SubrackNum"/> + <xsd:element name="bladeSlotLink" type="BladeSlotLink"/> + <xsd:element name="mxbSlot" type="MxbSlot"/> + <xsd:element minOccurs="0" name="linkAggregationData"> + <xsd:annotation> + <xsd:documentation> + Description of Link Aggregation info for + actual subrack, Mxb and Blade Slot Link. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="LinkAggregationData" minOccurs="16" maxOccurs="16"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="StateVlan" minOccurs="0" maxOccurs="768"> + <xsd:annotation> + <xsd:documentation> + This class describes the state of the Blade Slot Links with + regards to Vlan info. + + Key attributes: [subrackNum,bladeSlotLink] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackNum" type="SubrackNum"/> + <xsd:element name="bladeSlotLink" type="BladeSlotLink"/> + <xsd:element minOccurs="0" name="vlanData"> + <xsd:annotation> + <xsd:documentation> + Description of Vlans for actual subrack and Blade Slot Link + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="VlanData" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Pm" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + This class describes the Performance Monitoring function. + + Key attributes: [] + + Possible children: + PmBladeMeasure + PmLink + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element minOccurs="0" name="cpuUpperTreshold" type="TresholdPercent"> + <xsd:annotation> + <xsd:documentation> + Configuration of CPU upper treshold, i.e. when the CPU load + is rising and crosses this treshold then the PMON function + in ISS will raise a CPU alarm. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="cpuLowerTreshold" type="TresholdPercent"> + <xsd:annotation> + <xsd:documentation> + CPU lower treshold, i.e. when the CPU load + is falling and crosses this treshold then the + PM function in ISS will cease the CPU alarm. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="cpuUsageSamplingPeriod"> + <xsd:annotation> + <xsd:documentation> + The sampling period during which CPU usage is measured. + This period is given in seconds. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="memoryUpperTreshold"> + <xsd:annotation> + <xsd:documentation> + Memory upper treshold, i.e. when the Memory usage + is rising and crosses this treshold then the PM + function in ISS will raise a Memory alarm. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="memoryLowerTreshold" type="TresholdPercent"> + <xsd:annotation> + <xsd:documentation> + Memory lower treshold, i.e. when the Memory usage + is falling and crosses this treshold then the PM + function in ISS will cease the Memory alarm. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="bandwidthUpperTreshold" type="TresholdPercent"> + <xsd:annotation> + <xsd:documentation> + Bandwidth upper treshold, i.e. when the Bandwidth + usage is rising and crosses this treshold then the PM + function in ISS will raise a Bandwidth alarm. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="bandwidthLowerTreshold" type="TresholdPercent"> + <xsd:annotation> + <xsd:documentation> + Bandwidth lower treshold, i.e. when the Bandwidth usage + is falling and crosses this treshold then the PM function + in ISS will cease the Bandwidth alarm. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="bandwidthUsageSamplingPeriod"> + <xsd:annotation> + <xsd:documentation> + The sampling period during which Bandwidth usage is measured. + This period is given in minutes. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="PmBladeMeasure" minOccurs="0" maxOccurs="64"> + <xsd:annotation> + <xsd:documentation> + Enabling monitoring of CPU and memory usage and reading + the corresponding values of utilisation in percent. + + Key attributes: [subrackNum,mxbSlot] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackNum" type="SubrackNum"/> + <xsd:element name="mxbSlot" type="MxbSlot"/> + <xsd:element name="typeOfMeasurement"> + <xsd:annotation> + <xsd:documentation> + Type of measurement to be performed, i.e. CPU or Memory. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType20"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="status"> + <xsd:annotation> + <xsd:documentation> + Start or stop performance measurement of a specific type + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType21"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="usage" type="PercentUsage"> + <xsd:annotation> + <xsd:documentation> + This is the value of the usage in percent when + performing the measurement. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="memoryUsageBytes"> + <xsd:annotation> + <xsd:documentation> + This is the value of Memory usage in bytes when + performing a Memory usage measurement. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="PmLink" minOccurs="0" maxOccurs="1"> + <xsd:annotation> + <xsd:documentation> + Performance Management Link related data. + + Key attributes: [] + + Possible children: + PmBwMeasure + PmStatistics + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="PmBwMeasure" minOccurs="0" maxOccurs="1536"> + <xsd:annotation> + <xsd:documentation> + Enabling monitoring Bandwidth usage and reading the + corresponding values of utilisation in percent. + + Key attributes: [subrackNum,bladeSlotLink,mxbSlot] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackNum" type="SubrackNum"/> + <xsd:element name="bladeSlotLink" type="BladeSlotLink"/> + <xsd:element name="mxbSlot" type="MxbSlot"/> + <xsd:element name="status"> + <xsd:annotation> + <xsd:documentation> + Start or stop measuring of bandwidth utilisation. + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType21"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="bandwidthUsage" type="PercentUsage"> + <xsd:annotation> + <xsd:documentation> + This is the value of the average Bandwidth usage in percent + during the configured sampling period. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="PmStatistics" minOccurs="0" maxOccurs="1536"> + <xsd:annotation> + <xsd:documentation> + This class describes the Performance + Monitoring Statistics; i.e. counters + for each backplane port on the Mxb, + the actual speed used on the port and + if the port operates in full or half duplex mode. + + Key attributes: [subrackNum,bladeSlotLink,mxbSlot] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="subrackNum" type="SubrackNum"/> + <xsd:element name="bladeSlotLink" type="BladeSlotLink"/> + <xsd:element name="mxbSlot" type="MxbSlot"/> + <xsd:element minOccurs="0" name="inOctets" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter for + received octets. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="inUnicastPackets" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter for + received Unicast Packets + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="inMulticastPackets" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter for + received Multicast Packets + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="inBroadcastPackets" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter for + received Broadcast Packets + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="inOctetsDiscarded" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter + for number of received discarded octets. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="inOctetsFaulty" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter + for number of received faulty octets. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="inUnknownProtocol" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter + for number of received Unknown Protocol packets. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="outOctets" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter for + octets in send buffer. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="outUnicastPackets" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter for + Unicast Packets in send buffer. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="outMulticastPackets" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter for + Multicast Packets in send buffer. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="outBroadcastPackets" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter for + Broadcast Packets in send buffer. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="framesOpcodePause" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter for + Frames with Op code Pause + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="framesExceedingMaxFramesize" type="StatisticCounter"> + <xsd:annotation> + <xsd:documentation> + Performance Monitoring counter for + Frames exceeding maximum frame size. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:simpleType name="ccsHelperType21"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="on"/> + <xsd:enumeration value="off"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType20"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="cpu"/> + <xsd:enumeration value="memory"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType19"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="50"/> + <xsd:maxInclusive value="100"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType18"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="left"/> + <xsd:enumeration value="right"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType17"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="yes"/> + <xsd:enumeration value="no"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType16"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="inSync"/> + <xsd:enumeration value="outOfSync"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType15"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="individual"/> + <xsd:enumeration value="aggregatable"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType14"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="long"/> + <xsd:enumeration value="short"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType13"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="passive"/> + <xsd:enumeration value="active"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType12"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="protected"/> + <xsd:enumeration value="isolatable"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType11"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="static"/> + <xsd:enumeration value="dynamic"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType10"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="1"/> + <xsd:maxInclusive value="4094"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType9"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="notUsed"/> + <xsd:enumeration value="high"/> + <xsd:enumeration value="medium"/> + <xsd:enumeration value="low"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType8"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="notUsed"/> + <xsd:enumeration value="wrr"/> + <xsd:enumeration value="strictpriority"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType7"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + <xsd:maxInclusive value="7"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType6"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="1"/> + <xsd:maxInclusive value="24"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType5"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + <xsd:maxInclusive value="100"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType4"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType3"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="srcMAC"/> + <xsd:enumeration value="dstMAC"/> + <xsd:enumeration value="srcAndDstMAC"/> + <xsd:enumeration value="srcIP"/> + <xsd:enumeration value="dstIP"/> + <xsd:enumeration value="srcAndDstIP"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType2"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="dynamic"/> + <xsd:enumeration value="force"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType1"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="lacp"/> + <xsd:enumeration value="manual"/> + <xsd:enumeration value="disable"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType0"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + <xsd:maxInclusive value="31"/> + </xsd:restriction> + </xsd:simpleType> +</xsd:schema> diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/MyBsModel_1.xsd b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/MyBsModel_1.xsd new file mode 100644 index 0000000000..5ec3434a65 --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/MyBsModel_1.xsd @@ -0,0 +1,502 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ericsson.com/is/isco/MyBsModel_1" xmlns="http://www.ericsson.com/is/isco/MyBsModel_1" xmlns:nc="http://www.ericsson.com/is/isco/nc" xmlns:IsTypes="http://www.ericsson.com/is/isco/IsTypes"> + <xsd:annotation> + <xsd:appinfo> + <mim file="myTest_mim.xml" version="/main/R2A/10"/> + <mim file="other_mim.xml" version=""/> + </xsd:appinfo> + </xsd:annotation> + <xsd:import schemaLocation="nc.xsd" namespace="http://www.ericsson.com/is/isco/nc"/> + <xsd:import schemaLocation="IsTypes.xsd" namespace="http://www.ericsson.com/is/isco/IsTypes"/> + <xsd:complexType name="uselessStruct"> + <xsd:sequence> + <xsd:element name="field1"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType4"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="field2" type="myInteger"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="myNamedStruct"> + <xsd:annotation> + <xsd:documentation> + Struct description + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:element name="counter"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType5"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="state" type="stateType"/> + <xsd:element name="dummyStructRef" type="uselessStruct"/> + <xsd:element name="dummySequence"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" type="uselessStruct" minOccurs="3" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="inlineStruct"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="a" type="InternalImport"/> + <xsd:element name="b"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType6"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="c"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType7"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="myInteger"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType8"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="namedMoRefType"> + <xsd:annotation> + <xsd:documentation> + A named type which is an MO Reference pointing to + * MyClass + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType9"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="stateType"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType10"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="blippName"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType11"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="yesNoEnum"> + <xsd:annotation> + <xsd:documentation> + Enum which can be yes or no + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType12"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="uselessEnum"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType13"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="InternalImport"> + <xsd:simpleContent> + <xsd:extension base="xsd:integer"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="MyClass_SeqType3"> + <xsd:sequence> + <xsd:element name="item" type="MyClass_InternalType" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="MyClass_myDateAndTimeType"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType0"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="MyClass_SeqType2"> + <xsd:sequence> + <xsd:element name="item" type="uselessStruct" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:complexType name="MyClass_InternalType"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="MyClass_classInternalEnum"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType2"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="MyClass_SeqType1"> + <xsd:sequence> + <xsd:element name="item" minOccurs="3" maxOccurs="3"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType3"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + <xsd:element name="model"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="Blipp" minOccurs="0" maxOccurs="2"> + <xsd:annotation> + <xsd:documentation> + This is a class which can be assigned as an attribute of ChildClass. + Key attribute is 'id'. + + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id" type="blippName"/> + <xsd:element minOccurs="0" name="truefalse" type="uselessEnum"/> + <xsd:element minOccurs="0" name="ipAddress" type="IsTypes:IpAddress"/> + <xsd:element minOccurs="0" name="macAddress" type="IsTypes:MacAddress"/> + <xsd:element minOccurs="0" name="moAttributeDeep"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType14"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="MyClass" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation> + My Test Class + The class hierarky looks like this: + + +==========+ + |MountPoint| + +==========+ + / \ + / \ + +=======+ +=======+ + | Blipp | |MyClass| + +=======+ +=======+ + | + | + +==========+ + |ChildClass| + +==========+ + + Key attributes: [id1,id2] + + Possible children: + ChildClass: + Definition of children under MyClass + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id1"> + <xsd:annotation> + <xsd:documentation> + Test class identifyer - part1 + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType15"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="id2"> + <xsd:annotation> + <xsd:documentation> + Test class identifyer - part2 + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType16"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="date"> + <xsd:annotation> + <xsd:documentation> + Date + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType17"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="date2" type="MyClass_myDateAndTimeType"> + <xsd:annotation> + <xsd:documentation> + Date2 - named type + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="list"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="item" minOccurs="3" maxOccurs="3"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType3"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="list2" type="MyClass_SeqType2"/> + <xsd:element minOccurs="0" name="list3" type="MyClass_SeqType3"/> + <xsd:element minOccurs="0" name="yesNo" type="yesNoEnum"/> + <xsd:element minOccurs="0" name="commonStruct" type="myNamedStruct"> + <xsd:annotation> + <xsd:documentation> + Attribute description. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element minOccurs="0" name="dummyInternal" type="MyClass_InternalType"/> + <xsd:element minOccurs="0" name="trueOrFalse"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType7"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element name="ChildClass" minOccurs="0" maxOccurs="2"> + <xsd:annotation> + <xsd:documentation> + Child of MyClass + + Key attributes: [id] + </xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="id"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType18"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="moAttribute"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType19"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + <xsd:element minOccurs="0" name="moAttributeNamed" type="namedMoRefType"/> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + <xsd:attribute ref="nc:operation"/> + </xsd:complexType> + </xsd:element> + <xsd:simpleType name="ccsHelperType19"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*Blipp\[id='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType18"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:minLength value="1"/> + <xsd:maxLength value="20"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType17"> + <xsd:restriction base="xsd:dateTime"> + <xsd:whiteSpace value="collapse"/> + <xsd:minInclusive value="2006-03-08T00:00:00.567Z"/> + <xsd:maxInclusive value="2006-03-08T23:59:59Z"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType16"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="1"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType15"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="Obj"/> + <xsd:enumeration value="MO"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType14"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*ChildClass\[id='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType13"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="true"/> + <xsd:enumeration value="false"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType12"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="yes"/> + <xsd:enumeration value="no"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType11"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="name1"/> + <xsd:enumeration value="name2"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType10"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="locked"/> + <xsd:enumeration value="active"/> + <xsd:enumeration value="idle"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType9"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="((/IntegratedSite:model/)|((\.\./)+)|((\./)(\.\./)*)|())((([A-Z][a-zA-Z0-9]+:model)|([A-Z][a-zA-Z0-9]+(\[[a-z][a-zA-Z0-9]*='[^\]]+'\])*))/)*MyClass\[id1='[^\]]+'\]\[id2='[^\]]+'\]"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType8"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="1"/> + <xsd:maxInclusive value="100"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType7"> + <xsd:restriction base="xsd:boolean"> + <xsd:pattern value="(true|false)"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType6"> + <xsd:restriction base="xsd:float"> + <xsd:minInclusive value="0.00"/> + <xsd:maxInclusive value="1.00"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType5"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType4"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:maxLength value="20"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType3"> + <xsd:restriction base="xsd:integer"> + <xsd:minInclusive value="0"/> + <xsd:maxInclusive value="3"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType2"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="a"/> + <xsd:enumeration value="b"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType1"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="hei"/> + <xsd:enumeration value="hopp"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType0"> + <xsd:restriction base="xsd:dateTime"> + <xsd:whiteSpace value="collapse"/> + <xsd:minInclusive value="2006-03-15T00:00:00.567Z"/> + <xsd:maxInclusive value="2006-03-15T23:59:59Z"/> + </xsd:restriction> + </xsd:simpleType> +</xsd:schema> diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/bs_mim.xml b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/bs_mim.xml new file mode 100644 index 0000000000..8846c05878 --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/bs_mim.xml @@ -0,0 +1,1187 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?>
+
+<!--
+
+Copyright (C) Ericsson AB 2006-2007 All rights reserved.
+
+The information in this document is the property of Ericsson.
+
+Except as specifically authorized in writing by Ericsson, the
+receiver of this document shall keep the information contained
+herein confidential and shall protext the same in whole or in part
+from disclosure and dissemination to third parties.
+
+Disclosure and disseminations to the receivers employees shall
+only be made on a strict need to know basis.
+
+-->
+
+
+<mim xmlns="http://www.ericsson.com/is/isco/mim/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ericsson.com/is/isco/mim/2.0 /vobs/isac/sis/OAM_CRA1190047_1/CCS_CNA113082/doc/15519/mim.xsd ">
+
+ <!--
+ DataType Definitions
+ -->
+ <dataType name="HwmAdministrativeState">
+ <description>
+ The administrative state of blades/blade systems.
+ Reflects what the administrator has done.
+ </description>
+ <string>
+ <validValues>
+ <value name="locked"/>
+ <value name="shuttingdown"/>
+ <value name="unlocked"/>
+ </validValues>
+ </string>
+ </dataType>
+
+ <dataType name="HwmOperationalState">
+ <description>
+ The operational state of blades/blade systems.
+ Reflects if the entity is on/off.
+ </description>
+ <string>
+ <validValues>
+ <value name="disabled"/>
+ <value name="enabled"/>
+ </validValues>
+ </string>
+ </dataType>
+
+ <dataType name="HwmAvailabilityStatus">
+ <description>
+ The availability state of blades/blade systems.
+ Reflects if the entity is useable or not.
+ </description>
+ <string>
+ <validValues>
+ <value name="available"/>
+ <value name="failed"/>
+ <value name="offLine"/>
+ <value name="dependency"/>
+ <value name="degraded"/>
+ <value name="upgrading"/>
+ <value name="startingUp"/>
+ <value name="goingOffLine"/>
+ <value name="notInstalled"/>
+ <value name="powerOff"/>
+ </validValues>
+ </string>
+ </dataType>
+
+ <dataType name="HwmKnockOutPreference">
+ <description>
+ </description>
+ <string>
+ <validValues>
+ <value name="normal"/>
+ <value name="protected"/>
+ </validValues>
+ </string>
+ </dataType>
+
+ <dataType name="HwmBusType">
+ <description>
+ The bus type used by a blade.
+ </description>
+ <string>
+ <validValues>
+ <value name="ipmi"/>
+ <value name="mbus"/>
+ </validValues>
+ </string>
+ </dataType>
+
+ <!--
+ Class Definitions
+ -->
+
+ <class name="BladeSystems">
+ <description>
+ Parent of all blade systems.
+ </description>
+ <singleton/>
+ <systemCreated/>
+ </class>
+
+ <class name="BladeSystem">
+ <description>
+ This class describes a Blade System.
+ It serves as a mountpoint for the blade system specific model.
+ </description>
+
+ <!-- Attributes from HWM -->
+
+ <attribute name="name">
+ <description>
+ A user friendly Blade System name, must be set at creation and can be
+ changed when BS is locked.
+ </description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+
+ <attribute name="no">
+ <description>
+ An identifier for the BS. A new integer has to be used every time a new
+ BS is created.
+ </description>
+ <dataType><integer/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="type">
+ <description>
+ </description>
+ <dataType><string/></dataType>
+ <mandatory/>
+ <restricted/>
+ </attribute>
+
+ <attribute name="softwareGroupId">
+ <description>
+ The identity of the Software Group (SWG) that the BS implements.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ <mandatory/>
+ </attribute>
+
+ <attribute name="softwareGroupRevision">
+ <description>
+ The revision of the Software Group (SWG) that the BS implements.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ <mandatory/>
+ </attribute>
+
+ <attribute name="softwareCorrectionPackageId">
+ <description>
+ The identity of the correction package (CXR) applied to the SWG.
+ </description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="softwareCorrectionPackageRevision">
+ <description>
+ The revision of the correction package (CXR) applied to the SWG
+ </description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="admState">
+ <description>The administrative state of the Blade System.</description>
+ <dataType name.ref="HwmAdministrativeState"/>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="opState">
+ <description>The operational state of the Blade System.</description>
+ <dataType name.ref="HwmOperationalState"/>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="availStatus">
+ <description>The availability status of the Blade System.</description>
+ <dataType name.ref="HwmAvailabilityStatus"/>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="bsdName">
+ <description>
+ The identity of the Blade System domain the Blade system belongs to.
+ </description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <!-- Attributes from CPD -->
+
+ <attribute name="bsomAddress">
+ <description>
+ IP address of the Blade System OaM Master.
+ </description>
+ <dataType name.ref="IsTypes:IpAddress"/>
+ <readOnly/>
+ </attribute>
+
+ <action name="lock">
+ <description>
+ Locks the blade system. If the system already is locked the
+ action does nothing.
+ </description>
+ <returnType>
+ <void/>
+ </returnType>
+ </action>
+
+ <action name="unlock">
+ <description>
+ Unlocks the blade system. If the system already is unlocked the
+ action does nothing. This operation orders the blade system to be unlocked.
+ However the blade system may not be unlocked even if this order works.
+ See the operational state to figure out if the unlock succeded.
+ </description>
+ <returnType>
+ <void/>
+ </returnType>
+ </action>
+
+ <action name="shutdown">
+ <description>
+ Shuts down the blade system. If the system already is locked the
+ action does nothing.
+ </description>
+ <returnType>
+ <void/>
+ </returnType>
+ </action>
+
+ <action name="createBackup">
+ <description>
+ Action to create a backup file from the current
+ Blade System. It is stored locally on disk.
+ An instance of the MO class
+ Software/Jobs/Backup/Create is created as a log of this
+ action.
+ </description>
+ <returnType>
+ <dataType><string/></dataType><!-- return ok | {fault,Reason} ? -->
+ </returnType>
+ <parameter name="backupJobName">
+ <description>
+ A user specified backup creation job name
+ </description>
+ <dataType><string/></dataType>
+ <isOptional/>
+ </parameter>
+ </action>
+
+ <action name="restoreBackup">
+ <description>
+ Action to restore a backup into the current
+ Blade System. It is fetched from the local disk.
+ An instance of the MO class
+ Software/Jobs/Backup/Restore is created as a log of this
+ action.
+ </description>
+ <returnType>
+ <dataType><string/></dataType><!-- return ok | {fault,Reason} ? -->
+ </returnType>
+ <parameter name="backupId">
+ <description>
+ The IS site local backup identity
+ </description>
+ <dataType name.ref="IsTypes:Unsigned32">
+ </dataType>
+ </parameter>
+ <parameter name="restoreJobName">
+ <description>
+ A user specified backup restore job name
+ </description>
+ <dataType><string/></dataType>
+ <isOptional/>
+ </parameter>
+ </action>
+
+ <action name="upgrade">
+ <description>
+ Action to upgrade the current Blade System. Files
+ are fetched from the local disk storage.
+ An instance of the MO class
+ Software/Jobs/Upgrade is created as a log of this
+ action.
+ </description>
+ <returnType>
+ <dataType><string/></dataType><!-- return ok | {fault,Reason} ? -->
+ </returnType>
+ <parameter name="upgradeJobName">
+ <description>
+ A user specified ugrade job name
+ </description>
+ <dataType><string/></dataType>
+ <isOptional/>
+ </parameter>
+ <parameter name="swgProdNr">
+ <description>
+ The Ericsson product number of blade system software group
+ </description>
+ <dataType><string/></dataType>
+ <isOptional/>
+ </parameter>
+ <parameter name="swgRevision">
+ <description>
+ The Ericsson revision of blade system software group
+ </description>
+ <dataType><string/></dataType>
+ <isOptional/>
+ </parameter>
+ <parameter name="cxrProdNr">
+ <description>
+ The Ericsson product number of software correction package
+ </description>
+ <dataType><string/></dataType>
+ <isOptional/>
+ </parameter>
+ <parameter name="cxrProdRevision">
+ <description>
+ The Ericsson revision of software correction package
+ </description>
+ <dataType><string/></dataType>
+ <isOptional/>
+ </parameter>
+ <parameter name="bladeSwgProdNr">
+ <description>
+ The Ericsson product number of blade software group
+ </description>
+ <dataType><string/></dataType>
+ <isOptional/>
+ </parameter>
+ <parameter name="bladeSwgProdRevison">
+ <description>
+ The Ericsson revision of blade software group
+ </description>
+ <dataType><string/></dataType>
+ <isOptional/>
+ </parameter>
+ <parameter name="maxTime">
+ <description>
+ The maximum time allowed to finish the entire
+ software change procedure (minutes).
+ Default value depends on blade system software.
+ </description>
+ <dataType name.ref="IsTypes:Unsigned32">
+ </dataType>
+ <isOptional/>
+ </parameter>
+ </action>
+ </class>
+
+
+ <class name="Blade">
+ <description>
+ This class describes a Blade.
+ A Blade is identified by the subrack and slot number.
+ </description>
+
+ <!-- Attributes from HWM -->
+
+ <attribute name="subrackId">
+ <description>
+ A reference to the associated subrack (i.e. the value of 'subrackId'
+ for the associated subrack)
+ </description>
+ <dataType>
+ <integer><range><min>0</min><max>31</max></range></integer>
+ </dataType>
+ <key/>
+ </attribute>
+
+ <attribute name="slotNo">
+ <description>The slot number for this Blade within the subrack.</description>
+ <dataType>
+ <integer><range><min>0</min><max>25</max></range></integer>
+ </dataType>
+ <key/>
+ </attribute>
+
+ <attribute name="slotLabel">
+ <description>
+ The slot label of the blade. Will only be set at creation.
+ This should be used in alarms related to the slot to inform the
+ operator of what position in the subrack the blade is located in.
+ E.g. for GEM subracks it will be a string like X02 for slot 0
+ up to X80 for slot 25.
+ </description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="bsNo">
+ <description>
+ An identifier for the BS to which the blade belongs.
+ A value of 0 means that the blade is inserted in the subrack but it
+ has not been configured to any BS yet.
+ </description>
+ <dataType><integer/></dataType>
+ </attribute>
+
+ <attribute name="type">
+ <description>
+ The type of the Blade defined by a string BladeTypeId.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ <mandatory/>
+ </attribute>
+
+ <attribute name="swgLowestId">
+ <description>The expectedregistered SW group id of the Blade.</description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="swgLowestRev">
+ <description>The registered SW group revision state of the Blade.</description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="swgActualId">
+ <description>The installed SW group id of the Blade.</description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="swgActualRev">
+ <description>The installed SW group revision state of the Blade.</description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="bsom">
+ <description>
+ Indicates if this blade is a BSOM candidate.
+ </description>
+ <dataType><boolean/></dataType>
+ </attribute>
+
+ <attribute name="knockOutPreference">
+ <description>
+ Set to protected if blade sholud no be knocked out before the
+ switch blade.
+ </description>
+ <dataType name.ref="HwmKnockOutPreference"/>
+ </attribute>
+
+ <attribute name="userLabel">
+ <description>
+ A user friendly Blade name, always possible to set.
+ Default value indicates HwmBladeType and used slot.
+ </description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="admState">
+ <description>
+ The administrative state of the Blade.
+ </description>
+ <dataType name.ref="HwmAdministrativeState"/>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="opState">
+ <description>The operational state of the Blade.</description>
+ <dataType name.ref="HwmOperationalState"/>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="availStatus">
+ <description>The availability status of the Blade.</description>
+ <dataType name.ref="HwmAvailabilityStatus"/>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="busType">
+ <description>The type of maintenance bus on the found Blade</description>
+ <dataType name.ref="HwmBusType"/>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="prodNo">
+ <description>The Product Number of the found Blade</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="prodRev">
+ <description>The Product Revision of the found Blade.</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="serialNo">
+ <description>The Serial Number of the found Blade.</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="prodName">
+ <description>The Product Name of the found Blade.</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="vendor">
+ <description>The Vendor name of the found Blade.</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="mfgDate">
+ <description>The manufacturing date of the found Blade.</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="macAddressAggregate">
+ <description>The aggregated MAC address of the found Blade.</description>
+ <dataType name.ref="IsTypes:MacAddress"/>
+ </attribute>
+
+ <attribute name="macAddressLeft">
+ <description>
+ The left link MAC address of the found Blade. Only used by some blades
+ </description>
+ <dataType name.ref="IsTypes:MacAddress"/>
+ </attribute>
+
+ <attribute name="macAddressRight">
+ <description>
+ The right link MAC address of the found Blade. Only used by some blades
+ </description>
+ <dataType name.ref="IsTypes:MacAddress"/>
+ </attribute>
+
+ <attribute name="changeDate">
+ <description>The date when the blade was last changed.</description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <!-- Attributes from CPD -->
+
+ <attribute name="isbsAddress">
+ <description>
+ IP address on the ISBS subnet.
+ </description>
+ <dataType name.ref="IsTypes:IpAddress"/>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="isobAddress">
+ <description>
+ IP address on the ISOB subnet.
+ </description>
+ <dataType name.ref="IsTypes:IpAddress"/>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="islctAddress">
+ <description>
+ IP address on the ISLCT subnet.
+ </description>
+ <dataType name.ref="IsTypes:IpAddress"/>
+ <readOnly/>
+ </attribute>
+
+ <action name="lock">
+ <description>
+ Locks the blade. If the blade already is locked the
+ action does nothing. This operation orders the blade to be locked.
+ It may however take long time before it happens.
+ </description>
+ <returnType>
+ <void/>
+ </returnType>
+ </action>
+
+ <action name="unlock">
+ <description>
+ Unlocks the blade. If the blade already is unlocked the
+ action does nothing. This operation orders the blade to be unlocked.
+ However the blade may not be unlocked even if this order works.
+ See the operational state to figure out if the unlock succeded.
+ </description>
+ <returnType>
+ <void/>
+ </returnType>
+ </action>
+
+ <action name="shutdown">
+ <description>
+ Shuts down the blade. If the blade already is locked the
+ action does nothing.
+ </description>
+ <returnType>
+ <void/>
+ </returnType>
+ </action>
+ <action name="upgrade">
+ <description>
+ Action to upgrade the current blade. Files
+ are fetched from the local disk storage.
+ An instance of the MO class
+ Software/Jobs/Upgrade is created as a log of this
+ action.
+ </description>
+ <returnType>
+ <dataType><string/></dataType><!-- return ok | {fault,Reason} ? -->
+ </returnType>
+ <parameter name="swgProdNr">
+ <dataType><string/></dataType>
+ </parameter>
+ <parameter name="swgRevision">
+ <dataType><string/></dataType>
+ </parameter>
+ <parameter name="maxTime">
+ <dataType name.ref="IsTypes:Unsigned32">
+ </dataType>
+ <isOptional/>
+ </parameter>
+ </action>
+ </class>
+
+ <class name="LinkSap">
+ <description>
+ A Blade may have one or more resilient interfaces
+ to the backplane. Such an interface is called a
+ Link Service Access Point (LSAP), which is the
+ point where you access layer 2. LSAPs are
+ automatically created and deleted along with the
+ hosting blade.
+ </description>
+ <systemCreated/>
+ <attribute name="id">
+ <description>
+ The id of a LinkSap is a number from 0 to X within the slot.
+ </description>
+ <dataType><integer/></dataType>
+ <key/><readOnly/>
+ </attribute>
+ </class>
+
+ <class name="BsNetworkConfiguration">
+ <description>
+ The MO branch where the Blade System specific
+ Network resources are mapped to blade system
+ network requirements to common Integrated Site
+ resources. This activity must be performed before
+ a new blade or blade system successfully can be
+ unlocked via the Hardware service. Some blade
+ system designers have partly pre-registered their
+ network requirements, while others demand that
+ you read the corresponding information from
+ separate Operation Procedure Instructions and
+ manually register the blade system network
+ requirements. The pre-registered network
+ requirements automates parts of the blade
+ system-specific configuration activity.
+
+ In an Integrated Site, the blade systems obtain
+ their actual network configuration dynamically in
+ runtime. When you change the network
+ configuration it will affect blade systems. In
+ order to minimize the disturbance of active blade
+ systems, the changes are normally applied in a
+ separate storage which not is visible to the
+ blade systems. In order to make use of the new
+ unpublished configuration, it must explicitly be
+ published by altering the updateMode. If the new
+ settings introduces severe problems the
+ configuration can be reverted to the old settings
+ by altering the updateMode.
+
+ The common Network configuration including
+ updateMode and its publish mechanism is specified
+ in a separate MIM called CPD MIM.
+ </description>
+ <singleton/>
+ <systemCreated/>
+ </class>
+
+ <class name="BsVlan">
+ <description>
+ A BS VLAN is mapped to one IS VLAN. A BS VLAN is
+ the requirement a Blade System have of an IS
+ VLAN. Different instances of a Blade System type
+ may call their BS VLANs the same thing but in the
+ end the IS Site Designer can choose to map them
+ to the same or different IS VLAN.
+
+ BS VLANs can either be created manually by the
+ operator or they can be automatically created
+ from pre-registered network requirements bundled
+ with the Blade System software. Regardless of
+ how they are created, each one needs to be
+ mapped to an IS VLAN before the blades can be
+ unlocked. The mapping is done with the
+ 'isVlanRef' attribute.
+
+ Different instances of a Blade System type may call
+ their BS VLANs the same thing but in the end the IS
+ Site Designer can choose to map them to the same or
+ different IS VLAN.
+ </description>
+ <attribute name="name">
+ <description>
+ Name of the BS VLAN. It is unique within the Blade System.
+ </description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+ <attribute name="description">
+ <description>
+ Short description of the BS VLAN.
+ </description>
+ <dataType><string/></dataType>
+ </attribute>
+ <attribute name="private">
+ <description>
+ Setting the private attribute to true, means
+ that the corresponding IS VLAN not can be
+ used by other Blade Systems. The IS VLAN is
+ private for this particular Blade System.
+ </description>
+ <dataType><boolean/></dataType>
+ </attribute>
+ <attribute name="isVlanRef">
+ <description>
+ The mapping to a corresponding IS VLAN. This
+ mapping must be done before the blades of the
+ Blade System can be unlocked.
+ </description>
+ <dataType><moRef name="IsVlan"/></dataType>
+ </attribute>
+ </class>
+
+ <class name="BsLogicalNetwork">
+ <description>
+ A BS Logical Network (BSLN) is associated to
+ one IS Logical Network. A BS Logical Network
+ is the requirement a Blade Systems have of an
+ IS Logical Network.
+
+ BS Logical Networks can either be created
+ manually by the operator or they can be
+ automatically created from pre-registered
+ network requirements bundled with the Blade
+ System software. Regardless of how they are
+ created, each one needs to be mapped to an IS
+ Logical Network before the blades can be
+ unlocked. The mapping is done with the
+ 'isLogicalNetworkRef' attribute.
+
+ Different instances of a Blade System type may call
+ their BS Logical Networks the same thing but in
+ the end the IS Site Designer can choose to map
+ them to the same or different IS Logical
+ Network.
+ </description>
+ <attribute name="name">
+ <description>
+ Name of the BS logical network. It is unique within the Blade System.
+ </description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+ <attribute name="description">
+ <description>
+ Short description of the BS Logical Network.
+ </description>
+ <dataType><string/></dataType>
+ </attribute>
+ <attribute name="private">
+ <description>
+ Flag that shows whether the BS Logical Network
+ is private for this Blade System or if it may
+ be shared among several Blade Systems.
+ </description>
+ <dataType><boolean/></dataType>
+ </attribute>
+ <attribute name="isLogicalNetworkRef">
+ <description>
+ Reference to the corresponding IS Logical Network.
+ </description>
+ <dataType><moRef name="IsLogicalNetwork"/></dataType>
+ </attribute>
+ </class>
+
+ <class name="BsSubnet">
+ <description>
+ A BS Subnet (BSSN) is associated to one IS
+ Subnet. A BS Subnet Network is the requirement a
+ Blade Systems have of an IS Subnet.
+
+ BS Subnets can either be created manually by the
+ operator or they can be automatically created
+ from pre-registered network requirements bundled
+ with the Blade System software. Regardless of
+ how they are created, each one needs to be
+ mapped to both a BS VLan and an IS Subnet before
+ blades can be unlocked via the Hardware service.
+ Each BS Subnet contains one or more BS Subnet
+ Segments. The mappings are done with the
+ 'bsVlanRef' and 'isSubnetRef' attributes.
+
+ Different instances of a Blade System type may
+ call their BS Subnets the same thing but in the
+ end the IS Site Designer can choose to map them
+ to the same or different IS Subnet.
+ </description>
+ <attribute name="name">
+ <description>
+ Name of the BS Subnet. It is unique within the BS Logical Network.
+ </description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+ <attribute name="description">
+ <description>
+ Short description of the BS Subnet.
+ </description>
+ <dataType><string><defaultValue>default</defaultValue></string></dataType>
+ </attribute>
+ <attribute name="bsVlanRef">
+ <description>
+ The mapping to a corresponding BS Vlan. This
+ mapping must be done before the blades of the
+ Blade System can be unlocked.
+ </description>
+ <dataType><moRef name="BsVlan"/></dataType>
+ </attribute>
+ <attribute name="isSubnetRef">
+ <description>
+ The mapping to a corresponding IS Subnet. This
+ mapping must be done before the blades of the
+ Blade System can be unlocked.
+ </description>
+ <dataType><moRef name="IsSubnet"/></dataType>
+ </attribute>
+ </class>
+
+ <class name="BsSubnetSegment">
+ <description>
+ A BS Subnet Segment (BSSNS) is associated to one
+ IS Subnet Segment. A BS Subnet Segment is the
+ requirement a Blade Systems have of an IS Subnet
+ Segment.
+
+ BS Subnet Segments can either be created manually
+ by you or they can be automatically created from
+ pre-registered network requirements bundled with
+ the Blade System software. Regardless of how they
+ are created, each one needs to be mapped to an IS
+ Subnet Segment before the blades can be unlocked
+ via the Hardware service. The mapping is done
+ with the 'isSubnetSegmentRef' attribute.
+
+ Different instances of a Blade System type may
+ call their BS Subnet Segments the same thing but
+ in the end the IS Site Designer can choose to
+ map them to the same or different IS Subnet
+ Segment.
+ </description>
+ <attribute name="name">
+ <description>
+ Name of the BS Subnet Segment. It is unique within the BS Subnet.
+ </description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+ <attribute name="description">
+ <description>
+ Short description of the BS Subnet Segment.
+ </description>
+ <dataType><string/></dataType>
+ </attribute>
+ <attribute name="numOfIpaddresses">
+ <description>
+ Number of required IP addresses in the IS Subnet Segment.
+ </description>
+ <dataType><integer/></dataType>
+ </attribute>
+ <attribute name="dhcpEnabled">
+ <description>
+ Flag that controls whether the corresponding IS
+ Subnet Segment is required to have DHCP enabled
+ or not.
+ </description>
+ <dataType><boolean/></dataType>
+ </attribute>
+ <attribute name="routerRequired">
+ <description>
+ Flag that controls whether the corresponding IS
+ Subnet Segment is required to have a router
+ configured or not.
+ </description>
+ <dataType><boolean/></dataType>
+ </attribute>
+ <attribute name="isSubnetSegmentRef">
+ <description>
+ The mapping to a corresponding IS Subnet
+ Segment. The mapping here must be done before
+ the blades of the blade system can be unlocked.
+ </description>
+ <dataType>
+ <moRef name="IsSubnetSegment"/>
+ </dataType>
+ </attribute>
+ </class>
+
+ <class name="BsVlanSap">
+ <description>
+ There is a BS VLAN Service Access Point (BSVSAP)
+ for each Link Service Access Point that an IS
+ VLAN straddles. It is per BS VLAN Service Access
+ Point that certain VLAN properties, such as if it
+ is mandatory to enable isolation protection.
+
+ BS VLAN Service Access Points can either be
+ created manually by the operator or they can be
+ automatically created from pre-registered network
+ requirements bundled with the Blade System
+ software. Regardless of how they are created,
+ each one needs to be mapped to an Link SAP before
+ the blades can be unlocked. The mapping is done
+ with the 'linkSapRef' attribute.
+ </description>
+ <attribute name="name">
+ <description>
+ Name of the BS VLAN SAP. It is unique within the BS VLAN.
+ </description>
+ <dataType>
+ <string/>
+ </dataType>
+ <key/>
+ </attribute>
+ <attribute name="description">
+ <description>
+ Short description of the BS VLAN SAP.
+ </description>
+ <dataType>
+ <string/>
+ </dataType>
+ </attribute>
+ <attribute name="static">
+ <description>
+ Flag which controls whether this BS VLAN SAP
+ makes static or dynamic use of the
+ corresponding IS VLAN.
+ </description>
+ <dataType>
+ <boolean/>
+ </dataType>
+ </attribute>
+ <attribute name="protected">
+ <description>
+ Flag which controls whether this BS VLAN SAP should be
+ isolation protected or not.
+ </description>
+ <dataType>
+ <boolean/>
+ </dataType>
+ </attribute>
+ <attribute name="linkSapRef">
+ <description>
+ A mapping to the corresponding Link Service Access Point.
+ </description>
+ <dataType>
+ <moRef name="LinkSap"/>
+ </dataType>
+ </attribute>
+ </class>
+
+ <class name="BsIpTrafficClass">
+ <description>
+ A BS IP Traffic Class (BSIPTC) is the
+ requirement a Blade System have of an IS IP
+ Traffic Class.
+
+ BS IP Traffic Classes can either be created
+ manually by you or they can be automatically
+ created from pre-registered network requirements
+ bundled with the Blade System software. Regardless
+ of how they are created, each one needs to be
+ mapped to an IS IP Traffic Class before the blades
+ can be unlocked via the Hardware service. The
+ mapping is done with the 'isIpTrafficClassRef'
+ attribute.
+
+ Different instances of a Blade System type may
+ call their BS IP Traffic Classes the same thing but
+ in the end the IS Site Designer may choose to
+ map them to the same or different IS IP Traffic
+ Classes.
+ </description>
+ <attribute name="name">
+ <description>
+ The name of the BS IP Traffic Class. It is
+ unique within the Blade System.
+ </description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+ <attribute name="description">
+ <description>
+ A short description of The BS IP Traffic Class.
+ </description>
+ <dataType><string/></dataType>
+ </attribute>
+ <attribute name="isIpTrafficClassRef">
+ <description>
+ The mapping to a corresponding IS IP Traffic
+ Class. This mapping must be done before the
+ blades of the Blade System can be unlocked.
+ </description>
+ <dataType><moRef name="IsIpTrafficClass"/></dataType>
+ </attribute>
+ </class>
+
+ <class name="BsLanTrafficClass">
+ <description>
+ A BS LAN Traffic Class (BSLANTC) is the
+ requirement a Blade System have of an IS LAN
+ Traffic Class. Different instances of a Blade
+ System type may call their BS Traffic Classes
+ the same thing but in the end the IS Site
+ Designer may choose to map them to the same or
+ different IS LAN Traffic Classes.
+
+ BS LAN Traffic Classes can either be created
+ manually by you or they can be automatically
+ created from pre-registered network requirements
+ bundled with the Blade System software. Regardless
+ of how they are created, each one needs to be
+ mapped to an IS LAN Traffic Class before the blades
+ can be unlocked via the Hardware service. The
+ mapping is done with the 'isLanTrafficClassRef'
+ attribute.
+
+ Different instances of a Blade System type may
+ call their BS LAN Traffic Classes the same
+ thing but in the end the IS Site Designer may
+ choose to map them to the same or different IS
+ LAN Traffic Classes.
+ </description>
+ <attribute name="name">
+ <description>
+ Name of the BS IP Traffic Class. It is unique within the Blade System.
+ </description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+ <attribute name="description">
+ <description>
+ Short description of the BS IP Traffic Class.
+ </description>
+ <dataType><string/></dataType>
+ </attribute>
+ <attribute name="isLanTrafficClassRef">
+ <description>
+ The mapping to a corresponding IS LAN Traffic
+ Class. This mapping must be done before the
+ blades of the Blade System can be unlocked.
+ </description>
+ <dataType><moRef name="IsLanTrafficClass"/></dataType>
+ </attribute>
+ </class>
+
+
+ <!--
+ Relatonship Definitions
+ -->
+
+ <relationship name="BladeSystemsTop">
+ <containment>
+ <parent>
+ <hasClass name="top_mim:Is"/>
+ </parent>
+ <child>
+ <hasClass name="BladeSystems"/>
+ </child>
+ </containment>
+ </relationship>
+
+ <relationship name="BsMount">
+ <containment>
+ <parent>
+ <hasClass name="BladeSystems"/>
+ </parent>
+ <child>
+ <hasClass name="BladeSystem"/>
+ </child>
+ </containment>
+ </relationship>
+
+ <relationship name="Blades">
+ <containment>
+ <parent>
+ <hasClass name="BladeSystem"/>
+ </parent>
+ <child>
+ <hasClass name="Blade"/>
+ </child>
+ </containment>
+ </relationship>
+
+ <relationship name="LinkSaps">
+ <containment>
+ <parent><hasClass name="Blade"/></parent>
+ <child><hasClass name="LinkSap"/></child>
+ </containment>
+ </relationship>
+
+ <relationship name="NcMount">
+ <containment>
+ <parent><hasClass name="BladeSystem"/></parent>
+ <child><hasClass name="BsNetworkConfiguration"/></child>
+ </containment>
+ </relationship>
+
+ <relationship name="BsVlans">
+ <containment>
+ <parent><hasClass name="BsNetworkConfiguration"/></parent>
+ <child>
+ <hasClass name="BsVlan"/>
+ <cardinality><min>1</min></cardinality>
+ </child>
+ </containment>
+ </relationship>
+
+ <relationship name="BsVlanSaps">
+ <containment>
+ <parent><hasClass name="BsVlan"/></parent>
+ <child>
+ <hasClass name="BsVlanSap"/>
+ <cardinality><min>1</min></cardinality>
+ </child>
+ </containment>
+ </relationship>
+
+ <relationship name="BsLogicalNetworks">
+ <containment>
+ <parent><hasClass name="BsNetworkConfiguration"/></parent>
+ <child><hasClass name="BsLogicalNetwork"/></child>
+ </containment>
+ </relationship>
+
+ <relationship name="BsSubnets">
+ <containment>
+ <parent><hasClass name="BsLogicalNetwork"/></parent>
+ <child>
+ <hasClass name="BsSubnet"/>
+ <cardinality><min>1</min></cardinality>
+ </child>
+ </containment>
+ </relationship>
+
+ <relationship name="BsSubnetSegments">
+ <containment>
+ <parent><hasClass name="BsSubnet"/></parent>
+ <child><hasClass name="BsSubnetSegment"/></child>
+ </containment>
+ </relationship>
+
+ <relationship name="BsIpTrafficClasses">
+ <containment>
+ <parent><hasClass name="BsNetworkConfiguration"/></parent>
+ <child><hasClass name="BsIpTrafficClass"/></child>
+ </containment>
+ </relationship>
+
+ <relationship name="BsLanTrafficClasses">
+ <containment>
+ <parent><hasClass name="BsNetworkConfiguration"/></parent>
+ <child><hasClass name="BsLanTrafficClass"/></child>
+ </containment>
+ </relationship>
+
+
+
+</mim>
diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/dummy_action_mim.xml b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/dummy_action_mim.xml new file mode 100644 index 0000000000..d691fe0b3f --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/dummy_action_mim.xml @@ -0,0 +1,186 @@ +<mim xmlns="http://www.ericsson.com/is/isco/mim/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ericsson.com/is/isco/mim/2.0 /vobs/isac/sis/OAM_CRA1190047_1/CCS_CNA113082/doc/15519/mim.xsd "> + <exception name="dummyException"> + <description> + Exception description + </description> + <exceptionParameter name="dummyExcPar1"> + <description> + Exception parameter description + </description> + <dataType><integer/></dataType> + </exceptionParameter> + <exceptionParameter name="dummyExcPar2"> + <description> + Exception parameter description + </description> + <dataType> + <integer/> + </dataType> + </exceptionParameter> + </exception> + + + <class name="DummyActions"> + <singleton/> + <attribute name="dummy"> + <dataType><integer/></dataType> + </attribute> + <action name="actNoParams"> + <description> + Action with no parameters + </description> + <returnType> + <description> + Maybe strange to describe void, but here is a description anyway. + </description> + <void/> + </returnType> + </action> + <action name="actOneParam"> + <description> + Action with one parameter + </description> + <returnType> + <dataType> + <string> + <validValues> + <value name="ok"/> + <value name="error"/> + </validValues> + </string> + </dataType> + </returnType> + <parameter name="a"> + <dataType> + <integer> + <range> + <min>0</min> + <max>3</max> + </range> + </integer> + </dataType> + </parameter> + </action> + <action name="actManyParams"> + <description> + Action with many parameters, even some optional + </description> + <returnType> + <dataType> + <integer> + <range> + <min>0</min> + <max>100</max> + </range> + </integer> + </dataType> + </returnType> + <parameter name="a"> + <dataType> + <integer> + <range> + <min>0</min> + <max>3</max> + </range> + </integer> + </dataType> + </parameter> + <parameter name="b"> + <dataType> + <integer> + <range> + <min>0</min> + <max>3</max> + </range> + </integer> + </dataType> + </parameter> + <parameter name="c"> + <dataType> + <integer> + <range> + <min>0</min> + <max>3</max> + </range> + </integer> + </dataType> + <initialValue>0</initialValue> + <isOptional/> + </parameter> + <parameter name="d"> + <description>parameterdescription</description> + <dataType> + <integer/> + </dataType> + <isOptional/> + </parameter> + </action> + <action name="actComplexParams"> + <description> + Action with parameters with complex datatypes + </description> + <returnType> + <description> + Here is a description of the return value for this action. + </description> + <dataType> + <string> + <validValues> + <value name="siri"/> + <value name="sara"/> + </validValues> + </string> + </dataType> + </returnType> + <parameter name="dummyParameter"> + <dataType><integer/></dataType> + </parameter> + <parameter name="structParameter"> + <dataType> + <struct> + <structMember name="a"> + <dataType><integer/></dataType> + </structMember> + <structMember name="b"> + <dataType><integer/></dataType> + </structMember> + </struct> + </dataType> + </parameter> + <raisesException name="dummyException"/> + </action> + <action name="actComplexReturn"> + <returnType> + <dataType> + <struct> + <structMember name="a"> + <dataType><integer/></dataType> + </structMember> + <structMember name="b"> + <dataType><integer/></dataType> + </structMember> + </struct> + </dataType> + </returnType> + </action> + <action name="actException"> + <returnType> + <void/> + </returnType> + <raisesException name="dummyException"/> + </action> + </class> + + + <relationship name="Top">
+ <containment>
+ <parent>
+ <hasClass name="top_mim:Is"/>
+ </parent>
+ <child>
+ <hasClass name="DummyActions"/>
+ </child>
+ </containment>
+ </relationship>
+ +</mim>
\ No newline at end of file diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/hwm_mim.xml b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/hwm_mim.xml new file mode 100644 index 0000000000..a7a18b0070 --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/hwm_mim.xml @@ -0,0 +1,631 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?>
+
+<!--
+
+Copyright (C) Ericsson AB 2006-2007 All rights reserved.
+
+The information in this document is the property of Ericsson.
+
+Except as specifically authorized in writing by Ericsson, the
+receiver of this document shall keep the information contained
+herein confidential and shall protext the same in whole or in part
+from disclosure and dissemination to third parties.
+
+Disclosure and disseminations to the receivers employees shall
+only be made on a strict need to know basis.
+
+-->
+
+
+<mim xmlns="http://www.ericsson.com/is/isco/mim/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ericsson.com/is/isco/mim/2.0 /vobs/isac/sis/OAM_CRA1190047_1/CCS_CNA113082/doc/15519/mim.xsd ">
+
+ <!--
+ DataType Definitions
+ -->
+
+ <dataType name="HwmSlotState">
+ <description>
+ Information of how the slot is used.
+ </description>
+ <string>
+ <validValues>
+ <value name="unusedEmpty"/>
+ <value name="usedEmpty"/>
+ <value name="unusedOccupied"/>
+ <value name="usedOccupied"/>
+ </validValues>
+ </string>
+ </dataType>
+
+
+ <!--
+ Class Definitions
+ -->
+
+ <exception name="dummyException">
+ <exceptionParameter name="dummyExcPar1">
+ <dataType><integer/></dataType>
+ </exceptionParameter>
+ <exceptionParameter name="dummyExcPar2">
+ <dataType><integer/></dataType>
+ </exceptionParameter>
+ </exception>
+
+
+ <class name="Hardware">
+ <description>
+ The purpose of the Hardware Management function is to make it possible to maintain
+ the Hardware Inventory (HWI) for the Integrated Site and to present its content via ISM
+ or to a management system. And also to maintain the subracks usage.
+ </description>
+ <singleton/>
+ <systemCreated/>
+
+ <attribute name="activeSis">
+ <description>
+ The subrack,slot of the active om SIS. The format is "subrack.slot".
+ </description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <action name="actComplexParams">
+ <returnType>
+ <void/>
+ </returnType>
+ <parameter name="structParameter">
+ <dataType>
+ <struct>
+ <structMember name="a">
+ <dataType><integer/></dataType>
+ </structMember>
+ <structMember name="b">
+ <dataType><integer/></dataType>
+ </structMember>
+ </struct>
+ </dataType>
+ </parameter>
+ </action>
+
+ <action name="actComplexReturn">
+ <returnType>
+ <dataType>
+ <struct>
+ <structMember name="a">
+ <dataType><integer/></dataType>
+ </structMember>
+ <structMember name="b">
+ <dataType><integer/></dataType>
+ </structMember>
+ </struct>
+ </dataType>
+ </returnType>
+ </action>
+
+ <action name="actException">
+ <returnType>
+ <void/>
+ </returnType>
+ <raisesException name="dummyException"/>
+ </action>
+
+ <action name="createInfraStructure">
+ <description>
+ Creates the base IS infrastructure.
+ This is noramlly done at factory.
+ </description>
+ <returnType>
+ <void/>
+ </returnType>
+ </action>
+
+ <action name="exportInventory">
+ <description>
+ Exports the Hardware Inventory via FTP.
+ This is an asyncrounous operation. The file exported
+ will have the following name format:
+ <node>.<timestamp>.HWI.xml.tar.gz
+ </description>
+ <returnType>
+ <void/>
+ </returnType>
+ <parameter name="host">
+ <description>
+ The host to which the data should be sent to
+ </description>
+ <dataType><string/></dataType>
+ </parameter>
+ <parameter name="user">
+ <description>
+ The username on the host to be used during the FTP transfer.
+ </description>
+ <dataType><string/></dataType>
+ </parameter>
+ <parameter name="password">
+ <description>
+ The pasword of the user
+ </description>
+ <dataType><string/></dataType>
+ </parameter>
+ <parameter name="path">
+ <description>
+ The path were to put the file
+ </description>
+ <dataType><string/></dataType>
+ </parameter>
+ </action>
+
+ </class>
+
+ <class name="BladeType">
+ <description>
+ This class describes a Blade type.
+ </description>
+ <systemCreated/>
+
+ <attribute name="type">
+ <description>The blade type number like CNA12801</description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+
+ <attribute name="swgId">
+ <description>The blade software group index link CSX10138</description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+
+ <attribute name="swgRev">
+ <description>The blade software group revision</description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+
+ <attribute name="name">
+ <description>The name of the Blade Type.</description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="width">
+ <description>The width of the blade in number of slots.</description>
+ <dataType>
+ <integer/>
+ </dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="oneGLinks">
+ <description>
+ The 1G links used by the blade type , like 0,1, counted from
+ the leftmost backplane position.
+ </description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="linkAggregates">
+ <description>
+ The 1G links used for link aggregation by the blade type , like 0-1,
+ counted from the leftmost backplane position.
+ </description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="hasHwData">
+ <description>
+ True if possible to read product info via the maintenance bus.
+ </description>
+ <dataType><boolean/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="isMxb">
+ <description>True if this is a Main Switch blade type.</description>
+ <dataType><boolean/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="availOneGSlots">
+ <description>
+ Only valid for main switch blades. A list of slots that have 1G link.
+ Could be a single slot or a range or a combination thereof.
+ E.g. 1-24, or 1,3-13,15-24.
+ </description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="aggregateRanges">
+ <description>
+ Only valid for main switch blades. Specifies which slots can be used
+ for link aggregation. Ranges are specified in the form 1-12,13-24.
+ </description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ </class>
+
+
+ <class name="BladeSystemDomain">
+ <description>
+ This class describes a Blade system domain.
+ </description>
+ <systemCreated/>
+
+ <attribute name="name">
+ <description>The blade system domain name.</description>
+ <dataType><string/></dataType>
+ <key/>
+ </attribute>
+
+ <attribute name="description">
+ <description>The description of the blade system domain.</description>
+ <dataType><string/></dataType>
+<!-- <key/> -->
+ </attribute>
+
+ </class>
+
+
+ <class name="Subrack">
+ <description>
+ This class describes the subrack.
+ </description>
+ <extension>
+ <callpoint id="Is_Hardware_Subrack" type="external"/>
+<!-- <validate id="Is_Hardware_Subrack" type="external" callOnce="true"/>-->
+ </extension>
+
+ <attribute name="id">
+ <description>Identifies a certain subrack.</description>
+ <dataType>
+ <integer><range><min>0</min><max>31</max></range></integer>
+ </dataType>
+ <key/>
+ </attribute>
+
+ <attribute name="type">
+ <description>The type of subrack.</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="userLabel">
+ <description>A user friendly Subrack name.</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="position">
+ <description>The subrack position in the cabinet.</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="cabinetPosition">
+ <description>The cabinet position in the site.</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="location">
+ <description>The site location, e.g. the visiting address.</description>
+ <dataType><string/></dataType>
+ </attribute>
+
+ <attribute name="availableOneGSlots">
+ <description>
+ Available slots for 1G switch links. Information taken from the type
+ of main switch blade that is created in the subrack.
+ </description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="availableTenGSlots">
+ <description>
+ Available slots for 10G switch links. Information taken from the type
+ of main switch blade that is created in the subrack.
+ </description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="aggregateSlots">
+ <description>
+ Links ranges for (1G) link aggregation. Information taken from the
+ type of main switch blade that is created in the subrack.
+ </description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="physicalAddrPlug0">
+ <description>
+ The value of the physical plug 0.
+ </description>
+ <dataType><integer/></dataType>
+ <mandatory/>
+ </attribute>
+
+ <attribute name="physicalAddrPlug1">
+ <description>
+ The value of the physical plug 1.
+ </description>
+ <dataType><integer/></dataType>
+ <mandatory/>
+ </attribute>
+
+ <attribute name="physicalAddrPlug3">
+ <description>
+ The value of the physical plug 3.
+ </description>
+ <dataType><integer/></dataType>
+ <mandatory/>
+ </attribute>
+
+ <attribute name="leftMxbBsSwgId">
+ <description>
+ The BS SWG Id of the left MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="leftMxbBsSwgRev">
+ <description>
+ The BS SWG Revision of the left MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="leftMxbBsCxrId">
+ <description>
+ The BS CXR Id (if any) of the left MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="leftMxbBsCxrRev">
+ <description>
+ The BS CXR Revision (if any) of the left MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="leftMxbBlSwgId">
+ <description>
+ The BL SWG Id of the left MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="leftMxbBlSwgRev">
+ <description>
+ The BL SWG Revision of the left MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="leftMxbBlCxrId">
+ <description>
+ The BL CXR Id (if any) of the left MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="leftMxbBlCxrRev">
+ <description>
+ The BL CXR Revision (if any) of the left MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="rightMxbBsSwgId">
+ <description>
+ The BS SWG Id of the right MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="rightMxbBsSwgRev">
+ <description>
+ The BS SWG Revision of the right MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="rightMxbBsCxrId">
+ <description>
+ The BS CXR Id (if any) of the right MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="rightMxbBsCxrRev">
+ <description>
+ The BS CXR Revision (if any) of the right MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="rightMxbBlSwgId">
+ <description>
+ The BL SWG Id of the right MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="rightMxbBlSwgRev">
+ <description>
+ The BL SWG Revision of the right MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="rightMxbBlCxrId">
+ <description>
+ The BL CXR Id (if any) of the right MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+
+ <attribute name="rightMxbBlCxrRev">
+ <description>
+ The BL CXR Revision (if any) of the right MXB in the subrack.
+ If not given the system will use the same as the
+ MXB in subrack 0. This might not be corect however.
+ </description>
+ <dataType><string/></dataType>
+ <restricted/>
+ </attribute>
+ </class>
+
+ <class name="Slot">
+ <description>
+ This class corresponds to slots, there is one instance
+ for each slot. The slots are grouped per subrack. A slot is
+ identified by subrack Id and slot number). The subrack Id for a slot
+ identifies in the subrackTable the subrack that the slot belongs
+ to.
+ </description>
+ <systemCreated/>
+
+ <attribute name="number">
+ <description>
+ The value of this object identifies the
+ slot position within the subrack.
+ </description>
+ <dataType>
+ <integer><range><min>0</min><max>25</max></range></integer>
+ </dataType>
+ <key/>
+ </attribute>
+
+ <attribute name="state">
+ <description>
+ See HwmSlotState description.
+ </description>
+ <dataType name.ref="HwmSlotState"/>
+ <readOnly/>
+ </attribute>
+
+ <attribute name="bladeSystem">
+ <description>
+ The value of this object identifies the Blade System that uses this
+ slot. An instances of this object will only have meaning in a
+ conceptual row if the value of hwmSlotState instance is either
+ usedOccupied or usedEmpty in the same conceptual row,
+ i.e. there is an Blade System created using this slot. (If
+ no Blade System is using the slot, the value will be "-".)
+ </description>
+ <dataType><string/></dataType>
+ <readOnly/>
+ </attribute>
+
+ </class>
+
+
+ <!--
+ Relatonship Definitions
+ -->
+
+ <relationship name="HwmTop">
+ <containment>
+ <parent>
+ <hasClass name="top_mim:Is"/>
+ </parent>
+ <child>
+ <hasClass name="Hardware"/>
+ </child>
+ </containment>
+ </relationship>
+
+ <relationship name="BladeTypes">
+ <containment>
+ <parent>
+ <hasClass name="Hardware"/>
+ </parent>
+ <child>
+ <hasClass name="BladeType"/>
+ </child>
+ </containment>
+ </relationship>
+
+ <relationship name="BladeSystemDomains">
+ <containment>
+ <parent>
+ <hasClass name="Hardware"/>
+ </parent>
+ <child>
+ <hasClass name="BladeSystemDomain"/>
+ </child>
+ </containment>
+ </relationship>
+
+ <relationship name="Subracks">
+ <containment>
+ <parent>
+ <hasClass name="Hardware"/>
+ </parent>
+ <child>
+ <hasClass name="Subrack"/>
+ </child>
+ </containment>
+ </relationship>
+
+ <relationship name="Slots">
+ <containment>
+ <parent>
+ <hasClass name="Subrack"/>
+ </parent>
+ <child>
+ <hasClass name="Slot"/>
+ </child>
+ </containment>
+ </relationship>
+</mim>
+
diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/instance.xml b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/instance.xml new file mode 100644 index 0000000000..e39152cada --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/instance.xml @@ -0,0 +1,240 @@ +<?xml version="1.0" encoding="iso-8859-1"?> + +<!-- Copyright (C) Ericsson AB 2006 All rights reserved. --> + +<!-- Integrated Site Managed Object Model. --> + +<!-- + This is a template for the IntegratedSite model version 1, + which consists of the following mim files: + /vobs/isac/sis/OAM_CRA1190047_1/CPD_CNA11381/doc/19062/cpd_mim.xml + /vobs/isac/sis/OAM_CRA1190047_1/HWM_CNA11309/doc/19062/hwm_mim.xml + /vobs/isac/sis/OAM_CRA1190047_1/SCA_CNA113119/doc/19062/bs_mim.xml + /vobs/isac/sis/OAM_CRA1190047_1/SWM_CNA11315/doc/19062/swm_mim.xml + /vobs/isac/sis/OAM_CRA1190047_1/doc/19062/top_mim.xml + +--> +<IntegratedSite:model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:nc="http://www.ericsson.com/is/isco/nc" xmlns:IntegratedSite="http://www.ericsson.com/is/isco/IntegratedSite" xmlns:IsTypes="http://www.ericsson.com/is/isco/IsTypes" xmlns:MainSwitch="http://www.ericsson.com/is/isco/MainSwitch_1" xmlns:MyBsModel="http://www.ericsson.com/is/isco/MyBsModel_1" xsi:schemaLocation="http://www.ericsson.com/is/isco/IntegratedSite IntegratedSite.xsd"> + + <!-- + The top class - the forefather of all classes. + + Key attributes: [] + + Possible children: + BladeSystems + Hardware + NetworkConfiguration + Software + --> + <Is> + + + <!-- These three are just for verifying that the xml schema allows + the correct order of the child elements of the Is class --> +<!-- + <Hardware/> + <Software/> + <NetworkConfiguration/> +--> + + <!-- + The BladeSystems mountpoint - parent of all blade systems. + + Key attributes: [] + + Possible children: + BladeSystemTemplate + Mxb + MyBsModel + Sis + --> + <BladeSystems> + + <!-- + This class describes a Blade System. It will be cloned for each + new blade system type registered in the system. The new clone + will serve as a mountpoint for the blade system specific model. + + Key attributes: [name] + + Possible children: + Blade + BsIpTrafficClass + BsLanTrafficClass + BsLogicalNetwork + BsVlan + --> + <MyBsModel> + <!-- + A user friendly Blade System name, must be set at creation and can be + changed when BS is locked. + --> + <name>bs_localhost_101</name> + <!-- + An identifier for the BS. A new integer has to be used every time a new + BS is created. ??? Kvar ??? + --> + <!-- + The model for a blade system. Includes som mim files, which also uses + stuff from a sis model. + --> + + <!-- + This is a template for the MyBsModel model version 1, + which consists of the following mim files: + /vobs/isac/sis/OAM_CRA1190047_1/CCS_CNA113082/test/local_test/ccs_parser_SUITE_data/myTest_mim.xml, Version: /main/R2A/10 + /vobs/isac/sis/OAM_CRA1190047_1/CCS_CNA113082/test/local_test/ccs_parser_SUITE_data/other_mim.xml + + --> + <MyBsModel:model> + + <!-- + This is a class which can be assigned as an attribute of ChildClass. + Key attribute is 'id'. + + Key attributes: [id] + --> + <Blipp nc:operation="replace"> + <id>name1</id> + <truefalse>true</truefalse> + <ipAddress> + 10.11.12.13 + </ipAddress> + <macAddress>AA:BB:CC:DD:EE:FF</macAddress> + <moAttributeDeep nc:operation="replace"> + /IntegratedSite:model/Is/BladeSystems/MyBsModel[name='bs_localhost_101']/MyBsModel:model/MyClass[id1='Obj'][id2='1']/ChildClass[id='Obj2'] + </moAttributeDeep> + </Blipp> + + <Blipp> + <id>name2</id> + <truefalse>false</truefalse> + <ipAddress>20.21.22.23</ipAddress> + <macAddress>01:02:03:04:5:6</macAddress> + <moAttributeDeep> + MyClass[id1='Obj'][id2='1']/ChildClass[id='Obj3'] + </moAttributeDeep> + </Blipp> + + <!-- + My Test Class + The class hierarky looks like this: + + +==========+ + |MountPoint| + +==========+ + / \ + / \ + +=======+ +=======+ + | Blipp | |MyClass| + +=======+ +=======+ + | + | + +==========+ + |ChildClass| + +==========+ + + Key attributes: [id1,id2] + + Possible children: + ChildClass: + Definition of children under MyClass + --> + <MyClass> + <!-- Test class identifyer - part1 --> + <id1>Obj</id1> + <!-- Test class identifyer - part2 --> + <id2>1</id2> + <date>2006-03-08T03:00:00.9+03:00</date> + <date2>2006-03-15T22:59:58.99-01:00</date2> + <list> + <item>0</item> + <item>1</item> + <item nc:operation="delete">3</item> + </list> + <list2> + <item> + <!-- Struct: sis_model:uselessStruct --> + <field1>hei</field1> + <field2 nc:operation="replace">1</field2> + </item> + <item nc:operation="replace"> + <!-- Struct: sis_model:uselessStruct --> + <field1> + hopp + </field1> + <field2>2</field2> + </item> + </list2> + <list3> + <item>hei</item> + <item>hopp</item> + </list3> + <yesNo> + yes + </yesNo> + <!-- Attribute description. --> + <commonStruct> + <!-- + Struct: myNamedStruct + Struct description + --> + <counter>0</counter> + <state>locked</state> + <dummyStructRef> + <!-- Struct: sis_model:uselessStruct --> + <field1>hei</field1> + <field2>1</field2> + </dummyStructRef> + <dummySequence> + <item> + <field1>hopp</field1> + <field2>2</field2> + </item> + <item> + <field1>sa</field1> + <field2>3</field2> + </item> + <item> + <field1>sa</field1> + <field2>4</field2> + </item> + </dummySequence> + <inlineStruct> + <a>1</a> + <b>1.0</b> + <c>true</c> + </inlineStruct> + </commonStruct> + <dummyInternal>hei</dummyInternal> + <trueOrFalse>false</trueOrFalse> + <!-- + Child of MyClass + + Key attributes: [id] + --> + <ChildClass> + <id>Obj2</id> + <moAttribute>/IntegratedSite:model/Is/BladeSystems/MyBsModel[name='bs_localhost_101']/MyBsModel:model/Blipp[id='name1']</moAttribute> + <moAttributeNamed> + /IntegratedSite:model/Is/BladeSystems/MyBsModel[name='bs_localhost_101']/MyBsModel:model/MyClass[id1='Obj'][id2='1'] + </moAttributeNamed> + </ChildClass> + <ChildClass> + <id>Obj3</id> + <moAttribute>../../Blipp[id='name2']</moAttribute> +<!-- <moAttributeNamed>../MyClass[id1='Obj'][id2='1']</moAttributeNamed> --> + <moAttributeNamed>Dummy/MyClass[id1='Obj'][id2='1']</moAttributeNamed> + </ChildClass> + </MyClass> + + </MyBsModel:model> + </MyBsModel> + + </BladeSystems> +<!-- + <MainSwitch:model/> +--> + </Is> +</IntegratedSite:model> diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/mim.xsd b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/mim.xsd new file mode 100644 index 0000000000..e0534e8e14 --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/mim.xsd @@ -0,0 +1,486 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema targetNamespace="http://www.ericsson.com/is/isco/mim/2.0" xmlns="http://www.ericsson.com/is/isco/mim/2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <!-- + ============================================================================ + %CCaseFile: mim.xsd % + %CCaseRev: /main/P4B/1 % + %CCaseDate: 2007-05-29 % + %CCaseDocNo: 22/155 19-CNA 113 082 Ux % + %Rev: Error in Revision! % + Author: EAB/AUL/IS Siri Hansen + + ============================================================================ + + Copyright (c) Ericsson AB 2006-2007 All rights reserved. + + The information in this document is the property of Ericsson. + + Except as specifically authorized in writing by Ericsson, the + receiver of this document shall keep the information contained + herein confidential and shall protect the same in whole or in + part from disclosure and dissemination to third parties. + + Disclosure and disseminations to the receivers employees shall + only be made on a strict need to know basis. + --> + <!-- Common --> + <xs:element name="description" type="xs:string"/> + <xs:element name="extension"> + <xs:complexType> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="anyElement"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="anyAttribute"> + <xs:anyAttribute processContents="skip"/> + </xs:attributeGroup> + <xs:group name="anyElement"> + <xs:sequence> + <xs:any processContents="skip"/> + </xs:sequence> + </xs:group> + <!-- Mim definition --> + <xs:element name="mim"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="topClass"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="dataTypeDef"/> + <xs:element ref="exception"/> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="relationship"/> + </xs:sequence> + <xs:attribute name="version"/> + </xs:complexType> + </xs:element> + <xs:element name="topClass"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="sortPriority"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + <xs:attribute name="minOccurs"/> + <xs:attribute name="maxOccurs"/> + </xs:complexType> + </xs:element> + <!-- MO class definition --> + <xs:element name="class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="default_access"/> + <xs:choice> + <xs:sequence> + <xs:element ref="singleton"/> + <xs:element minOccurs="0" ref="systemCreated"/> + <xs:element minOccurs="0" ref="readOnly"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="dataTypeDef"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="attribute"/> + </xs:sequence> + <xs:sequence> + <xs:element minOccurs="0" ref="systemCreated"/> + <xs:element minOccurs="0" ref="readOnly"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="dataTypeDef"/> + <xs:element maxOccurs="unbounded" ref="attribute"/> + </xs:sequence> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="action"/> + </xs:sequence> + <xs:attribute name="name" use="required"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[A-Z][A-Za-z0-9]*"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> + <xs:element name="singleton"> + <xs:complexType/> + </xs:element> + <xs:element name="systemCreated"> + <xs:complexType/> + </xs:element> + <!-- Relations --> + <xs:element name="relationship"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element ref="containment"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="containment"> + <xs:complexType> + <xs:sequence> + <xs:element ref="parent"/> + <xs:element ref="child"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="parent" type="hasClass"/> + <xs:element name="child"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="hasClass"> + <xs:sequence> + <xs:element minOccurs="0" ref="cardinality"/> + <xs:element minOccurs="0" ref="sortPriority"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="sortPriority" type="xs:int"/> + <xs:element name="cardinality" type="rangeType"/> + <xs:complexType name="hasClass"> + <xs:sequence> + <xs:element ref="hasClass"/> + </xs:sequence> + </xs:complexType> + <xs:element name="hasClass"> + <xs:complexType> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <!-- Data types --> + <xs:element name="simple_type" abstract="true" substitutionGroup="type"/> + <xs:element name="type" abstract="true"/> + <!-- For attributes, parameters and exceptions --> + <xs:group name="dataType"> + <xs:sequence> + <xs:element name="dataType" nillable="true"> + <xs:complexType> + <xs:choice> + <xs:element ref="type" minOccurs="0"/> + <xs:element ref="xs_list" minOccurs="0"/> + </xs:choice> + <xs:attribute name="name.ref" use="optional"/> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:group> + <xs:group name="simpleDataType"> + <xs:sequence> + <xs:element name="dataType" nillable="true"> + <xs:complexType> + <xs:sequence> + <xs:element ref="simple_type" minOccurs="0"/> + </xs:sequence> + <xs:attribute name="name.ref" use="optional"/> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:group> + <xs:group name="dataTypeDef"> + <xs:sequence> + <xs:element name="dataType"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:choice> + <xs:element ref="type"/> + <xs:element ref="xs_list"/> + </xs:choice> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:group> + <!-- For actions --> + <xs:element name="returnType"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:choice> + <xs:element ref="void"/> + <xs:group ref="dataType"/> + </xs:choice> + </xs:sequence> + </xs:complexType> + </xs:element> + <!-- Return data types --> + <xs:element name="void"> + <xs:complexType/> + </xs:element> + <!-- Primitive data types --> + <xs:complexType name="stringRestrictionType"> + <xs:sequence> + <xs:element minOccurs="0" ref="lengthRange"/> + <xs:element minOccurs="0" ref="validValues"/> + <xs:element minOccurs="0" ref="pattern"/> + <xs:element minOccurs="0" ref="defaultValue"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="dateTimeRestrictionType"> + <xs:sequence> + <xs:element minOccurs="0" ref="range"/> + <xs:element minOccurs="0" ref="validValues"/> + <xs:element minOccurs="0" ref="pattern"/> + <xs:element minOccurs="0" ref="defaultValue"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="numRestrictionType"> + <xs:sequence> + <xs:element minOccurs="0" ref="range"/> + <xs:element minOccurs="0" ref="defaultValue"/> + </xs:sequence> + </xs:complexType> + <xs:element name="boolean" substitutionGroup="simple_type"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="defaultValue"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="dateTime" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="float" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="integer" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="string" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="pattern" type="xs:string"/> + <xs:element name="validValues"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="value"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="value"> + <xs:complexType> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="lengthRange" type="rangeType"/> + <xs:element name="range" type="rangeType"/> + <xs:complexType name="rangeType"> + <xs:sequence> + <xs:element name="min" type="xs:string" minOccurs="0"/> + <xs:element name="max" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + <xs:element name="defaultValue" type="xs:string"/> + <!-- Struct data type --> + <xs:element name="struct" substitutionGroup="type"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="structMember"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="structMember"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:group ref="dataType"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <!-- List data type --> + <xs:element name="xs_list"> + <xs:complexType> + <xs:sequence> + <xs:group ref="simpleDataType"/> + <xs:element minOccurs="0" ref="lengthRange"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <!-- MoRef data type --> + <xs:element name="moRef" substitutionGroup="simple_type"> + <xs:complexType> + <xs:attribute name="name" use="required"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[A-Z][A-Za-z0-9]*"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> + <!-- Attribute --> + <xs:element name="attribute"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="default_access"/> + <xs:group ref="dataType"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="initialValue"/> + <xs:element ref="pmData"/> + <xs:choice> + <xs:choice> + <xs:element ref="key"/> + <xs:element ref="readOnly"/> + </xs:choice> + <xs:choice> + <xs:choice> + <xs:element ref="readOnly"/> + <xs:choice> + <xs:element ref="mandatory"/> + <xs:element ref="restricted"/> + </xs:choice> + </xs:choice> + <xs:element ref="nonPersistent"/> + </xs:choice> + </xs:choice> + </xs:choice> + </xs:sequence> + <xs:attribute name="name" use="required"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[a-z][a-zA-Z0-9]*"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> + <xs:element name="initialValue" type="xs:string"/> + <xs:element name="key"> + <xs:complexType/> + </xs:element> + <xs:element name="mandatory"> + <xs:complexType/> + </xs:element> + <xs:element name="nonPersistent"> + <xs:complexType/> + </xs:element> + <xs:element name="pmData"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="extension"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="readOnly"> + <xs:complexType/> + </xs:element> + <xs:element name="restricted"> + <xs:complexType/> + </xs:element> + <!-- Action --> + <xs:element name="action"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="default_access"/> + <xs:element ref="returnType"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="parameter"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="raisesException"/> + </xs:sequence> + <xs:attribute name="name" use="required"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[a-z][a-zA-Z0-9]*"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> + <xs:element name="parameter"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:group ref="dataType"/> + <xs:element minOccurs="0" ref="initialValue"/> + <xs:element minOccurs="0" ref="isOptional"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="isOptional"> + <xs:complexType/> + </xs:element> + <xs:element name="exception"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="exceptionParameter"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="exceptionParameter"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:group ref="dataType"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="raisesException"> + <xs:complexType> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + + <!-- xs types, introduced in IS 2.0 --> + <xs:element name="xs_normalizedString" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_token" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_string" type="stringRestrictionType" substitutionGroup="simple_type"/> + + <xs:element name="xs_base64Binary" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_hexBinary" type="stringRestrictionType" substitutionGroup="simple_type"/> + + <xs:element name="xs_integer" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_positiveInteger" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_negativeInteger" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_nonNegativeInteger" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_nonPositiveInteger" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_long" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_unsignedLong" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_int" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_unsignedInt" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_short" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_unsignedShort" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_byte" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_unsignedByte" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_decimal" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_float" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_double" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_boolean" type="numRestrictionType" substitutionGroup="simple_type"/> + + <xs:element name="xs_duration" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_dateTime" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_date" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_time" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_gYear" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_gYearMonth" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_gMonth" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_gMonthDay" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_gDay" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + + <xs:element name="xs_QName" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_Name" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_NCName" type="stringRestrictionType" substitutionGroup="simple_type"/> + + <xs:element name="xs_anyURI" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_language" type="stringRestrictionType" substitutionGroup="simple_type"/> + + <!-- Authorization information --> + <xs:element name="default_access"> + <xs:complexType> + <xs:attribute name="role" type="xs:token" use="required"/> + <xs:attribute name="permissions" use="required"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:pattern value="[rwx]{3}"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> +</xs:schema> diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/mim2.xsd b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/mim2.xsd new file mode 100644 index 0000000000..da6ff6bd7d --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/mim2.xsd @@ -0,0 +1,506 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema targetNamespace="http://www.ericsson.com/is/isco/mim/2.0" xmlns="http://www.ericsson.com/is/isco/mim/2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <!-- + ============================================================================ + %CCaseFile: mim.xsd % + %CCaseRev: /main/P4B/3 % + %CCaseDate: 2007-06-07 % + %CCaseDocNo: 22/155 19-CNA 113 082 Ux % + %Rev: Error in Revision! % + Author: EAB/AUL/IS Siri Hansen + + ============================================================================ + + Copyright (c) Ericsson AB 2006-2007 All rights reserved. + + The information in this document is the property of Ericsson. + + Except as specifically authorized in writing by Ericsson, the + receiver of this document shall keep the information contained + herein confidential and shall protect the same in whole or in + part from disclosure and dissemination to third parties. + + Disclosure and disseminations to the receivers employees shall + only be made on a strict need to know basis. + --> + <!-- Common --> + <xs:element name="description" type="xs:string"/> + <xs:element name="extension"> + <xs:complexType> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="anyElement"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="anyAttribute"> + <xs:anyAttribute processContents="skip"/> + </xs:attributeGroup> + <xs:group name="anyElement"> + <xs:sequence> + <xs:any processContents="skip"/> + </xs:sequence> + </xs:group> + <!-- Mim definition --> + <xs:element name="mim"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="topClass"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="dataTypeDef"/> + <xs:element ref="exception"/> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="relationship"/> + </xs:sequence> + <xs:attribute name="version"/> + </xs:complexType> + </xs:element> + <xs:element name="topClass"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="sortPriority"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + <xs:attribute name="minOccurs"/> + <xs:attribute name="maxOccurs"/> + </xs:complexType> + </xs:element> + <!-- MO class definition --> + <xs:element name="class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="default_access"/> + <xs:choice> + <xs:sequence> + <xs:element ref="singleton"/> + <xs:element minOccurs="0" ref="systemCreated"/> + <xs:element minOccurs="0" ref="readOnly"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="dataTypeDef"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="attribute"/> + </xs:sequence> + <xs:sequence> + <xs:element minOccurs="0" ref="systemCreated"/> + <xs:element minOccurs="0" ref="readOnly"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="dataTypeDef"/> + <xs:element maxOccurs="unbounded" ref="attribute"/> + </xs:sequence> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="action"/> + </xs:sequence> + <xs:attribute name="name" use="required"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[A-Z][A-Za-z0-9]*"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> + <xs:element name="singleton"> + <xs:complexType/> + </xs:element> + <xs:element name="systemCreated"> + <xs:complexType/> + </xs:element> + <!-- Relations --> + <xs:element name="relationship"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element ref="containment"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="containment"> + <xs:complexType> + <xs:sequence> + <xs:element ref="parent"/> + <xs:element ref="child"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="parent" type="hasClass"/> + <xs:element name="child"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="hasClass"> + <xs:sequence> + <xs:element minOccurs="0" ref="cardinality"/> + <xs:element minOccurs="0" ref="sortPriority"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="sortPriority" type="xs:int"/> + <xs:element name="cardinality" type="rangeType"/> + <xs:complexType name="hasClass"> + <xs:sequence> + <xs:element ref="hasClass"/> + </xs:sequence> + </xs:complexType> + <xs:element name="hasClass"> + <xs:complexType> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <!-- Data types --> + <xs:element name="simple_type" abstract="true" substitutionGroup="type"/> + <xs:element name="type" abstract="true"/> + <!-- For attributes, parameters and exceptions --> + <xs:group name="dataType"> + <xs:sequence> + <xs:element name="dataType" nillable="true"> + <xs:complexType> + <xs:choice> + <xs:element ref="type" minOccurs="0"/> + <xs:element ref="xs_list" minOccurs="0"/> + </xs:choice> + <xs:attribute name="name.ref" use="optional"/> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:group> + <xs:group name="simpleDataType"> + <xs:sequence> + <xs:element name="dataType" nillable="true"> + <xs:complexType> + <xs:sequence> + <xs:element ref="simple_type" minOccurs="0"/> + </xs:sequence> + <xs:attribute name="name.ref" use="optional"/> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:group> + <xs:group name="dataTypeDef"> + <xs:sequence> + <xs:element name="dataType"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:choice> + <xs:element ref="type"/> + <xs:element ref="xs_list"/> + </xs:choice> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:group> + <!-- For actions --> + <xs:element name="returnType"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:choice> + <xs:element ref="void"/> + <xs:group ref="dataType"/> + </xs:choice> + </xs:sequence> + </xs:complexType> + </xs:element> + <!-- Return data types --> + <xs:element name="void"> + <xs:complexType/> + </xs:element> + <!-- Primitive data types --> + <xs:complexType name="stringRestrictionType"> + <xs:sequence> + <xs:element minOccurs="0" ref="lengthRange"/> + <xs:element minOccurs="0" ref="validValues"/> + <xs:element minOccurs="0" ref="pattern"/> + <xs:element minOccurs="0" ref="defaultValue"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="dateTimeRestrictionType"> + <xs:sequence> + <xs:element minOccurs="0" ref="range"/> + <xs:element minOccurs="0" ref="validValues"/> + <xs:element minOccurs="0" ref="pattern"/> + <xs:element minOccurs="0" ref="defaultValue"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="numRestrictionType"> + <xs:sequence> + <xs:element minOccurs="0" ref="range"/> + <xs:element minOccurs="0" ref="defaultValue"/> + </xs:sequence> + </xs:complexType> + <xs:element name="boolean" substitutionGroup="simple_type"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="defaultValue"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="dateTime" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="float" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="integer" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="string" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="pattern" type="xs:string"/> + <xs:element name="validValues"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="value"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="value"> + <xs:complexType> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="lengthRange" type="rangeType"/> + <xs:element name="range" type="rangeType"/> + <xs:complexType name="rangeType"> + <xs:sequence> + <xs:element name="min" type="xs:string" minOccurs="0"/> + <xs:element name="max" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + <xs:element name="defaultValue" type="xs:string"/> + <!-- Struct data type --> + <xs:element name="struct" substitutionGroup="type"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="structMember"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="structMember"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:group ref="dataType"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <!-- List data type --> + <xs:element name="xs_list"> + <xs:complexType> + <xs:sequence> + <xs:group ref="simpleDataType"/> + <xs:element minOccurs="0" ref="lengthRange"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <!-- MoRef data type --> + <xs:element name="moRef" substitutionGroup="simple_type"> + <xs:complexType> + <xs:attribute name="name" use="required"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[A-Z][A-Za-z0-9]*"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> + <!-- Attribute --> + <xs:element name="attribute"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="default_access"/> + <xs:group ref="dataType"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="initialValue"/> + <xs:element ref="pmData"/> + <xs:choice> + <xs:choice> + <xs:element ref="key"/> + <xs:element ref="readOnly"/> + </xs:choice> + <xs:choice> + <xs:choice> + <xs:element ref="readOnly"/> + <xs:choice> + <xs:element ref="mandatory"/> + <xs:element ref="restricted"/> + </xs:choice> + </xs:choice> + <xs:element ref="nonPersistent"/> + </xs:choice> + </xs:choice> + </xs:choice> + </xs:sequence> + <xs:attribute name="name" use="required"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[a-z][a-zA-Z0-9]*"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> + <xs:element name="initialValue" type="xs:string"/> + <xs:element name="key"> + <xs:complexType/> + </xs:element> + <xs:element name="mandatory"> + <xs:complexType/> + </xs:element> + <xs:element name="nonPersistent"> + <xs:complexType/> + </xs:element> + <xs:element name="pmData"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="readOnly"> + <xs:complexType/> + </xs:element> + <xs:element name="restricted"> + <xs:complexType/> + </xs:element> + <!-- Action --> + <xs:element name="action"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="default_access"/> + <xs:element ref="returnType"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="parameter"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="raisesException"/> + </xs:sequence> + <xs:attribute name="name" use="required"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[a-z][a-zA-Z0-9]*"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> + <xs:element name="parameter"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:group ref="dataType"/> + <xs:element minOccurs="0" ref="initialValue"/> + <xs:element minOccurs="0" ref="isOptional"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="isOptional"> + <xs:complexType/> + </xs:element> + <xs:element name="exception"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="exceptionParameter"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="exceptionParameter"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="description"/> + <xs:element minOccurs="0" ref="extension"/> + <xs:group ref="dataType"/> + </xs:sequence> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="raisesException"> + <xs:complexType> + <xs:attribute name="name" use="required"/> + </xs:complexType> + </xs:element> + + <!-- xs types, introduced in IS 2.0 --> + <xs:element name="xs_normalizedString" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_token" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_string" type="stringRestrictionType" substitutionGroup="simple_type"/> + + <xs:element name="xs_base64Binary" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_hexBinary" type="stringRestrictionType" substitutionGroup="simple_type"/> + + <xs:element name="xs_integer" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_positiveInteger" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_negativeInteger" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_nonNegativeInteger" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_nonPositiveInteger" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_long" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_unsignedLong" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_int" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_unsignedInt" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_short" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_unsignedShort" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_byte" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_unsignedByte" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_decimal" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_float" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_double" type="numRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_boolean" substitutionGroup="simple_type"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="defaultValue"/> + </xs:sequence> + </xs:complexType> + </xs:element> + + <xs:element name="xs_duration" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_dateTime" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_date" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_time" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_gYear" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_gYearMonth" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_gMonth" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_gMonthDay" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_gDay" type="dateTimeRestrictionType" substitutionGroup="simple_type"/> + + <xs:element name="xs_QName" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_Name" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_NCName" type="stringRestrictionType" substitutionGroup="simple_type"/> + + <xs:element name="xs_anyURI" type="stringRestrictionType" substitutionGroup="simple_type"/> + <xs:element name="xs_language" type="stringRestrictionType" substitutionGroup="simple_type"/> + + <!-- Password type --> + <!-- This is a string, which will not be visible in the CLI or in any logs. --> + <!-- The 'encrypt' attribute indicates if the string shall be sent encrypted --> + <!-- or in clear text to the blade system --> + <xs:element name="password" substitutionGroup="simple_type"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="lengthRange"/> + </xs:sequence> + <xs:attribute name="enrypt" type="xs:boolean" use="optional"/> + </xs:complexType> + </xs:element> + + <!-- Authorization information --> + <xs:element name="default_access"> + <xs:complexType> + <xs:attribute name="role" type="xs:token" use="required"/> + <xs:attribute name="permissions" use="required"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:pattern value="[rwx]{3}"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> +</xs:schema> diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/nc.xsd b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/nc.xsd new file mode 100644 index 0000000000..60a320a61e --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/nc.xsd @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ericsson.com/is/isco/nc" xmlns="http://www.ericsson.com/is/isco/nc"> + <xsd:attribute name="operation"> + <xsd:simpleType> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:enumeration value="merge"/> + <xsd:enumeration value="create"/> + <xsd:enumeration value="replace"/> + <xsd:enumeration value="delete"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> +</xsd:schema> diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/swm_mim.xml b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/swm_mim.xml new file mode 100644 index 0000000000..90afcb2b68 --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/swm_mim.xml @@ -0,0 +1,881 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> + +<!-- + +Copyright (C) Ericsson AB 2006 All rights reserved. + +The information in this document is the property of Ericsson. + +Except as specifically authorized in writing by Ericsson, the +receiver of this document shall keep the information contained +herein confidential and shall protext the same in whole or in part +from disclosure and dissemination to third parties. + +Disclosure and disseminations to the receivers employees shall +only be made on a strict need to know basis. + +--> + + +<!-- MIM file for SWM --> + + + <mim xmlns="http://www.ericsson.com/is/isco/mim/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ericsson.com/is/isco/mim/2.0 /vobs/isac/sis/OAM_CRA1190047_1/CCS_CNA113082/doc/15519/mim.xsd "> + + <!--___ Data types ________________________________ --> + + <dataType name="SwmMatchStrategy"> + <description> + Interpretation of given filename and path . + </description> + <string> + <validValues> + <value name="exact"/> + <value name="prefix"/> + <value name="unknown"/> + </validValues> + <!--defaultValue>exact</defaultValue--> + </string> + </dataType> + + <dataType name="SwmDownloadStrategy"> + <description> + Interpretation according to existing files. + </description> + <string> + <validValues> + <value name="onlyIfMissing"/> + <value name="always"/> + <value name="unknown"/> + </validValues> + <!--defaultValue>onlyIfMissing</defaultValue--> + </string> + </dataType> + + <dataType name="ContainerType"> + <description> + Type of a load module container. + </description> + <string> + <validValues> + <value name="bladeSystemInformation"/> + <value name="bladeInformation"/> + <value name="application"/> + <value name="rootFileSystem"/> + <value name="kernel"/> + <value name="correction"/> + </validValues> + <!--defaultValue>bladeSystemInformation</defaultValue--> + </string> + </dataType> + + + <dataType name="SwgStatus"> + <description> + Indicates status of software groups. A software group is + complete if all included load module containers have been + downloaded and unpacked correctly. A software group is inconsistent + if the checksums of the load module containers do not match the + information in the system information CXP, or if the XML + data could not be registered. + </description> + <string> + <validValues> + <value name="complete"/> + <value name="incomplete"/> + <value name="inconsistent"/> + </validValues> + <!--defaultValue>incomplete</defaultValue--> + </string> + </dataType> + + <dataType name="JobData"> + <description> + Data to specify job progress, during its execution. + </description> + <struct> + <structMember name="jobDateOrdered"> + <dataType><dateTime/></dataType> + </structMember> + <structMember name="jobStatus"> + <description> + Indicator of job status. + A job should be started immediately, but could be postponed + if the total load on the system would become too high. + </description> + <dataType> + <string> + <validValues> + <value name="notStarted"/> + <value name="ongoing"/> + <value name="complete"/> + </validValues> + <!--defaultValue>notStarted</defaultValue--> + </string> + </dataType> + </structMember> + <structMember name="jobResult"> + <description> + Possible results of a job action. + </description> + <dataType> + <string> + <validValues> + <value name="ok"/> + <value name="inputError"/> + <value name="executionError"/> + <value name="unknown"/> + </validValues> + <!--defaultValue>ok</defaultValue--> + </string> + </dataType> + </structMember> + <structMember name="jobInfo"> + <dataType><string/></dataType> + </structMember> + <structMember name="jobProgress"> + <dataType name.ref="IsTypes:Unsigned32"/> + </structMember> + <structMember name="jobLastStep"> + <dataType name.ref="IsTypes:Unsigned32"/> + </structMember> + <structMember name="jobProgressReport"> + <dataType><boolean/></dataType> + </structMember> + </struct> + </dataType><!-- JobData --> + + <dataType name="FTPData"> + <description> + Data to specify FTP server info, such as host, user, + password and path, to locate correct files or destination + for files. + </description> + <struct> + <structMember name="host"> + <dataType><string/></dataType> + </structMember> + <structMember name="user"> + <dataType><string/></dataType> + </structMember> + <structMember name="password"> + <dataType><string/></dataType> + </structMember> + <structMember name="path"> + <description> + Absolute path including filename. + </description> + <dataType><string/></dataType> + </structMember> + </struct> + </dataType><!-- FTPData --> + + <dataType name="BladeUgSpecification"> + <description> + Specification of a blade when an upgrade job is ordered for a + specific blade. This data always belongs to and is included in + an upgrade job for a blade system. + </description> + <struct> + <structMember name="bladeSubrack"> + <dataType name.ref="IsTypes:Unsigned32"/> + </structMember> + <structMember name="bladeSlot"> + <dataType name.ref="IsTypes:Unsigned32"/> + </structMember> + <structMember name="bladeSwgProdNr"> + <dataType><string/></dataType> + </structMember> + <structMember name="bladeSwgVersion"> + <dataType><string/></dataType> + </structMember> + </struct> + </dataType> <!-- BladeUgSpecification --> + + <!--___ CLASSes for tables (no STRUCTs) ________________ --> + + <!-- Inventory Classes --> + + <class name="SoftwareDeliveryPackage"> + <description> + Container of files of data, or binary executables, needed to run the system. + </description> + <systemCreated/> + <readOnly/> + <attribute name="prodNr"> + <dataType><string/></dataType> + <key/> + </attribute> + <attribute name="version"> <dataType><string/></dataType> + <key/> + </attribute> + <attribute name="name"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="type"> + <dataType name.ref="ContainerType"> + </dataType> + <readOnly/> + </attribute> + <action name="delete"> + <description> + Action to delete SoftwareDeliveryPackage. + </description> + <returnType> + <void/> + </returnType> + </action> + </class> <!-- SoftwareDeliveryPackage --> + + <class name="SoftwareGroup"> + <description> + Contains one or more SoftwareDeliveryPackage. + </description> + <systemCreated/> + <readOnly/> + <attribute name="prodNr"> + <dataType><string/></dataType> + <key/> + </attribute> + <attribute name="version"> + <dataType><string/></dataType> + <key/> + </attribute> + <attribute name="name"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="systemProdNr"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="systemVersion"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="systemName"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="integratedSystemProdNr"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="integratedSystemVersion"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="integratedSystemName"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="relatedCXPs"> + <dataType> + <xs_list> + <dataType> + <moRef name="SoftwareDeliveryPackage"/> + </dataType> + </xs_list> + </dataType> + <readOnly/> + </attribute> + <attribute name="status"> + <dataType name.ref="SwgStatus"> + </dataType> + <readOnly/> + </attribute> + <action name="delete"> + <description> + Action to delete Software Group. + </description> + <returnType> + <void/> + </returnType> + </action> + </class> <!-- SoftwareGroup --> + + <class name="LocalBackup"> + <description> + All available backups locally stored. + </description> + <systemCreated/> + <readOnly/> + <attribute name="backupId"> + <dataType name.ref="IsTypes:Unsigned32"> + </dataType> + <key/> + </attribute> + <attribute name="name"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="bladeSystem"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="date"> + <dataType> + <dateTime/> + </dataType> + <readOnly/> + </attribute> + <attribute name="size"> + <dataType name.ref="IsTypes:Unsigned32"> + </dataType> + <readOnly/> + </attribute> + <action name="exportBackup"> + <description> + Action to export backup file to FTP server from + local disk storage. An instance of the class + Software/Jobs/Backup/Export is created as a log of this + action. + </description> + <returnType> + <void/> + </returnType> + <parameter name="jobId"> + <dataType><string/></dataType> + </parameter> + <parameter name="host"> + <dataType><string/></dataType> + </parameter> + <parameter name="user"> + <dataType><string/></dataType> + </parameter> + <parameter name="password"> + <dataType><string/></dataType> + </parameter> + <parameter name="path"> + <description> + Absolute path including filename. + </description> + <dataType><string/></dataType> + </parameter> + </action> + <action name="delete"> + <description> + Action to delete backup. + </description> + <returnType> + <void/> + </returnType> + </action> + </class> <!-- LocalBackup --> + + <class name="Alarm"> + <description> + Information and cause of all currently active software configuration alarms. + </description> + <systemCreated/> + <readOnly/> + <attribute name="id"> + <dataType name.ref="IsTypes:Unsigned32"/> + <key/> + </attribute> + <attribute name="bladeSystem"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="cause"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="info"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + </class> <!-- Alarm --> + + + <!-- Jobs Classes --> + + <class name="DownloadFile"> + <description> + This MO contains information about requested, ongoing, + and completed software file download jobs. To start a + download job the operator calls an action Inventory class, + and a new instance of this MO is created. + For load regulating reasons a requested job may not start + immediately. + </description> + <systemCreated/> + <readOnly/> + <attribute name="jobId"> + <dataType><string/></dataType> + <key/> + </attribute> + <attribute name="jobData"> + <dataType name.ref="JobData"/> + <readOnly/> + </attribute> + <attribute name="ftpData"> + <dataType name.ref="FTPData"/> + <readOnly/> + </attribute> + <attribute name="matchStrategy"> + <dataType name.ref="SwmMatchStrategy"> + </dataType> + <readOnly/> + </attribute> + <attribute name="downloadStrategy"> + <dataType name.ref="SwmDownloadStrategy"> + </dataType> + <readOnly/> + </attribute> + </class><!-- DownloadFile --> + + <class name="Upgrade"> + <description> + This MO handles upgrade jobs towards the system. The operator + may specify a specific blade to run the upgrade on, instead of + running an upgrade on the entire blade system. + </description> + <systemCreated/> + <readOnly/> + <attribute name="jobId"> + <dataType><string/></dataType> + <key/> + </attribute> + <attribute name="jobData"> + <dataType name.ref="JobData"/> + <readOnly/> + </attribute> + <attribute name="bladeSystem"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="swgProdNr"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="swgVersion"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="cxrProdNr"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="cxrVersion"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="maxTime"> + <description> + The maximum time allowed for the SW Upgrade + job to finish. After this time, the job will be interrupted. + The value 0 means that MaxTime will be given the + timer value registered with the Blade System Software Group + Version. If no such value has been registered, + MaxTime will be given a system default timer value. + </description> + <dataType name.ref="IsTypes:Unsigned32"> + </dataType> + <readOnly/> + </attribute> + <attribute name="bladeUgSpecification"> + <dataType name.ref="BladeUgSpecification"/> + <readOnly/> + </attribute> + </class><!-- Upgrade --> + + + + <!-- Backup Classes --> + + <class name="Create"> + <description> + This MO handles creation of backups of the system. + </description> + <systemCreated/> + <readOnly/> + <attribute name="jobId"> + <dataType><string/></dataType> + <key/> + </attribute> + <attribute name="jobData"> + <dataType name.ref="JobData"/> + <readOnly/> + </attribute> + <attribute name="backupId"> + <dataType name.ref="IsTypes:Unsigned32"> + </dataType> + <readOnly/> + </attribute> + <attribute name="targetBladeSystem"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="backupName"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + </class><!-- Create --> + + <class name="Restore"> + <description> + This MO handles restore of backups of the system. + </description> + <systemCreated/> + <readOnly/> + <attribute name="jobId"> + <dataType><string/></dataType> + <key/> + </attribute> + <attribute name="jobData"> + <dataType name.ref="JobData"/> + <readOnly/> + </attribute> + <attribute name="backupId"> + <dataType name.ref="IsTypes:Unsigned32"> + </dataType> + <readOnly/> + </attribute> + <attribute name="targetBladeSystem"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + <attribute name="backupName"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + </class><!-- Restore --> + + <class name="Import"> + <description> + This MO handles import of backup files from the FTP server. + The backup file is stored locally, but not loaded into the system. + </description> + <systemCreated/> + <readOnly/> + <attribute name="jobId"> + <dataType><string/></dataType> + <key/> + </attribute> + <attribute name="jobData"> + <dataType name.ref="JobData"/> + <readOnly/> + </attribute> + <attribute name="ftpData"> + <dataType name.ref="FTPData"/> + <readOnly/> + </attribute> + </class><!-- Import --> + + <class name="Export"> + <description> + This MO handles export of locally stored backup files to + the FTP server. + </description> + <systemCreated/> + <readOnly/> + <attribute name="jobId"> + <dataType><string/></dataType> + <key/> + </attribute> + <attribute name="jobData"> + <dataType name.ref="JobData"/> + <readOnly/> + </attribute> + <attribute name="ftpData"> + <dataType name.ref="FTPData"/> + <readOnly/> + </attribute> + <attribute name="backupId"> + <dataType name.ref="IsTypes:Unsigned32"> + </dataType> + <readOnly/> + </attribute> + <attribute name="backupName"> + <dataType><string/></dataType> + <readOnly/> + </attribute> + </class><!-- Export --> + + + <!--____ CLASSes for hierarchic relations __________________ --> + + <class name="Software"> + <description> + Describes the Software management service + in the Integrated Site services management functional area (MFA). + </description> + <singleton/> + </class> <!-- software --> + + <class name="Inventory"> + <description> + System created data for information and overview. + Some data is created as a result of an action called by the + operator. + </description> + <singleton/> + <action name="downloadFile"> + <description> + Action to download file/s from FTP server to + local disk storage. An instance of the MO class + Software/Jobs/DownloadFile is created as a log of this + action. + </description> + <returnType> + <void/> + </returnType> + <parameter name="jobId"> + <dataType><string/></dataType> + </parameter> + <parameter name="host"> + <dataType><string/></dataType> + </parameter> + <parameter name="user"> + <dataType><string/></dataType> + </parameter> + <parameter name="password"> + <dataType><string/></dataType> + </parameter> + <parameter name="path"> + <description> + Absolute path including filename. + </description> + <dataType><string/></dataType> + </parameter> + <parameter name="matchStrategy"> + <dataType name.ref="SwmMatchStrategy"></dataType> + </parameter> + <parameter name="downloadStrategy"> + <dataType name.ref="SwmDownloadStrategy"></dataType> + </parameter> + </action> + <action name="importBackup"> + <description> + Action to import backup file from FTP server to + to local disk storage. An instance of the MO class + Software/Jobs/Backup/Import is created as a log of this + action. + </description> + <returnType> + <void/> + </returnType> + <parameter name="jobId"> + <dataType><string/></dataType> + </parameter> + <parameter name="host"> + <dataType><string/></dataType> + </parameter> + <parameter name="user"> + <dataType><string/></dataType> + </parameter> + <parameter name="password"> + <dataType><string/></dataType> + </parameter> + <parameter name="path"> + <description> + Absolute path including filename. + </description> + <dataType><string/></dataType> + </parameter> + </action> + </class> <!-- Inventory --> + + <class name="Jobs"> + <description> + Subclass to top class Software. Parent of + Jobs classes: + DownloadFile, + Upgrade, + Backup. + Contains system created data through ordered job actions. + </description> + <singleton/> + </class> <!-- Jobs --> + + <class name="Backup"> + <description> + Subclass to class Jobs. Parent of + Jobs classes: + Create, + Restore + Import, + Export. +<!-- CreateAndExport, + ImportAndRestore.--> + Contains system created data through ordered backup job actions. + </description> + <singleton/> + </class> <!-- Backup --> + + + <!--____ RELATIONSHIPs ______________________________--> + + <!-- Top Class Relations --> + <relationship name="SwmTop"> + <containment> + <parent> + <hasClass name="top_mim:Is"/> + </parent> + <child> + <hasClass name="Software"/> + </child> + </containment> + </relationship> + + <relationship name="Software_to_Inventory"> + <containment> + <parent> + <hasClass name="Software"/> + </parent> + <child> + <hasClass name="Inventory"/> + <cardinality> + <min>1</min> + <max>1</max> + </cardinality> + </child> + </containment> + </relationship> + + <relationship name="Software_to_Jobs"> + <containment> + <parent> + <hasClass name="Software"/> + </parent> + <child> + <hasClass name="Jobs"/> + <cardinality> + <min>1</min> + <max>1</max> + </cardinality> + </child> + </containment> + </relationship> + + <!-- Inventory Class Relations --> + <relationship name="Inventory_to_SoftwareDeliveryPackage"> + <containment> + <parent> + <hasClass name="Inventory"/> + </parent> + <child> + <hasClass name="SoftwareDeliveryPackage"/> + </child> + </containment> + </relationship> + + <relationship name="Inventory_to_SoftwareGroup"> + <containment> + <parent> + <hasClass name="Inventory"/> + </parent> + <child> + <hasClass name="SoftwareGroup"/> + </child> + </containment> + </relationship> + + <relationship name="Inventory_to_LocalBackup"> + <containment> + <parent> + <hasClass name="Inventory"/> + </parent> + <child> + <hasClass name="LocalBackup"/> + </child> + </containment> + </relationship> + + <relationship name="Inventory_to_Alarm"> + <containment> + <parent> + <hasClass name="Inventory"/> + </parent> + <child> + <hasClass name="Alarm"/> + </child> + </containment> + </relationship> + + <!-- Jobs Class Relations --> + <relationship name="Jobs_to_DownloadFile"> + <containment> + <parent> + <hasClass name="Jobs"/> + </parent> + <child> + <hasClass name="DownloadFile"/> + </child> + </containment> + </relationship> + + <relationship name="Jobs_to_Upgrade"> + <containment> + <parent> + <hasClass name="Jobs"/> + </parent> + <child> + <hasClass name="Upgrade"/> + </child> + </containment> + </relationship> + + <relationship name="Jobs_to_Backup"> + <containment> + <parent> + <hasClass name="Jobs"/> + </parent> + <child> + <hasClass name="Backup"/> + <cardinality> + <min>1</min> + <max>1</max> + </cardinality> + </child> + </containment> + </relationship> + + <!-- Backup Class Relations --> + <relationship name="Backup_to_Create"> + <containment> + <parent> + <hasClass name="Backup"/> + </parent> + <child> + <hasClass name="Create"/> + </child> + </containment> + </relationship> + + <relationship name="Backup_to_Restore"> + <containment> + <parent> + <hasClass name="Backup"/> + </parent> + <child> + <hasClass name="Restore"/> + </child> + </containment> + </relationship> + + <relationship name="Backup_to_Import"> + <containment> + <parent> + <hasClass name="Backup"/> + </parent> + <child> + <hasClass name="Import"/> + </child> + </containment> + </relationship> + + <relationship name="Backup_to_Export"> + <containment> + <parent> + <hasClass name="Backup"/> + </parent> + <child> + <hasClass name="Export"/> + </child> + </containment> + </relationship> + </mim> + |