From df5869629e4ffd6cb0b1ccb81c1fe17cdd73f851 Mon Sep 17 00:00:00 2001 From: Ravi Pendurty Date: Fri, 30 Jul 2021 15:14:17 +0530 Subject: devicemanager-core refactoring and support for TLS mountpoints using data-provider interface Use NodeId instead of String for mountpointname and enhance data-provider for creation of TLS mountpoints using REST or from the UI Issue-ID: CCSDK-3403 Signed-off-by: Ravi Pendurty Change-Id: Iafb9fe81c2e1d1152beef2b86299edb78a870d85 Signed-off-by: Ravi Pendurty --- sdnr/wt/data-provider/model/pom.xml | 10 +++---- .../src/main/yang/data-provider@2020-11-10.yang | 31 +++++++++++++++++++++- 2 files changed, 35 insertions(+), 6 deletions(-) (limited to 'sdnr/wt/data-provider/model') diff --git a/sdnr/wt/data-provider/model/pom.xml b/sdnr/wt/data-provider/model/pom.xml index 15eeccef7..6a193a423 100644 --- a/sdnr/wt/data-provider/model/pom.xml +++ b/sdnr/wt/data-provider/model/pom.xml @@ -55,17 +55,17 @@ ${project.groupId} openroadm-pm-types ${project.version} - - - org.opendaylight.netconf - sal-netconf-connector - provided ${project.groupId} sdnr-wt-common ${project.version} + + org.opendaylight.netconf + sal-netconf-connector + provided + com.fasterxml.jackson.core jackson-databind diff --git a/sdnr/wt/data-provider/model/src/main/yang/data-provider@2020-11-10.yang b/sdnr/wt/data-provider/model/src/main/yang/data-provider@2020-11-10.yang index 31c7fd875..be2c638e2 100644 --- a/sdnr/wt/data-provider/model/src/main/yang/data-provider@2020-11-10.yang +++ b/sdnr/wt/data-provider/model/src/main/yang/data-provider@2020-11-10.yang @@ -195,7 +195,7 @@ module data-provider { description "implements sth. like o-ran*.yang"; } - enum ORAN { + enum O-RAN { description "implements RAN according to o-ran*.yang"; } @@ -1253,6 +1253,11 @@ module data-provider { description "categorized type of device based on implemented yang specs"; } + leaf device-function { + type string; + description + "specifies the RAN functions supported by the device"; + } leaf is-required { type boolean; description @@ -1273,6 +1278,11 @@ module data-provider { description "TLS key-id in MD-SAL"; } + leaf mount-method { + type string; + description + "netconf-node credential type for mount"; + } description "An object class defining the NetConf connection towards a NetConf server. "; @@ -1897,4 +1907,23 @@ module data-provider { } } } + rpc read-tls-key-entry { + description + "Get tls-keys of netconf-keystore"; + input { + uses entity-input; + } + output { + container pagination { + uses pagination-output-g; + description + "The pagination details used by the provider to filter the data."; + } + leaf-list data { + type string; + description + "The output data as list of tls-keys in netconf-keystore"; + } + } + } } -- cgit 1.2.3-korg