Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS does not correctly update target CPS interface object when port state changed by kernel #87

Open
hpersh opened this issue Feb 7, 2019 · 0 comments
Labels

Comments

@hpersh
Copy link

hpersh commented Feb 7, 2019

# kernel: Interface is currently down
root@OPX:~# ifconfig e101-001-0
e101-001-0: flags=6146<BROADCAST,SLAVE,MULTICAST> mtu 1500
ether 90:b1:1c:f4:b3:e2 txqueuelen 1000 (Ethernet)
RX packets 3513 bytes 283031 (276.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 327 bytes 24970 (24.3 KiB)
TX errors 0 dropped 1 overruns 0 carrier 0 collisions 0

# CPS: Observed interface object shows as down
root@OPX:~# cps_get_oid.py -qua observed dell-base-if-cmn/if/interfaces-state/interface if/interfaces-state/interface/if-index=11

============dell-base-if-cmn/if/interfaces-state/interface==========

dell-if/if/interfaces-state/interface/supported-autoneg = 4
dell-if/if/interfaces/interface/phys-address = 90:b1:1c:f4:b3:e2
if/interfaces-state/interface/speed = 0
if/interfaces-state/interface/admin-status = 2
dell-if/if/interfaces-state/interface/duplex = 1
dell-if/if/interfaces-state/interface/auto-negotiation = 0
if/interfaces-state/interface/if-index = 11
dell-if/if/interfaces-state/interface/configured-fec = 2
base-if-linux/if/interfaces/interface/dell-type = 1
if/interfaces-state/interface/name = e101-001-0
dell-if/if/interfaces/interface/mtu = 1532
if/interfaces/interface/enabled = 0
dell-if/if/interfaces-state/interface/supported-speed = 3,4,6
dell-if/if/interfaces-state/interface/max-speed = 6
if/interfaces-state/interface/oper-status = 2
if/interfaces-state/interface/type = ianaift:ethernetCsmacd

# CPS: Target interface object shows as up
root@OPX:~# cps_get_oid.py -qua target dell-base-if-cmn/if/interfaces/interface dell-base-if-cmn/if/interfaces/interface/if-index=11

============dell-base-if-cmn/if/interfaces/interface==========

base-if-phy/if/interfaces/interface/npu-id = 0
dell-base-if-cmn/if/interfaces/interface/if-index = 11
dell-if/if/interfaces/interface/phys-address = 90:b1:1c:f4:b3:e2
dell-if/if/interfaces/interface/speed = 6
if/interfaces/interface/name = e101-001-0
dell-if/if/interfaces/interface/duplex = 1
dell-if/if/interfaces/interface/auto-negotiation = 0
if/interfaces/interface/type = ianaift:ethernetCsmacd
base-if-linux/if/interfaces/interface/dell-type = 1
if/interfaces/interface/enabled = 1
dell-if/if/interfaces/interface/mtu = 1532
dell-if/if/interfaces/interface/mode = 1
base-if-phy/if/interfaces/interface/port-id = 25
dell-base-if-cmn/if/interfaces/interface/vlan-filter = 2
base-if-phy/if/interfaces/interface/phy-media = 3
dell-if/if/interfaces/interface/fec = 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant