/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. <annotation>
  7. <documentation>
  8. XML Schema for the vmware-config.xml configuration file.
  9. </documentation>
  10. </annotation>
  11. <element name="vmware-config">
  12. <annotation>
  13. <documentation>
  14. This is the top-level element for vmware-config.xml
  15. </documentation>
  16. </annotation>
  17. <complexType>
  18. <sequence>
  19. <element ref="ns:vmware-server" minOccurs="0" maxOccurs="unbounded"/>
  20. </sequence>
  21. </complexType>
  22. </element>
  23. <element name="vmware-server">
  24. <annotation>
  25. <documentation>
  26. A VMware Server entry
  27. </documentation>
  28. </annotation>
  29. <complexType>
  30. <attribute name="hostname" type="string" use="required">
  31. <annotation>
  32. <documentation>
  33. The hostname of IP address of this server
  34. </documentation>
  35. </annotation>
  36. </attribute>
  37. <attribute name="username" type="string" use="required">
  38. <annotation>
  39. <documentation>
  40. The username of the read-only user
  41. </documentation>
  42. </annotation>
  43. </attribute>
  44. <attribute name="password" type="string" use="required">
  45. <annotation>
  46. <documentation>
  47. The password of the read-only user
  48. </documentation>
  49. </annotation>
  50. </attribute>
  51. </complexType>
  52. </element>
  53. </schema>