diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-11-09 15:00:17 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-30 01:29:29 +0100 |
commit | c038f0ceca6779fa429d6f74f0c794498a826c7e (patch) | |
tree | fce40412aac397aca265aa7ff1d2072bd52eccc1 /schemas/pingdata.xsd | |
parent | 6bb0a83e06db94fe1d0446cb07e1446369dfa137 (diff) | |
download | bcfg2-c038f0ceca6779fa429d6f74f0c794498a826c7e.tar.gz bcfg2-c038f0ceca6779fa429d6f74f0c794498a826c7e.tar.bz2 bcfg2-c038f0ceca6779fa429d6f74f0c794498a826c7e.zip |
pingdata.xml: add new file for dynamic ping data of the clients
bcfg2-ping-sweep saved the pingdata into clients.xml. This is problematic
if the repository is tracked by a vcs. Now the dynamic data is saved into
pingdata.xml and the DBStat plugin reads the data from there. So the
pingdata.xml could be ignored by the vcs.
Diffstat (limited to 'schemas/pingdata.xsd')
-rw-r--r-- | schemas/pingdata.xsd | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/schemas/pingdata.xsd b/schemas/pingdata.xsd new file mode 100644 index 000000000..dfb123efa --- /dev/null +++ b/schemas/pingdata.xsd @@ -0,0 +1,28 @@ +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en"> + + <xsd:annotation> + <xsd:documentation> + pingdata schema for bcfg2 + Alexander Sulfrian + </xsd:documentation> + </xsd:annotation> + + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="xml.xsd"/> + + <xsd:complexType name='PingStatisticType'> + <xsd:attribute type='xsd:string' name='name' use='required'/> + <xsd:attribute type='xsd:string' name='pingable' use='required'/> + <xsd:attribute type='xsd:string' name='pingtime' use='optional'/> + </xsd:complexType> + + <xsd:complexType name='PingStatisticsType'> + <xsd:sequence minOccurs='0' maxOccurs='unbounded'> + <xsd:element name='Client' type='PingStatisticType'/> + </xsd:sequence> + <xsd:attribute name='version' type='xsd:string'/> + <xsd:attribute ref="xml:base"/> + </xsd:complexType> + + <xsd:element name='PingStatistics' type='PingStatisticsType'/> +</xsd:schema> |