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

NSO sync-from vs Pioneer get-config (Nokia netconf problem)

Iman1
Level 1
Level 1

Hi

Built the netconf NED for latest SROS 15.0R4 using yang models provided by Nokia. Attempting to sync-from the device gives an error, but using Pioneer get-config works. I investigated the raw netconf traces, and the issue seems to be due to following:

Pioneer get-config sends the following message without using any filter, and device returns configs properly.

<?xml version="1.0" encoding="UTF-8"?>

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">

    <get-config><source><running/></source></get-config>

</rpc>

...but sync-from command sends the following message to which Nokia router returns an error.

<?xml version="1.0" encoding="UTF-8"?>

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">

<get-config><source><running/></source><filter><configure xmlns="urn:alcatel-lucent.com:sros:ns:yang:conf-r13"></configure></filter></get-config></rpc>

Nokia device returns:

<?xml version="1.0" encoding="UTF-8"?>

<rpc-reply message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

    <rpc-error>

        <error-type>application</error-type>

        <error-tag>operation-failed</error-tag>

        <error-severity>error</error-severity>

        <error-info>

            <err-element>get-config</err-element>

        </error-info>

        <error-message>

            command failed - &apos;configure&apos;

            MINOR: CLI Command not allowed for this user.

        </error-message>

    </rpc-error>

</rpc-reply>

Is this because of errors in Nokia yang? but what makes NSO to pick that yang model as a "filter" for its get-config request?

Thanks

1 Accepted Solution

Accepted Solutions

Jan Lindblad
Cisco Employee
Cisco Employee

Not necessarily in the YANG. I'd say there is a problem in their NETCONF implementation.

If you have relevant contacts at Nokia/ALU, I'd be happy get into the conversation.

View solution in original post

1 Reply 1

Jan Lindblad
Cisco Employee
Cisco Employee

Not necessarily in the YANG. I'd say there is a problem in their NETCONF implementation.

If you have relevant contacts at Nokia/ALU, I'd be happy get into the conversation.