2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 module vpp-provider-impl {
11 namespace "urn:opendaylight:params:xml:ns:yang:controller:config:vpp-provider:impl";
12 prefix "vpp-provider-impl";
14 import config { prefix config; revision-date 2013-04-05; }
15 import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }
16 import ietf-yang-types { prefix "yang"; revision-date 2010-09-24; }
17 import opendaylight-sal-binding-broker-impl { prefix sal-broker; revision-date 2013-10-28;}
18 import groupbasedpolicy-cfg { prefix gbpcfg; revision-date 2015-11-06; }
21 "This module contains the base YANG definitions for
22 vpp-provider impl implementation.";
24 revision "2016-04-25" {
29 identity vpp-provider-impl {
30 base "config:module-type";
32 config:java-name-prefix GbpVppProvider;
35 // Augments the 'configuration' choice node under modules/module.
36 augment "/config:modules/config:module/config:configuration" {
37 case vpp-provider-impl {
38 when "/config:modules/config:module/config:type = 'vpp-provider-impl'";
40 // Wires in the data-broker service
41 container data-broker {
42 uses config:service-ref {
45 config:required-identity mdsal:binding-async-data-broker;
49 // binding aware broker
51 uses config:service-ref {
54 config:required-identity mdsal:binding-broker-osgi-registry;