1 // vi: set smarttab et sw=4 tabstop=4:
2 module odl-bgp-parser-spi-cfg {
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi";
7 import config { prefix config; revision-date 2013-04-05; }
9 organization "Cisco Systems, Inc.";
11 contact "Robert Varga <rovarga@cisco.com>";
14 "This module contains the base YANG definitions for
17 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
19 This program and the accompanying materials are made available
20 under the terms of the Eclipse Public License v1.0 which
21 accompanies this distribution, and is available at
22 http://www.eclipse.org/legal/epl-v10.html";
24 revision "2013-11-15" {
29 identity consumer-extensions {
31 "Service representing a BGP parser extension registry. Extension
32 consumers have this service injected.";
34 base "config:service-type";
35 config:java-class "org.opendaylight.protocol.bgp.parser.spi.BGPExtensionConsumerContext";
40 "Service representing a BGP parser extension registry. Extension
41 providers have this service injected for registration.";
43 base "consumer-extensions";
44 config:java-class "org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderContext";
49 "Service representing a BGP parser extension.";
51 base "config:service-type";
52 config:java-class "org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderActivator";
53 config:disable-osgi-service-registration;
56 identity bgp-extensions-impl {
57 base config:module-type;
58 config:provided-service extensions;
59 config:java-name-prefix SimpleBGPExtensionProviderContext;
62 augment "/config:modules/config:module/config:configuration" {
63 case bgp-extensions-impl {
64 when "/config:modules/config:module/config:type = 'bgp-extensions-impl'";
67 uses config:service-ref {
70 config:required-identity extension;