cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1071
Views
0
Helpful
2
Replies

NCS report; does not have a Network Element Driver registered

michelbijnsdorp
Level 1
Level 1

Hi

I'm trying to setup a NSO demo with a rather old Avaya 4k NED.  this driver is added to NSO and become active:

admin@ncs# show packages package oper-status

                                                                                  PACKAGE               

                   PROGRAM                                                        META     FILE         

                   CODE     JAVA           BAD NCS  PACKAGE  PACKAGE  CIRCULAR    DATA     LOAD   ERROR 

NAME           UP  ERROR    UNINITIALIZED  VERSION  NAME     VERSION  DEPENDENCY  ERROR    ERROR  INFO  

---------------------------------------------------------------------------------------------------------

avaya-4k       X   -        -              -        -        -        -           -        -      -     

netsim devices_init stated:

   <device>

     <name>ava-4-0</name>

     <address>127.0.0.1</address>

     <port>10029</port>

     <ssh>

       <host-key>

         <algorithm>ssh-rsa</algorithm>

         <key-data>ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDC52JosNoAww63pGZWUfc4lowsR/2/ne8oxVOM1ig8P2H0nkWhGx6OpB9rmbBbf7j7eeaRzBzLiIJp25nq3jJXJODxkObSqtqKODRPpCkQ

y+TmXlTeb4QgIFHkNYaCfIpObBo0q5CReExyFvbCeeZO6uQNd86t/fYA69Vr78ln94YThdL9P4+SywsaW2BE4bZaIFP235L7Bjxg/LTIT5TzKOcZV/CqJKi7dJlTrkcJHyu5sS+dyp+PmTuLC7+gQytDlvQD4Ek0npq

tbp6mfVyZ8B/hN8RUaw4uoBymok3Iy+QKBeWoZ6zjzym19HiJXFwC</key-data>

       </host-key>

     </ssh>

     <state>

       <admin-state>unlocked</admin-state>

     </state>

     <authgroup>default</authgroup>

     <device-type>

       <cli>

         <ned-id xmlns:avaya-4k-id="http://tail-f.com/ned/avaya-4k-id">avaya-4k-id:avaya-4k</ned-id>

       </cli>

     </device-type>

   </device>

   <device>

netsim dir stated : netsim list

name=ava-4-0 netconf=12029 snmp=11029 ipc=5017 cli=10029 dir=/home/nso/LabDir45/netsim/ava-4-/ava-4-0

from the ncs admin console I tried to add de device ;

admin@ncs# config

Entering configuration mode terminal

admin@ncs(config)# devices device ava-4-0                     

admin@ncs(config-device-ava-4-0)# address 127.0.0.1 port 10029               

admin@ncs(config-device-ava-4-0)# device-type cli ned-id avaya-4k protocol ssh

admin@ncs(config-device-ava-4-0)# authgroup default                          

admin@ncs(config-device-ava-4-0)# state admin-state unlocked                 

admin@ncs(config-device-ava-4-0)# ssh fetch-host-keys ?                      

Possible completions:

  <cr>

admin@ncs(config-device-ava-4-0)# ssh fetch-host-keys

result unchanged

fingerprint {

    algorithm ssh-rsa

    value f4:a7:64:d2:0c:98:0c:5e:75:39:09:a3:c1:16:f3:a2

}

admin@ncs(config-device-ava-4-0)# commit

Commit complete.

admin@ncs(config-device-ava-4-0)# sync-from

result false

info Device ava-4-0 does not have a Network Element Driver registered


The question is why do I get these errors that the NED is not registered and how can I fix this ?

Any reponse in this matter is appreciated ?

With kind regards Michel Bijnsdorp

2 Replies 2

michelbijnsdorp
Level 1
Level 1

The devel.log reports the following:

<DEBUG> 11-Jul-2018::10:46:11.706 NSO ncs[9005]: ncs Requestor {'sync-from',91,<0.3296.0>} tries to acquire lock for device <<"ava-4-0">>

<INFO> 11-Jul-2018::10:46:11.706 NSO ncs[9005]: ncs device ava-4-0: sync-from...

<INFO> 11-Jul-2018::10:46:11.708 NSO ncs[9005]: ncs device ava-4-0: connect: device connect...

<INFO> 11-Jul-2018::10:46:11.709 NSO ncs[9005]: ncs device ava-4-0: connect: send NED connect

<ERR> 11-Jul-2018::10:46:11.709 NSO ncs[9005]: ncs cli ned-id 'avaya4k-id:avaya-4k' not registered by user code. The following ned-ids are registered: ['avaya4k-id:avaya4k',

                                                                                                     'alu-sr-id:alu-sr',

                                                                                                     'ios-id:cisco-ios',

                                                                                                     'avaya8k-id:avaya8k',

                                                                                                     'cisco-ios-xr-id:cisco-ios-xr',

                                                                                                     'bigip:f5-bigip']

<INFO> 11-Jul-2018::10:46:11.709 NSO ncs[9005]: ncs device ava-4-0: connect: device connect error

<INFO> 11-Jul-2018::10:46:11.710 NSO ncs[9005]: ncs device ava-4-0: sync-from error

<DEBUG> 11-Jul-2018::10:46:11.710 NSO ncs[9005]: ncs Device <<"ava-4-0">> is unlocked

While device ava-4-0  has NED-ID: avaya4k ???

Cisco support answered that this Avaya NED is to old and therefore this error message was generated.