Configurable update-strategy for clusteredAppConfig
[controller.git] / opendaylight / blueprint / src / main / resources / opendaylight-blueprint-ext-1.0.0.xsd
1 <xsd:schema xmlns="http://opendaylight.org/xmlns/blueprint/v1.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/v1.0.0" elementFormDefault="qualified" 
4     attributeFormDefault="unqualified" version="1.0.0">
5
6   <xsd:import namespace="http://www.osgi.org/xmlns/blueprint/v1.0.0"/>
7
8   <xsd:attribute name="restart-dependents-on-updates" type="xsd:boolean"/>
9   <xsd:attribute name="use-default-for-reference-types" type="xsd:boolean"/>
10   <xsd:attribute name="type" type="xsd:string"/>
11
12   <xsd:complexType name="TrpcImplementation">
13     <xsd:attribute name="interface" type="bp:Tclass" use="optional"/>
14     <xsd:attribute name="ref" type="bp:Tidref" use="required"/>
15   </xsd:complexType>
16   <xsd:element name="rpc-implementation" type="TrpcImplementation"/>
17
18   <xsd:complexType name="TroutedRpcImplementation">
19     <xsd:attribute name="interface" type="bp:Tclass" use="optional"/>
20     <xsd:attribute name="ref" type="bp:Tidref" use="required"/>
21     <xsd:attribute name="id" type="xsd:ID"/>
22   </xsd:complexType>
23   <xsd:element name="routed-rpc-implementation" type="TroutedRpcImplementation"/>
24
25   <xsd:complexType name="TrpcService">
26     <xsd:attribute name="interface" type="bp:Tclass" use="required"/>
27     <xsd:attribute name="id" type="xsd:ID"/>
28   </xsd:complexType>
29   <xsd:element name="rpc-service" type="TrpcService"/>
30
31   <xsd:complexType name="TnotificationListener">
32     <xsd:attribute name="ref" type="bp:Tidref" use="required"/>
33   </xsd:complexType>
34   <xsd:element name="notification-listener" type="TnotificationListener"/>
35
36   <xsd:complexType name="TclusteredAppConfig">
37     <xsd:sequence>
38       <xsd:element name="default-config" type="xsd:string" minOccurs="0" maxOccurs="1"/>
39     </xsd:sequence>
40     <xsd:attribute name="binding-class" type="bp:Tclass" use="required"/>
41     <xsd:attribute name="list-key-value" type="xsd:string" use="optional"/>
42     <xsd:attribute name="default-config-file-name" type="xsd:string" use="optional"/>
43     <xsd:attribute name="id" type="xsd:ID" use="required"/>
44     <xsd:attribute name="update-strategy" type="TupdateStrategy" use="optional" default="reload"/>
45   </xsd:complexType>
46   <xsd:element name="clustered-app-config" type="TclusteredAppConfig"/>
47  <xsd:simpleType name="TupdateStrategy">
48   <xsd:restriction base="xsd:NMTOKEN">
49     <xsd:enumeration value="none"/>
50     <xsd:enumeration value="reload"/>
51   </xsd:restriction>
52  </xsd:simpleType>
53   <xsd:complexType name="TspecificReferenceList">
54     <xsd:attribute name="interface" type="bp:Tclass" use="required"/>
55     <xsd:attribute name="id" type="xsd:ID"/>
56   </xsd:complexType>
57   <xsd:element name="specific-reference-list" type="TspecificReferenceList"/>
58
59   <xsd:complexType name="TstaticReference">
60     <xsd:attribute name="interface" type="bp:Tclass" use="required"/>
61     <xsd:attribute name="id" type="xsd:ID"/>
62   </xsd:complexType>
63   <xsd:element name="static-reference" type="TstaticReference"/>
64 </xsd:schema>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.