Fix: missing type definitions in mi-lttng-3.0.xsd
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 23 Mar 2018 20:08:53 +0000 (16:08 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 23 Mar 2018 20:08:53 +0000 (16:08 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/mi-lttng-3.0.xsd

index f800758aa0d922e34d13c77ce5f1859570911cb9..1b8322d39bb4918dbe82aa789bf7efd15d022ee6 100644 (file)
@@ -417,6 +417,8 @@ THE SOFTWARE.
                        <xs:element name="channels" type="tns:channels_type" minOccurs="0" />
                        <xs:element name="domains" type="tns:domains_type" minOccurs="0" />
                        <xs:element name="snapshots" type="tns:snapshots_type" minOccurs="0" />
+                       <xs:element name="rotation_schedule_size" type="tns:uint64_type" default="0" minOccurs="0" /> <!-- bytes -->
+                       <xs:element name="rotation_schedule_timer_period" type="tns:uint64_type" default="0" minOccurs="0" /> <!-- usec -->
                </xs:all>
        </xs:complexType>
 
@@ -562,6 +564,32 @@ THE SOFTWARE.
                </xs:sequence>
        </xs:complexType>
 
+       <!-- Maps to the rotate command -->
+       <xs:complexType name="rotation_type">
+               <xs:all>
+                       <xs:element name="session_name" type="tns:name_type" minOccurs="0" />
+                       <xs:element name="status" type="xs:string" />
+                       <xs:element name="path" type="xs:string" minOccurs="0" />
+               </xs:all>
+       </xs:complexType>
+
+       <!-- Maps to an array of rotations -->
+       <xs:complexType name="rotations_type">
+               <xs:sequence>
+                       <xs:element name="rotation" type="tns:rotation_type" minOccurs="0" maxOccurs="unbounded" />
+               </xs:sequence>
+       </xs:complexType>
+
+       <!-- Maps to the enable-rotation command -->
+       <xs:complexType name="rotation_schedule_type">
+               <xs:sequence>
+                       <xs:element name="session_name" type="tns:name_type" minOccurs="0" />
+                       <xs:element name="rotation_schedule_size" type="tns:uint64_type" default="0" minOccurs="0" /> <!-- bytes -->
+                       <xs:element name="rotation_schedule_timer_period" type="tns:uint64_type" default="0" minOccurs="0" /> <!-- usec -->
+                       <xs:element name="status" type="xs:string" minOccurs="0"/>
+               </xs:sequence>
+       </xs:complexType>
+
        <xs:complexType name="output_type">
                <xs:choice>
                        <xs:element name="domains" type="tns:domains_type" minOccurs="0" />
@@ -581,6 +609,7 @@ THE SOFTWARE.
                        <xs:element name="metadata_action" type="tns:metadata_cmd_type" minOccurs="0" />
                        <xs:element name="regenerate_action" type="tns:regenerate_cmd_type" minOccurs="0" />
                        <xs:element name="rotations" type="tns:rotations_type" minOccurs="0" />
+                       <xs:element name="rotation_schedule" type="tns:rotation_schedule_type" minOccurs="0" />
                </xs:choice>
        </xs:complexType>
 
@@ -608,6 +637,8 @@ THE SOFTWARE.
                        <xs:enumeration value="metadata" />
                        <xs:enumeration value="regenerate" />
                        <xs:enumeration value="rotate" />
+                       <xs:enumeration value="enable-rotation" />
+                       <xs:enumeration value="disable-rotation" />
                </xs:restriction>
        </xs:simpleType>
 
This page took 0.027492 seconds and 4 git commands to generate.