1a1683e8f0e7590b3edd4a5d2f248b18732b5996
[controller.git] / opendaylight / blueprint / src / main / resources / opendaylight-blueprint-ext-2.0.0.xsd
1 <xsd:schema xmlns="http://opendaylight.org/xmlns/blueprint/v2.0.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2     xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3     targetNamespace="http://opendaylight.org/xmlns/blueprint/v2.0.0" elementFormDefault="qualified"
4     attributeFormDefault="unqualified" version="2.0.0">
5
6   <!--
7    Copyright © 2016, 2018 Brocade Communications Systems, Inc. and others.
8
9    This program and the accompanying materials are made available under the
10    terms of the Eclipse Public License v1.0 which accompanies this distribution,
11    and is available at http://www.eclipse.org/legal/epl-v10.html
12    -->
13
14   <xsd:import namespace="http://www.osgi.org/xmlns/blueprint/v1.0.0"/>
15
16   <xsd:attribute name="restart-dependents-on-updates" type="xsd:boolean"/>
17   <xsd:attribute name="use-default-for-reference-types" type="xsd:boolean"/>
18   <xsd:attribute name="type" type="xsd:string"/>
19
20   <xsd:complexType name="TclusteredAppConfig">
21     <xsd:sequence>
22       <xsd:element name="default-config" type="xsd:string" minOccurs="0" maxOccurs="1"/>
23     </xsd:sequence>
24     <xsd:attribute name="binding-class" type="bp:Tclass" use="required"/>
25     <xsd:attribute name="list-key-value" type="xsd:string" use="optional"/>
26     <xsd:attribute name="default-config-file-name" type="xsd:string" use="optional"/>
27     <xsd:attribute name="id" type="xsd:ID" use="required"/>
28     <xsd:attribute name="update-strategy" type="TupdateStrategy" use="optional" default="reload"/>
29   </xsd:complexType>
30   <xsd:element name="clustered-app-config" type="TclusteredAppConfig"/>
31   <xsd:simpleType name="TupdateStrategy">
32     <xsd:restriction base="xsd:NMTOKEN">
33       <xsd:enumeration value="none"/>
34       <xsd:enumeration value="reload"/>
35     </xsd:restriction>
36   </xsd:simpleType>
37 </xsd:schema>