public icon indicating copy to clipboard operation
public copied to clipboard

Not possible to compile the openconfig-terminal-device.yang and openconfig-if-ethernet.yang

Open vprasad opened this issue 9 years ago • 3 comments

Issue 1 :-for openconfig-if-ethernet.yang ,there is augment statement like :- augment "/oc-if:interfaces/oc-if:interface" { when "oc-if:type = 'ift:ethernetCsmacd'" {

But when we compile using confdc compiler it throws error saying type is not found in openconfig-interfaces.yang. However when i change it to :- augment "/oc-if:interfaces/oc-if:interface" { when "oc-if:config/oc-if:type = 'ift:ethernetCsmacd'" {

Now it compiles fine i.e., when i specify the container in which type is present.

Issue 2 :-all the must expression present in openconfig-terminal-device.ynag are failing.Below is the error:- g: The 'must' expression will fail: the node 'LOGICAL_CHANNEL' from module 'openconfig-terminal-device' (in node 'logical-channel' from 'openconfig-terminal-device') is not found openconfig-terminal-device.yang:453: warning: The 'must' expression will fail: the node 'assignment-type' from module 'openconfig-terminal-device' (in node 'logical-channel' from 'openconfig-terminal-device') is not found openconfig-terminal-device.yang:453: warning: The 'must' expression will fail: the node 'LOGICAL_CHANNEL' from module 'openconfig-terminal-device' (in node 'logical-channel' from 'openconfig-terminal-device') is not found openconfig-terminal-device.yang:467: warning: The 'must' expression will fail: the node 'assignment-type' from module 'openconfig-terminal-device' (in node 'optical-channel' from 'openconfig-terminal-device') is not found openconfig-terminal-device.yang:467: warning: The 'must' expression will fail: the node 'OPTICAL_CHANNEL' from module 'openconfig-terminal-device' (in node 'optical-channel' from 'openconfig-terminal-device') is not found openconfig-terminal-device.yang:467: warning: The 'must' expression will fail: the node 'assignment-type' from module 'openconfig-terminal-device' (in node 'optical-channel' from 'openconfig-terminal-device') is not found openconfig-terminal-device.yang:467: warning: The 'must' expression will fail: the node 'OPTICAL_CHANNEL' from module 'openconfig-terminal-device' (in node 'optical-channel' from 'openconfig-terminal-device') is not found openconfig-terminal-device.yang:820: warning: The 'must' expression will fail: the node 'operational-modes' from module 'openconfig-terminal-device' (in node 'components' from 'openconfig-platform') is not found openconfig-terminal-device.yang:820: warning: The 'must' expression will fail: the node 'operational-modes' from module 'openconfig-terminal-device' (in node 'components' from 'openconfig-platform') is not found openconfig-terminal-device.yang:820: warning: The 'must' expression will fail: the node 'operational-modes' from module 'openconfig-terminal-device' (in node 'components' from 'openconfig-platform') is not found openconfig-terminal-device.yang:820: warning: The 'must' expression will fail: the node 'operational-modes' from module 'openconfig-terminal-device' (in node 'components' from 'openconfig-platform') is not found

Thanks, Vivek Prasad

vprasad avatar Sep 30 '16 03:09 vprasad

Hi Vivek, Did you ever get any feedback on this? Kind regards, Fabian

fnchooft avatar Nov 09 '17 11:11 fnchooft

Hi Vivek, Did you ever get any feedback on this? Kind regards, Fabian

Hi Fabian, I never Got any response. Thanks,

vprasad avatar Feb 20 '19 09:02 vprasad

This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.

github-actions[bot] avatar Jul 05 '24 02:07 github-actions[bot]