Skip to content
This repository has been archived by the owner on Feb 10, 2018. It is now read-only.

Fix for LLDP neighbors #9

Merged
merged 3 commits into from
Apr 18, 2016
Merged

Fix for LLDP neighbors #9

merged 3 commits into from
Apr 18, 2016

Conversation

mirceaulinic
Copy link
Member

Beginning with JunOS 13, the RPC name was changed from get-lldp-interface-neighbors-information to get-lldp-interface-neighbors, while the attribute interface-name to interface-device:

  • JunOS 12
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/12.3R6/junos">
    <rpc>
        <get-lldp-interface-neighbors-information>
                <interface-name>xe-0/1/0.0</interface-name>
        </get-lldp-interface-neighbors-information>
         </rpc>
        <cli>
            <banner>{master:0}</banner>
        </cli>
    </rpc-reply>
  • JunOS 13
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/13.3R6/junos">
    <rpc>
        <get-lldp-interface-neighbors>
                <interface-device>xe-1/0/0</interface-device>
        </get-lldp-interface-neighbors>
    </rpc>
    <cli>
        <banner>{master}</banner>
    </cli>
</rpc-reply>

@dbarrosop dbarrosop merged commit ebce287 into napalm-automation:master Apr 18, 2016
@mirceaulinic mirceaulinic deleted the CF-LLDP-FIX branch May 31, 2016 10:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants