[SNMP4SDN-9] config.yang file conflict between snmp4sdn feature and controller config subsytem. Created: 20/Oct/15  Updated: 19/Oct/17  Resolved: 04/Jan/16

Status: Resolved
Project: snmp4sdn
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: zhaohaiping Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks NETCONF-97 netconf won't come up with 'odl-integ... Resolved
External issue ID: 4498

 Description   

config.yang in snmp4sdn feature

module config {
yang-version 1;
namespace "urn:opendaylight:snmp4sdn:md:config";
prefix config;

organization "Industrial Technology Research Institute of Taiwan";
contact "Yi-Ling Hsieh <ylhsieh@itri.org.tw>";

description "YANG version of the SNMP4SDN Config Service MIB.";

revision "2014-08-15"

{//TODO: update date description "SNMP4SDN Config Service"; }

。。。
}

config.yang in config substem
module config {
yang-version 1;
namespace "urn:opendaylight:params:xml:ns:yang:controller:config";
prefix "config";

description
"This module contains the base YANG definitions for NS-OS
configuration subsystem. The system modeled revolves around two
major concepts: modules and services.";

revision "2013-04-05"

{ description "Reworked to give modules their own space."; }

。。。。

}

the two yang files module name are the same, after installing snmp4sdn,

when configing services and modules configuration , exception occurs because of the module name overriding.

config.yang file in snmp4sdn should be changed to other module name to solve this bug.

besides there are a few minor bugs in other yang files's prefix field:
fdb.yang
topology.yang

Excuse my poor English, Thanks.



 Comments   
Comment by Vratko Polak [ 16/Nov/15 ]

This Lithium Bug causes NETCONF-97 which makes snmp4sdn incompatible with any feature that relies on config subsystem (which includes most of Lithium top-level features).

Comment by Christine Hsieh [ 04/Jan/16 ]

Bug fixed: (1) we change config.yang to misc-config.yang, related code is also updated (the testing bundle, ConfigManager, is also renamed as MiscConfigManager). (2) prefix field typo in fdb.yang.

gerrit: https://git.opendaylight.org/gerrit/#/c/31924/

Generated at Wed Feb 07 20:39:17 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.