1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-08 21:17:43 +03:00

B #5305: Add MONITORING_DATA to xsd (#1010)

This commit is contained in:
Jan Orel 2021-03-22 18:09:06 +01:00 committed by GitHub
parent 484276b042
commit 678fc67f75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View File

@ -23,6 +23,7 @@
<xs:include schemaLocation="marketplaceapp.xsd"/>
<xs:include schemaLocation="marketplace_pool.xsd"/>
<xs:include schemaLocation="marketplace.xsd"/>
<xs:include schemaLocation="monitoring_data.xsd"/>
<xs:include schemaLocation="opennebula_configuration.xsd"/>
<xs:include schemaLocation="raftstatus.xsd"/>
<xs:include schemaLocation="security_group_pool.xsd"/>

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
targetNamespace="http://opennebula.org/XMLSchema" xmlns="http://opennebula.org/XMLSchema">
<xs:element name="MONITORING_DATA">
<xs:complexType>
<xs:sequence>
<xs:element name="MONITORING" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:all>
<xs:element name="CPU" type="xs:decimal" minOccurs="0" maxOccurs="1"/>
<xs:element name="DISKRDBYTES" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="DISKRDIOPS" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="DISKWRBYTES" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="DISKWRIOPS" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="MEMORY" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="NETTX" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="NETRX" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="TIMESTAMP" type="xs:integer" minOccurs="0" maxOccurs="1"/>
<xs:element name="VCENTER_ESX_HOST" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="VCENTER_GUEST_STATE" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="VCENTER_RP_NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="VCENTER_VMWARETOOLS_RUNNING_STATUS" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="VCENTER_VMWARETOOLS_VERSION" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="VCENTER_VMWARETOOLS_VERSION_STATUS" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="VCENTER_VM_NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="DISK_SIZE" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="xs:integer"/>
<xs:element name="SIZE" type="xs:integer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>