Skip to content

EthPortTable broken with v2.6.5 #1215

@MarcoBorrini99

Description

@MarcoBorrini99

In the following scenario:

  • many MX960 devices (Junos: 19.4R3-S9.4)
  • many ACX5448 devices (Junos: 21.4R2-S1.4)

within a 2.6.5 env, the following code outputs an empty EthPortTable (e.g.mip-12 is a mx960 with ge-, xe-, et-, ae interfaces):

>>> from jnpr.junos import Device
>>> dev = Device(host='mip-12', user='USER', password='PASSWORD')
>>> dev.open()
>>> from jnpr.junos.op.ethport import EthPortTable
>>> ethports = EthPortTable(dev)
>>> ethports.get()
EthPortTable:mip-12: 0 items

but in a 2.6.4 env:

>>> from jnpr.junos import Device
>>> dev = Device(host='mip-12', user='USER', password='PASSWORD')
>>> dev.open()
>>> from jnpr.junos.op.ethport import EthPortTable
>>> ethports = EthPortTable(dev)
>>> ethports.get()
EthPortTable:mip-12: 249 items

Can someone confirm this issue?

BR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions