diff options
author | 2016-04-12 10:13:31 +0200 | |
---|---|---|
committer | 2016-04-12 10:13:31 +0200 | |
commit | 5ba8a8f44117579c9fa6dfdc038c8e41d2213d52 (patch) | |
tree | b57707ccda530b06914d95f3457be591e17384c2 /v3po/vpp-japi-cfg/src/main/config/default-config.xml | |
parent | 4c59ba41ef8c5bfbf5d407c06700857389db973e (diff) |
HONEYCOMB-9: Add configuration and wiring for readers and writers
Remove config module
Wrap vpp-japi in a config module
Change-Id: Iee1e0c653309bd3c1019323ce689dacf3ed995cd
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/vpp-japi-cfg/src/main/config/default-config.xml')
-rw-r--r-- | v3po/vpp-japi-cfg/src/main/config/default-config.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/v3po/vpp-japi-cfg/src/main/config/default-config.xml b/v3po/vpp-japi-cfg/src/main/config/default-config.xml new file mode 100644 index 000000000..7ba72f42f --- /dev/null +++ b/v3po/vpp-japi-cfg/src/main/config/default-config.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Copyright (c) 2016 Cisco and/or its affiliates. + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at: + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> + +<!-- vi: set et smarttab sw=4 tabstop=4: --> + +<snapshot> + <required-capabilities> + <capability>urn:honeycomb:params:xml:ns:yang:vpp:japi:cfg?module=vpp-japi-cfg&revision=2016-04-06</capability> + </required-capabilities> + <configuration> + + <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> + <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config"> + <module> + <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:vpp:japi:cfg">prefix:vpp-japi-impl</type> + <name>vpp-japi</name> + </module> + </modules> + + <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config"> + <service> + <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:vpp:japi:cfg">prefix:vpp-japi</type> + <instance> + <name>vpp-japi</name> + <provider>/modules/module[type='vpp-japi-impl'][name='vpp-japi'] + </provider> + </instance> + </service> + </services> + </data> + </configuration> +</snapshot> |