-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNMP Yang fails generation #15
Comments
Guys is there any plans to fix this? |
On 02/20/2013 12:16 PM, hshorter wrote:
Why would you want to use NETCONF to manipulate the Yang data models that are I think that when choosing which YANG modules to manage for a device, the SNMP Typically the SNMP tables have instrumentation which is already covered by -klacke |
We are offering this mib with a snmp implementation on the node, we want to model in yang as well. We are not looking for an alternative solution. Are you suggesting that there is not an underlying problem with JNC, that there is something specific about this yang file? |
On 03/12/2013 04:48 PM, alrighttheresham wrote:
No, I'm not (really yet) suggesting anything. All I'm saying is that it seems a I see three solutions,
/klacke |
We would prefer option 1 so that we dont find ourselves in a few weeks time in the same position with a different yang file. Damian. |
On 03/13/2013 08:26 AM, alrighttheresham wrote:
This may by, but let me provide an additional technical argument as to ConfD runs a bunch of MIBs, these are compiled (using confdc) as file.mib -> file.yang -> file.fxs -> file.bin The compilation of file.yang -> file.fxs is done using the confdc flag confdc --export snmp .... Meaning that the data, stats and config, described by file.yang is only You have your own private MIBs, and you may of course compile these $ ls $CONFD_DIR/etc/confd/snmp /klacke |
In our environment there is some data which is available in both NETCONF and SNMP. For example the SNMP-NOTIFICATION-MIB, SNMPv2-MIB. This is so that 3rd parties can access this in the standard SNMP way, and also so that we can access it via NETCONF, along with the rest of the configuration. Not being able to access via NETCONF (due to this bug) means we would have to use two protocols to access configuration on the network element. |
Please test and see if 48f3057 has solved this issue. |
This has fixed the problem, thanks. |
The Yang included in ConfD as for SNMP Target Mib produces code which cannot be compiled due to conflicting class names and package names.
When adding SNMP-TARGET-MIB.yang, and required dependencies, the resultant package and class names clash causing the code to not compile.
The text was updated successfully, but these errors were encountered: