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

Build NED with Netconf for Nokia SR 7750

paulohperes
Level 1
Level 1

Hello,

Hello,

I'm trying to create a ned with netconf for a Nokia SR-7750 device in version 16. I was able to connect the NSO via NETCONF, as well as fetch the modules.

set devices device raggpcs01 address 10.47.180.6
set devices device raggpcs01 port 830
set devices device raggpcs01 ssh host-key ssh-dss key-data "AAAAB3NzaC1kc3MAAACBAJZxG3+AJiOGgYWzNFr5mfhL0tIiOCGFsugLUCktp/skbCNGu98+\nzUbghmLwmc0lG1MdYoDYTabBqfrbUpoSHUyGnAuajTew6pg3z3CbE7QbQxkInHp5NeF/Gszq\n24v50DLVGl9bI2fkK1c4A2ANvZxTZ3wnzzRlVgHwDVLDGdEVAAAAFQCmpDz0mCeHcuArTfmY\nM8NH2pDkpwAAAIB/+CL9J9ULFQ5lXcjtDEVzXPqCKg+ZtCnPRfZShL1fKbnmI1Lj5prHsz4F\nh5W+GTCGZi2b+Re/wCx1eTGTAqEHAbxClKIUW2DhAlrrHaPGnIhzSCsEMK/eEq+D4vYTWjv5\nBKpBxPHuPSO8ZFw4sGyl721ztXeAtGNVnfSO2N6sOgAAAIEAhmctCc1M7Jv3GPrFPLzw0SbZ\nRl68M9aKeXdjnAuxtxqvLv+p1H555o7o8IaEPOQhQKb12NExyw0nV1IAuzwRPVB+rqvhJW47\nvb2QwTGm0Q4Xqjsit9x3+26n9KUHhSLH5lHwJwwXnZojuQyG31O5gTsTS8d+OWLl01pyte4l\nul8="
set devices device raggpcs01 ssh host-key ssh-rsa key-data "AAAAB3NzaC1yc2EAAAABIwAAAIEAwvFhJQsjkAc6+J9KUiRJ3Ry1gvTum5EEuT3SIhUTHx8c\n/AZF3I2jQXXCvU5gLzbggzXoNAI7uMzfIztJCZHsSEKNzHyawf5KoIUIESYJcNb1OK564Xri\nUGiBlqKl/niVEbuimjvKfyGOv5WRt5rWdDzfvcSF4VHGDYZd3hInCms="
set devices device raggpcs01 authgroup netconf
set devices device raggpcs01 device-type netconf ned-id netconf
set devices device raggpcs01 trace pretty
set devices device raggpcs01 use-lsa
set devices device raggpcs01 state admin-state unlocked
set netconf-ned-builder project nokia-nc 1.0 device raggpcs01

 

The equipment has two YANG model options, r13 (all modules start with alu-*), as well as nokia-modules (all start with nokia-*), I believe that both do the same thing, however, with the merger of companies changing the times, I configured the equipment with both, as well as each one separately.

When I try to download the module to later generate my own NED, I receive some errors, like the ones below:

admin@ncs> show netconf-ned-builder project nokia-nc module alu-conf-card-r13 select-info  
FAMILY    MAJOR                                                           
NAME      VERSION  NAME               REVISION    SELECT INFO             
--------------------------------------------------------------------------
nokia-nc  1.0      alu-conf-card-r13  2018-04-27  No supported locations  

admin@ncs> show netconf-ned-builder project nokia-nc module ietf-inet-types select-info 
FAMILY    MAJOR                                                         
NAME      VERSION  NAME             REVISION    SELECT INFO             
------------------------------------------------------------------------
nokia-nc  1.0      ietf-inet-types  2013-07-15  No supported locations  

admin@ncs> show netconf-ned-builder project nokia-nc module nokia-types-card select-info
netconf-ned-builder project nokia-nc 1.0
 module nokia-types-card 2018-06-08
  select-info "Could not fetch module: bad_element: \n            Element is not valid in the specified context.\n        "
[ok][2023-10-06 12:58:19]
admin@ncs> 

The configuration for my ned builder:

  vendor               - Vendor field is a mandatory meta-data for the NED package, stored in the package-meta-data.xml.
admin@ncs> show configuration netconf-ned-builder project 
project nokia-nc 1.0 {
    device     raggpcs01;
    local-user suporte;
    vendor     Nokia;
}
[ok][2023-10-06 13:01:19]

Has anyone managed to create a Nokia NED in version 16?

Another point, NED is necessary to be able to retrieve the equipment settings or we can do this using only the default configuration, I say this because when I sync-from it does not bring the settings.

Tks

0 Replies 0