From 93ae4f1971c09475733e8ee7afcc25fea0754fe6 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Wed, 15 Jul 2015 15:20:08 +0200 Subject: [PATCH] Add config subsystem binding to netconf-auth API Change-Id: Ie04d9a7cb72bfcbeae6c7ca7dc0dbb2bdeadef0d Signed-off-by: Maros Marsalek --- opendaylight/netconf/netconf-auth/pom.xml | 42 +++++++++++++++++++ .../src/main/yang/netconf-auth.yang | 22 ++++++++++ 2 files changed, 64 insertions(+) create mode 100644 opendaylight/netconf/netconf-auth/src/main/yang/netconf-auth.yang diff --git a/opendaylight/netconf/netconf-auth/pom.xml b/opendaylight/netconf/netconf-auth/pom.xml index ac5198a325..a103ce8b38 100644 --- a/opendaylight/netconf/netconf-auth/pom.xml +++ b/opendaylight/netconf/netconf-auth/pom.xml @@ -19,12 +19,54 @@ bundle ${project.artifactId} + + + org.opendaylight.controller + config-api + + + org.apache.felix maven-bundle-plugin + + org.opendaylight.yangtools + yang-maven-plugin + + + config + + generate-sources + + + + + org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator + ${jmxGeneratorPath} + + urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang + + + + org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl + ${salGeneratorPath} + + + true + + + + + + org.opendaylight.controller + yang-jmx-generator-plugin + ${config.version} + + + diff --git a/opendaylight/netconf/netconf-auth/src/main/yang/netconf-auth.yang b/opendaylight/netconf/netconf-auth/src/main/yang/netconf-auth.yang new file mode 100644 index 0000000000..954966ad4e --- /dev/null +++ b/opendaylight/netconf/netconf-auth/src/main/yang/netconf-auth.yang @@ -0,0 +1,22 @@ +module netconf-auth { + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:controller:config:netconf:auth"; + prefix "na"; + + import config { prefix config; revision-date 2013-04-05; } + + description + "This module contains the base YANG definitions for + netconf northbound server API"; + + revision "2015-07-15" { + description + "Initial revision."; + } + + identity netconf-auth-provider { + base "config:service-type"; + config:java-class "org.opendaylight.controller.netconf.auth.AuthProvider"; + } + +} \ No newline at end of file -- 2.36.6