marvin-zhao / pyang

Automatically exported from code.google.com/p/pyang
0 stars 0 forks source link

Signalling unavailable features #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A new command-line parameter should be added to yang2dsdl to signal YANG 
features that are not available. The switch could be -f and its value will be 
in the form

-f modname:feature1,feature2,...

This can be used multiple times for features defined in different modules.

Original issue reported on code.google.com by lada.lho...@gmail.com on 28 Jul 2010 at 11:57

GoogleCodeExporter commented 9 years ago
This issue will be addressed after the 1.0 release by a configuration file that 
will allow for configuring both features and NETCONF capabilities.

In 1.0 it is only possible to switch all features off by using the "-n" switch 
with yand2dsdl.  

Original comment by lada.lho...@gmail.com on 7 Oct 2010 at 8:21

GoogleCodeExporter commented 9 years ago
The best method seems to be to provide a complete server's hello

Original comment by lada.lho...@gmail.com on 9 Feb 2011 at 2:18

GoogleCodeExporter commented 9 years ago

Original comment by lada.lho...@gmail.com on 15 Feb 2011 at 12:52

GoogleCodeExporter commented 9 years ago
A server hello file can now be supplied on the command line using the 
--hello/-L switch. Among other things, features may be specified there. See 
test/test_hello. 

Original comment by lada.lho...@gmail.com on 26 Jan 2012 at 8:00