summaryrefslogtreecommitdiffstats
path: root/vnfapi/provider/src/main/yang
diff options
context:
space:
mode:
authorGaurav Agrawal <gaurav.agrawal@huawei.com>2017-09-18 10:52:15 +0530
committerGaurav Agrawal <gaurav.agrawal@huawei.com>2017-09-18 14:45:46 +0530
commitbcfe015f24775d94741b093b3ec2c58e1baac3cc (patch)
tree0755b2f4d09bc0b32170e57b5520f9fe7dc087c9 /vnfapi/provider/src/main/yang
parent06a1cf8b1e8313b5a4f25647736ac2c73883abef (diff)
Replace deprecated APIs with newer one
Replace following deprecated API 1) NotificationProviderService replaced with NotificationPublishService 2) InstanceIdentifier<T> toInstance() replace with build() 3) setProperties replaced with setYangMappingProperties Change-Id: I89fba42e88363c5e1e5b23fe272d2754361aee25 Issue-Id: SDNC-89 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Diffstat (limited to 'vnfapi/provider/src/main/yang')
-rw-r--r--vnfapi/provider/src/main/yang/vnfapi-provider-impl.yang8
1 files changed, 6 insertions, 2 deletions
diff --git a/vnfapi/provider/src/main/yang/vnfapi-provider-impl.yang b/vnfapi/provider/src/main/yang/vnfapi-provider-impl.yang
index c472b65d..183fa901 100644
--- a/vnfapi/provider/src/main/yang/vnfapi-provider-impl.yang
+++ b/vnfapi/provider/src/main/yang/vnfapi-provider-impl.yang
@@ -6,6 +6,10 @@ module vnfapi-provider-impl {
import config { prefix config; revision-date 2013-04-05; }
import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }
+ import opendaylight-sal-binding-broker-impl {
+ prefix binding-impl;
+ revision-date 2013-10-28;
+ }
description
"This module contains the base YANG definitions for
@@ -39,11 +43,11 @@ module vnfapi-provider-impl {
}
}
- container notification-service {
+ container notification-publish-adapter {
uses config:service-ref {
refine type {
mandatory true;
- config:required-identity mdsal:binding-notification-service;
+ config:required-identity binding-impl:binding-new-notification-publish-service;
}
}
}