Add "specific-reference-list" blueprint extension
[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="id" type="xsd:ID" use="required"/>
43   </xsd:complexType>
44   <xsd:element name="clustered-app-config" type="TclusteredAppConfig"/>
45
46   <xsd:complexType name="TspecificReferenceList">
47     <xsd:attribute name="interface" type="bp:Tclass" use="required"/>
48     <xsd:attribute name="id" type="xsd:ID"/>
49   </xsd:complexType>
50   <xsd:element name="specific-reference-list" type="TspecificReferenceList"/>
51 </xsd:schema>