cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1046
Views
25
Helpful
3
Replies
Highlighted
Cisco Employee

make all for latest cisco neds are not working in linux (ubuntu) ? Need help

System Env.: 

OS: Ubuntu 19.04

Python: 3.6.6

Jdk: 1.8

Ant 1.10.6

 

NSO Env.:

NSO 5.2.0.1

NED's: cisco-iosxr-cli-7.13

cisco-nx-cli-5.10

 

Error: 

======== CREATE ncsc-out/modules/fxs/tailf-ned-cisco-nx.fxs
mkdir -p tmp-yang/config
cp tmp-yang/tailf-ned-cisco-nx.yang tmp-yang/config
/home/xyz/abc/nso5.2/bin/ncsc --ncs-compile-bundle tmp-yang/config \
--ncs-skip-statistics \
--ncs-device-dir ncsc-out \
--ncs-device-type cli-ned \
--yangpath tmp-yang/config \
--yangpath ncsc-out/modules/yang \
--ncs-ned-id : \

ncsc: --ncs-ned-id must be on the form <module-name>:<identity-name>
Try 'ncsc -h' for help and more information
make: *** [nedcom.mk:179: tmp-yang/fxs-config] Error 1

They are working

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

`xlstproc` is missing in linux, need to install it

for ubuntu: `sudo apt-get install xsltproc`

View solution in original post

3 REPLIES 3
Highlighted
Cisco Employee

I found the following diff in Mac and Linux in the commands at
`--ncs-ned-id cisco-nx-cli-5.10:cisco-nx-cli-5.10` the module-name and identitiy-name are not getting on ned's make in linux

Highlighted

actual command:

# YANG config, compiled as bundle
tmp-yang/fxs-config: $(call y,$(YANG_CONFIG))
$(SAY) CREATE $(call ncsc_out,$(YANG_CONFIG))
mkdir -p tmp-yang/config
cp $(call ty,$(YANG_CONFIG)) tmp-yang/config
$(NCSC) --ncs-compile-bundle tmp-yang/config \
--ncs-skip-statistics \
--ncs-device-dir ncsc-out \
--ncs-device-type $(NED_TYPE) \
--yangpath tmp-yang/config \
--yangpath ncsc-out/modules/yang \
$(NED_ID_ARG) \
$(SUPPRESS_WARN)
cp $(call ncsc_out,$(YANG_CONFIG)) ../load-dir
touch $@

Looks like Path variables are missing..!
Highlighted

`xlstproc` is missing in linux, need to install it

for ubuntu: `sudo apt-get install xsltproc`

View solution in original post