PageRenderTime 10ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/integrations/opennms-vmware/src/main/resources/xsds/vmware-config.xsd

https://github.com/ajakubo1/opennms
XML Schema | 56 lines | 53 code | 3 blank | 0 comment | 0 complexity | 4011060e372e38600273174bcf83ebf9 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<schema xmlns="http://www.w3.org/2001/XMLSchema"
 3        xmlns:ns="http://xmlns.opennms.org/xsd/config/vmware-config"
 4        targetNamespace="http://xmlns.opennms.org/xsd/config/vmware-config"
 5        elementFormDefault="qualified">
 6
 7    <annotation>
 8        <documentation>
 9            XML Schema for the vmware-config.xml configuration file.
10        </documentation>
11    </annotation>
12
13    <element name="vmware-config">
14        <annotation>
15            <documentation>
16                This is the top-level element for vmware-config.xml
17            </documentation>
18        </annotation>
19        <complexType>
20            <sequence>
21                <element ref="ns:vmware-server" minOccurs="0" maxOccurs="unbounded"/>
22            </sequence>
23        </complexType>
24    </element>
25
26    <element name="vmware-server">
27        <annotation>
28            <documentation>
29                A VMware Server entry
30            </documentation>
31        </annotation>
32        <complexType>
33            <attribute name="hostname" type="string" use="required">
34                <annotation>
35                    <documentation>
36                        The hostname of IP address of this server
37                    </documentation>
38                </annotation>
39            </attribute>
40            <attribute name="username" type="string" use="required">
41                <annotation>
42                    <documentation>
43                        The username of the read-only user
44                    </documentation>
45                </annotation>
46            </attribute>
47            <attribute name="password" type="string" use="required">
48                <annotation>
49                    <documentation>
50                        The password of the read-only user
51                    </documentation>
52                </annotation>
53            </attribute>
54        </complexType>
55    </element>
56</schema>