[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [mgmtprotocol] updated OS port type
Folks, I made a few changes to the OS port type, most notably making the type of OSType a union of the enumeration and string for nice extensibility (and thereby deleting the need for OSTypeDecscription. Ellen
<wsdl:definitions name=”xxx” targetNamespace=”someURI” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”> <wsdl:types> <xs:schema targetNamespace="someURI" > <xsd:simpleType name="OSTypeType"> <xsd:union> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Unknown"/> <xsd:enumeration value="MACOS"/> <xsd:enumeration value="ATTUNIX"/> <xsd:enumeration value="DGUX"/> <xsd:enumeration value="DECNT"/> <xsd:enumeration value="Tur64 UNIX"/> <xsd:enumeration value="OpenVMS"/> <xsd:enumeration value="HPUX"/> <xsd:enumeration value="AIX"/> <xsd:enumeration value="MVS"/> <xsd:enumeration value="OS400"/> <xsd:enumeration value="OS/2"/> <xsd:enumeration value="JavaVM"/> <xsd:enumeration value="MSDOS"/> <xsd:enumeration value="WIN3x"/> <xsd:enumeration value="WIN95"/> <xsd:enumeration value="WIN98"/> <xsd:enumeration value="WINNT"/> <xsd:enumeration value="WINCE"/> <xsd:enumeration value="NCR3000"/> <xsd:enumeration value="NetWare"/> <xsd:enumeration value="OSF"/> <xsd:enumeration value="DC/OS"/> <xsd:enumeration value="Reliant UNIX"/> <xsd:enumeration value="SCO UnixWare"/> <xsd:enumeration value="SCO OpenServer"/> <xsd:enumeration value="Sequent"/> <xsd:enumeration value="IRIX"/> <xsd:enumeration value="Solaris"/> <xsd:enumeration value="SunOS"/> <xsd:enumeration value="U6000"/> <xsd:enumeration value="ASERIES"/> <xsd:enumeration value="TandenNSK"/> <xsd:enumeration value="TandemNT"/> <xsd:enumeration value="BS2000"/> <xsd:enumeration value="LINUX"/> <xsd:enumeration value="Lynx"/> <xsd:enumeration value="XENIX"/> <xsd:enumeration value="VM/ESA"/> <xsd:enumeration value="Interactive UNIX"/> <xsd:enumeration value="BSDUNIX"/> <xsd:enumeration value="FreeBSD"/> <xsd:enumeration value="NetBSD"/> <xsd:enumeration value="GNU Hurd"/> <xsd:enumeration value="OS9"/> <xsd:enumeration value="MACH Kernel"/> <xsd:enumeration value="Inferno"/> <xsd:enumeration value="QNX"/> <xsd:enumeration value="EPOC"/> <xsd:enumeration value="IxWorks"/> <xsd:enumeration value="VxWorks"/> <xsd:enumeration value="MiNT"/> <xsd:enumeration value="BeOS"/> <xsd:enumeration value="HP MPE"/> <xsd:enumeration value="NextStep"/> <xsd:enumeration value="PalmPilot"/> <xsd:enumeration value="Rhapsody"/> <xsd:enumeration value="Windows 2000"/> <xsd:enumeration value="Dedicated"/> <xsd:enumeration value="OS/390"/> <xsd:enumeration value="VSE"/> <xsd:enumeration value="TPF"/> <xsd:enumeration value="Windows (R) Me"/> <xsd:enumeration value="Caldera Open UNIX"/> <xsd:enumeration value="OpenBSD"/> <xsd:enumeration value="Not Applicable"/> <xsd:enumeration value="Windows XP"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType> <xsd:restriction base="xsd:string" /> </xsd:simpleType> </xsd:union> </xsd:simpleType> <xsd:simpleType name="versionType"> <xsd:restriction base="xsd:string"> <xsd:pattern value="(([0-9])+).(([0-9])+).(([a-z]|[A-Z]|[0-9])+)"/> </xsd:restriction> </xsd:simpleType> <xsd:complexType name="gauge"> <xsd:extension base="integer"/> <xsd:attribute name="min" type="xsd:integer"/> <xsd:attribute name="max" type="xsd:integer"/> </xsd:extension> </xsd:complexType> <xsd:simpleType name="units" type="xsd:string"/> </xs:schema> </types> <wsdl:message name="ResultResponse"> <wsdl:part name="Return" type="xsd:unsignedInt" /> </wsdl:message> <wsdl:message name="shutdownRequest"> </wsdl:message> <wsdl:message name="rebootRequest"> </wsdl:message> <wsdl:portType name="OperatingSystem" extends "someNS:enabledLogicalElement someNS:GridService"> <wsdl:documentation> An OperatingSystem is software/firmware that makes a ComputerSystem's hardware usable, and implements and/or manages the resources, file systems, processes, user interfaces, services, ... available on the ComputerSystem. </wsdl:documentation> <wsdl:operation name="reboot"> <wsdl:input message="rebootRequest" /> <wsdl:output message="ResultResponse" /> <wsdl:documentation> Requests a reboot of the OperatingSystem. The return value should be 0 if the request was successfully executed, 1 if the request is not supported and some other value if an error occurred. In a subclass, the set of possible return codes could be specified. </wsdl:documentation> </wsdl:operation> <wsdl:operation name="shutdown"> <wsdl:input message="shutdownRequest" /> <wsdl:output message="ResultResponse" /> <wsdl:documentation> Requests a shutdown of the OperatingSystem. The return value should be 0 if the request was successfully executed, 1 if the request is not supported and some other value if an error occurred. It is up to the implementation or subclass of OperatingSystem to establish dependencies between the Shutdown and Reboot methods, and for example, to provide more sophisticated capabilities such as scheduled shutdown, reboot, etc. In a subclass, the set of possible return codes could be specified. </wsdl:documentation> </wsdl:operation> <wsdl:serviceData name="OSType" type="OSTypeType" minOccurs="0" maxOccurs="1" mutability="setOnce"> <wsdl:documentation> A string describing the manufacturer and OperatingSystem type. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="version" type="versionType" minOccurs="0" maxOccurs="1" mutability="setOnce"> <wsdl:documentation> A string describing the Operating System's version number. The format of the version information is as follows: majorNumber.minorNumber.revision or majorNumber.minorNumber.revisionLetter </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="lastBootUpTime" type="xsd:datetime" minOccurs="0" maxOccurs="1" mutability="mutable"> <wsdl:documentation> Time when the OperatingSystem was last booted. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="localDateTime" type="xsd:datetime" minOccurs="0" maxOccurs="1" mutability="mutable" modifiable="true"> <wsdl:documentation> OperatingSystem's notion of the local date and time of day. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="curentTimeZone" type="xsd:short" minOccurs="0" maxOccurs="1" mutability="mutable" modifiable="true"> someNS:units="minutes" <wsdl:documentation> CurrentTimeZone indicates the number of minutes the OperatingSystem is offset from Greenwich Mean Time. Either the number is positive, negative or zero. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="numberOfLicensedUsers" type="unsignedInt" minOccurs="0" maxOccurs="1" mutability="mutable" modifiable="true"> <wsdl:documentation> Number of user licenses for the OperatingSystem. If unlimited, enter 0. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="numberOfUsers" type="someNS:gauge" minOccurs="0" maxOccurs="1" mutability="mutable"> <wsdl:documentation> Number of user sessions for which the OperatingSystem is currently storing state information. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="numberOfProcesses" type="someNS:gauge" minOccurs="0" maxOccurs="1" mutability="mutable"> <wsdl:documentation> Number of process contexts currently loaded or running on the OperatingSystem. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="maxNumberOfProcesses" type="unsignedInt" minOccurs="0" maxOccurs="1" mutability="setOnce"> <wsdl:documentation> Maximum number of process contexts the OperatingSystem can support. If there is no fixed maximum, the value should be 0. On systems that have a fixed maximum, this object can help diagnose failures that occur when the maximum is reached. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="totalSwapSpaceSize" type="unsignedLong" minOccurs="0" maxOccurs="1" mutability="mutable" nillable="true" modifiable="true"> someNS:units=kilobytes <wsdl:documentation> Total swap space in Kbytes. This value may be NULL (unspecified) if swap space is not distinguished from page files. However, some Operating Systems distinguish these concepts. For example, in UNIX, whole processes can be 'swapped out' when the free page list falls and remains below a specified amount. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="totalVirtualMemorySize" type="unsignedLong" minOccurs="0" maxOccurs="1" mutability="mutable"> someNS:units=kilobytes <wsdl:documentation> Number of Kbytes of virtual memory. For example, this may be calculated by adding the amount of total RAM to the amount of paging space (ie, adding the amount of memory in/aggregated by the ComputerSystem to the property, SizeStoredInPagingFiles. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="freeVirtualMemory" type="someNS:gauge" minOccurs="0" maxOccurs="1" mutability="mutable"> someNS:units=kilobytes <wsdl:documentation> Number of Kbytes of virtual memory currently unused and available. For example, this may be calculated by adding the amount of free RAM to the amount of free paging space (ie, adding the properties, FreePhysicalMemory and FreeSpace InPagingFiles). </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="freePhysicalMemory" type="someNS:gauge" minOccurs="0" maxOccurs="1" mutability="mutable"> someNS:units=kilobytes <wsdl:documentation> Number of Kbytes of physical memory currently unused and available. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="totalVisibleMemorySize" type="unsignedLong" minOccurs="0" maxOccurs="1" mutability="mutable"> someNS:units=kilobytes <wsdl:documentation> The total amount of physical memory (in Kbytes) available to the OperatingSystem. This value does not necessarily indicate the true amount of physical memory, but what is reported to the OperatingSystem as available to it. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="sizeStoredInPagingFiles" type="unsignedLong" minOccurs="0" maxOccurs="1" mutability="mutable" modifiable="true"> someNS:units=kilobytes <wsdl:documentation> The total number of KBytes that can be stored in the OperatingSystem's paging files. 0 indicates that there are no paging files. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="freeSpaceInPagingFiles" type="someNS:gauge" minOccurs="0" maxOccurs="1" mutability="mutable" modifiable="true"> someNS:units=kilobytes <wsdl:documentation> The total number of KBytes that can be mapped into the OperatingSystem's paging files without causing any other pages to be swapped out. 0 indicates that there are no paging files. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="maxProcessMemorySize" type="unsignedLong" minOccurs="0" maxOccurs="1" mutability="mutable" modifiable="true"> someNS:units=kilobytes <wsdl:documentation> Maximum number of Kbytes of memory that can be allocated to a Process. For Operating Systems with no virtual memory, this value is typically equal to the total amount of physical Memory minus memory used by the BIOS and OS. For some Operating Systems, this value may be infinity - in which case, 0 should be entered. In other cases, this value could be a constant - for example, 2G or 4G. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="distributed" type="boolean" minOccurs="0" maxOccurs="1" mutability="setOnce"> <wsdl:documentation> Boolean indicating whether the OperatingSystem is distributed across several ComputerSystem nodes. If so, these nodes should be grouped as a Cluster. </wsdl:documentation> </wsdl:serviceData> <wsdl:serviceData name="maxProcessesPerUser" type="unsignedInt" minOccurs="0" maxOccurs="1" mutability="mutable" modifiable="true"> <wsdl:documentation> A value that indicates the maximum processes that a user can have associate with it. </wsdl:documentation> </wsdl:serviceData> </wsdl:portType> </wsdl:definitions>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC