06-11-2019 02:56 AM
Hello all, I am trying to add F5 big IP inside my NSO.
These are the steps im doing:
$ ncs-netsim list
ncs-netsim list for /home/jenkins/ncs-run/netsim
name=fip0 netconf=12027 snmp=11027 ipc=5015 cli=10027 dir=/home/jenkins/ncs-run/netsim/fip/fip0
admin@ncs# config t
Entering configuration mode terminal
admin@ncs(config)# devices device fip0
admin@ncs(config-device-fip0)# address 127.0.0.1 port 10027
admin@ncs(config-device-fip0)# device-type generic ned-id f5-bigip
admin@ncs(config-device-fip0)# state admin-state unlocked
admin@ncs(config-device-fip0)# authgroup training
admin@ncs(config-device-fip0)# commit check
Validation complete
admin@ncs(config-device-fip0)# commit
% No modifications to commit.
admin@ncs(config-device-fip0)#
admin@ncs# show devices brief
NAME ADDRESS DESCRIPTION NED ID
------------------------------------------
fip0 127.0.0.1 - f5-bigip
admin@ncs#
admin@ncs# devices fetch-ssh-host-keys device fip0
fetch-result {
device fip0
result failed
info Failed to connect to device fip0: connection refused
}
admin@ncs#
admin@ncs# devices sync-from
sync-result {
device fip0
result false
info Failed to connect to device fip0: connection refused: Connection refused (Connection refused)
}
admin@ncs#
Thank you
Regards
RG
06-11-2019 03:24 AM
Follow the detailed ReadMe instructions in the NED package.
06-15-2019 06:25 AM
06-15-2019 02:01 PM
could you also report back on these please?
ncs-netsim is-alive fip0
ncs-netsim status fip0
(i assume you actually started the netsim?)
06-17-2019 03:49 AM
Hello gschudel,
Thank you for your reply.
These are the details:
[jenkins@hs2-inf-v-nso01 ncs-run]$ ncs-netsim restar
*** Unknown arg restar
Try ncs-netsim --help or man ncs-netsim to get usage text
[jenkins@hs2-inf-v-nso01 ncs-run]$ ncs-netsim restart
DEVICE C0 STOPPED
DEVICE C1 STOPPED
DEVICE X0 STOPPED
DEVICE X1 STOPPED
DEVICE J0 STOPPED
DEVICE fip0 STOPPED
DEVICE alu0 STOPPED
DEVICE C0 RESET
DEVICE C1 RESET
DEVICE X0 RESET
DEVICE X1 RESET
DEVICE J0 RESET
DEVICE fip0 RESET
DEVICE alu0 RESET
DEVICE C0 OK STARTED
DEVICE C1 OK STARTED
DEVICE X0 OK STARTED
DEVICE X1 OK STARTED
DEVICE J0 OK STARTED
No modifications to commit.
DEVICE fip0 OK STARTED
DEVICE alu0 OK STARTED
[jenkins@hs2-inf-v-nso01 ncs-run]$ ncs-netsim is-alive fip0
DEVICE fip0 OK
[jenkins@hs2-inf-v-nso01 ncs-run]$ ncs-netsim status fip0
DEVICE fip0
vsn: 6.7
SMP support: no
Using epoll: no
available modules: backplane,netconf,cdb,cli,snmp,webui
running modules: backplane,netconf,cdb,cli
status: started
namespaces: urn:ietf:params:xml:ns:yang:iana-crypt-hash prefix:ianach exported to: all
urn:ietf:params:xml:ns:yang:ietf-inet-types prefix:inet exported to: all
urn:ietf:params:xml:ns:yang:ietf-netconf-acm prefix:nacm exported to: none
urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring prefix:ncm exported to: all
urn:ietf:params:xml:ns:yang:ietf-netconf-notifications prefix:ncn exported to: all
urn:ietf:params:xml:ns:yang:ietf-restconf prefix:rc exported to: rest
urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring prefix:rcmon exported to: all
urn:ietf:params:xml:ns:yang:ietf-yang-library prefix:yanglib exported to: netconf,rest
urn:ietf:params:xml:ns:yang:ietf-yang-patch prefix:ypatch exported to: rest
urn:ietf:params:xml:ns:yang:ietf-yang-types prefix:yang exported to: all
http://tail-f.com/ns/aaa/1.1 prefix:aaa exported to: none
http://tail-f.com/yang/acm prefix:tacm exported to: all
http://tail-f.com/yang/common prefix:tailf exported to: all
http://tail-f.com/yang/common-monitoring prefix:tfcg exported to: all
http://tail-f.com/ns/common/query prefix:tfcq exported to: all
http://tail-f.com/yang/confd-monitoring prefix:tfcm exported to: all
http://tail-f.com/ns/kicker prefix:kicker exported to: all
http://tail-f.com/ns/ncs-ned prefix:ned exported to: none
http://tail-f.com/ned/f5-bigip prefix:bigip exported to: all
http://tail-f.com/yang/netconf-monitoring prefix:tncm exported to: all
http://tail-f.com/ns/progress prefix:progress exported to: all
http://tail-f.com/ns/rollback prefix:rollback exported to: rest,netconf,maapi
http://tail-f.com/ns/webui prefix:webui exported to: all
http://tail-f.com/yang/xsd-types prefix:xs exported to: all
YANG data models:
module: iana-crypt-hash revision: 2014-08-06
namespace: urn:ietf:params:xml:ns:yang:iana-crypt-hash
prefix: ianach
exported to: all
module: ietf-inet-types revision: 2013-07-15
namespace: urn:ietf:params:xml:ns:yang:ietf-inet-types
prefix: inet
exported to: all
module: ietf-netconf-acm revision: 2012-02-22
namespace: urn:ietf:params:xml:ns:yang:ietf-netconf-acm
prefix: nacm
exported to: none
module: ietf-netconf-monitoring revision: 2010-10-04
namespace: urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring
prefix: ncm
exported to: all
module: ietf-netconf-notifications revision: 2012-02-06
namespace: urn:ietf:params:xml:ns:yang:ietf-netconf-notifications
prefix: ncn
exported to: all
module: ietf-restconf revision: 2017-01-26
namespace: urn:ietf:params:xml:ns:yang:ietf-restconf
prefix: rc
exported to: rest
module: ietf-restconf-monitoring revision: 2017-01-26
namespace: urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring
prefix: rcmon
exported to: all
module: ietf-yang-library revision: 2016-06-21
namespace: urn:ietf:params:xml:ns:yang:ietf-yang-library
prefix: yanglib
exported to: netconf,rest
module: ietf-yang-patch revision: 2017-02-22
namespace: urn:ietf:params:xml:ns:yang:ietf-yang-patch
prefix: ypatch
exported to: rest
module: ietf-yang-types revision: 2013-07-15
namespace: urn:ietf:params:xml:ns:yang:ietf-yang-types
prefix: yang
exported to: all
module: tailf-aaa revision: 2018-09-12
namespace: http://tail-f.com/ns/aaa/1.1
prefix: aaa
exported to: none
module: tailf-acm revision: 2013-03-07
namespace: http://tail-f.com/yang/acm
prefix: tacm
exported to: all
module: tailf-common revision: 2018-04-19
namespace: http://tail-f.com/yang/common
prefix: tailf
exported to: all
module: tailf-common-monitoring revision: 2013-06-14
namespace: http://tail-f.com/yang/common-monitoring
prefix: tfcg
exported to: all
module: tailf-common-query revision: 2017-12-15
namespace: http://tail-f.com/ns/common/query
prefix: tfcq
exported to: all
module: tailf-confd-monitoring revision: 2013-06-14
namespace: http://tail-f.com/yang/confd-monitoring
prefix: tfcm
exported to: all
module: tailf-kicker revision: 2017-09-28
namespace: http://tail-f.com/ns/kicker
prefix: kicker
exported to: all
module: tailf-ncs-ned revision: 2016-11-24
namespace: http://tail-f.com/ns/ncs-ned
prefix: ned
exported to: none
module: tailf-ned-f5-bigip revision: 2019-05-07
namespace: http://tail-f.com/ned/f5-bigip
prefix: bigip
exported to: all
module: tailf-netconf-monitoring revision: 2016-11-24
namespace: http://tail-f.com/yang/netconf-monitoring
prefix: tncm
exported to: all
module: tailf-progress revision: 2018-06-21
namespace: http://tail-f.com/ns/progress
prefix: progress
exported to: all
module: tailf-rollback revision: 2018-01-12
namespace: http://tail-f.com/ns/rollback
prefix: rollback
exported to: rest,netconf,maapi
module: tailf-webui revision: 2013-03-07
namespace: http://tail-f.com/ns/webui
prefix: webui
exported to: all
module: tailf-xsd-types revision: 2017-11-20
namespace: http://tail-f.com/yang/xsd-types
prefix: xs
exported to: all
user sessions:
system sessions:
sessionId=1 2019-06-17 05:48:03 system@0.0.0.0 system/system
no locks set
no transactions
sessionId=10 2019-06-17 05:48:03 system@0.0.0.0 system/system
no locks set
no transactions
sessionId=11 2019-06-17 05:48:03 system@0.0.0.0 system/system
no locks set
no transactions
sessionId=12 2019-06-17 05:48:03 system@0.0.0.0 system/system
no locks set
transactions:
tid=7 db=running mode=read
callpoints:
id=ltm-virtual-hook ** not registered
id=ltm-virtual-mask-hook ** not registered
validation points:
actionpoints:
typepoints:
notification stream replay support:
SNMP inform delivery callbacks:
SNMP notification subscriptions:
authentication callback:
not enabled
authorization callbacks:
not enabled
error formatting callbacks:
partial running locks:
partial candidate locks:
partial startup locks:
cdb:
current transaction id: 1560-768483-656356
running:
ram size: 9.7 kB
read locks: 0
write lock: unset
startup:
filename: ./cdb/A.cdb
disk size: 1.3 kB
ram size: 9.7 kB
read locks: 0
write lock: unset
operational:
filename: ./cdb/O.cdb
disk size: 4 bytes
ram size: 136 bytes
subscription lock: unset
no pending subscription notifications
no registered cdb clients
tts alloc:
28005 40:12:7 64:178:1 72:33:0 120:12:2 176:31:290
[jenkins@hs2-inf-v-nso01 ncs-run]$
06-17-2019 03:34 PM
I guess a couple more questions...
a) do _any_ of the devices "fetch-host-keys" and "sync-from" ? (or is it only fip0 that has the issue?)
b) which NED version are you using?
c) can you connect directly to the fip0 netsim?
Linux$ ncs-netsim cli-c fip0
admin connected from 127.0.0.1 using console on Linux
fip0#
d) how is the authgroup "training" configured?
thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide