Remove the 'ietf' prefix in front of the YANG modules
Change-Id: Ib932f6fb0f81b5731a9080234552d650245482a8
diff --git a/netconf/constants.py b/netconf/constants.py
index 8e6bf92..b45363f 100644
--- a/netconf/constants.py
+++ b/netconf/constants.py
@@ -31,6 +31,9 @@
# YANG message definition file - generated file
YANG_MESSAGE_DEFINITIONS_FILE='yang_message_defs.py'
+ # Generated YANG schemas to ignore as not used by Netconf client
+ SCHEMAS_TO_IGNORE =['http.yang', 'yang_options.yang', 'descriptor.yang']
+
# Datastores
RUNNING = "running"
CANDIDATE = "candidate"
@@ -107,7 +110,7 @@
NS_MAP = {
'nc': 'urn:ietf:params:xml:ns:netconf:base:1.0',
- 'voltha': 'urn:opencord:params:xml:ns:voltha:ietf-voltha',
+ 'voltha': 'urn:opencord:params:xml:ns:voltha:voltha',
'ncm': 'urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring',
- 'health': 'urn:opencord:params:xml:ns:voltha:ietf-health'
+ 'health': 'urn:opencord:params:xml:ns:voltha:health'
}