[TRNSPRTPCE-591] parameters value incoherences during func. tests between configuration and operation device DS retrieved Created: 27/Jan/22  Updated: 17/Mar/22

Status: Open
Project: transportpce
Component/s: None
Affects Version/s: Silicon, Phosphorus, Sulfur
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Guillaume Lambert Assignee: Gilles Thouenon
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 2 days
Original Estimate: 0 minutes


 Description   

During renderer service path nominal and OLM func. tests (both 1.2.1 and 2.2.1), the 'equipment-state' parameters retrieved in simulators circuit-packs via yang-ext:mount and the OLM ots 'span-loss parameters are different  between configuration and operation datastores.

It looks more like a honeynode implementation issue than an ODL bug.



 Comments   
Comment by Guillaume Lambert [ 27/Jan/22 ]

For example, here:

GET {}/config/network-topology:network-topology/topology/topology-netconf/node/XPDR-A1/yang-ext:mount/org-openroadm-device:org-openroadm-device/circuit-packs/1%2F0%2F1-PLUG-NET

returns

{'circuit-packs': [{'circuit-pack-name': '1/0/1-PLUG-NET', 'circuit-pack-mode': 'NORMAL', 'subSlot': '1', 'parent-circuit-pack':

{'cp-slot-name': '1', 'circuit-pack-name': '1/0'}

, 'circuit-pack-product-code': 'Line_NW_P', 'ports': [\{'port-name': '1', 'port-qual': 'xpdr-network', 'port-type': 'CFP2', 'administrative-state': 'inService'}], 'shelf': '1', 'circuit-pack-type': 'line_pluggable', 'slot': '1',
'equipment-state': 'not-reserved-inuse'}]}

 

and

 

{}/operational/network-topology:network-topology/topology/topology-netconf/node/XPDR-A1/yang-ext:mount/org-openroadm-device:org-openroadm-device/circuit-packs/1%2F0%2F1-PLUG-NET

returns

{'circuit-packs': [{'circuit-pack-name': '1/0/1-PLUG-NET', 'circuit-pack-category':

{'type': 'circuitPack'}

, 'parent-circuit-pack': {'cp-slot-name': '1', 'circuit-pack-name': '1/0'}, 'operational-state': 'inService', 'is-pluggable-optics': True, 'vendor': 'VendorA', 'serial-id': '1234', 'hardware-version': '0.1', 'model': 'CFP2', 'circuit-pack-type': 'line_pluggable',
'equipment-state': 'not-reserved-available',
'circuit-pack-mode': 'NORMAL', 'subSlot': '1', 'product-code': 'Line_NW_P', 'circuit-pack-product-code': 'Line_NW_P', 'type': 'line/network pluggable', 'ports': [{'port-name': '1', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'operational-state': 'inService', 'port-qual': 'xpdr-network', 'administrative-state': 'inService', 'label': '2', 'transponder-port':

{'port-power-capability-max-rx': 1.0, 'port-power-capability-min-rx': -22.0, 'port-power-capability-max-tx': 0.0, 'port-power-capability-min-tx': -5.0}

, 'port-wavelength-type': 'wavelength', 'port-direction': 'bidirectional', 'port-type': 'CFP2', 'interfaces': [\{'interface-name': 'XPDR1-NETWORK1-713:720'}, \{'interface-name': 'XPDR1-NETWORK1-OTU'}, \{'interface-name': 'XPDR1-NETWORK1-ODU4'}]}], 'shelf': '1', 'slot': '1'}]}

Comment by Gilles Thouenon [ 17/Mar/22 ]

Could you please specify which test of OLM functional test suites are failing due to this issue?
I don't see where equipmenent-state is verified in these test suites.

Comment by Guillaume Lambert [ 17/Mar/22 ]

I made the modification but I suspect there are more

Generated at Wed Feb 07 20:43:30 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.