[TRNSPRTPCE-702] Lightynode : Issue with Serializataion/Deserialization of notifications Created: 21/Nov/22  Updated: 16/Mar/23  Resolved: 16/Mar/23

Status: Verified
Project: transportpce
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Christophe BETOULE Assignee: Christophe BETOULE
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 3 weeks, 1 day
Original Estimate: Not Specified

Epic Link: Lightynode

 Description   

When Lightynode generates notifications, the serialization process of the org-openroadm-device change-notification notification does not insert the namespace in the <edit> body.

 

Lightynode trace:

<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
    <eventTime>2022-10-13T11:05:13Z</eventTime>
    <change-notification xmlns="http://org/openroadm/device">
        <change-time>2022-10-13T11:05:13.000065+02:00</change-time>
        <datastore>running</datastore>
        <edit>
            <operation>merge</operation>
            <target>/:org-openroadm-device/:circuit-packs[:circuit-pack-name='2/0']/:ports[:port-name='L1']</target>
        </edit>
    </change-notification>
</notification>

 

Honeynode trace:

<?xml version="1.0" encoding="utf-8"?>
<notification xmlns="urn:ietf:params:netconf:capability:notification:1.0">
  <change-notification xmlns="http://org/openroadm/device">
    <change-time>2022-10-13T11:10:04.000793+02:00</change-time>
    <datastore>running</datastore>
    <edit>
      <target xmlns:a="http://org/openroadm/device">/a:org-openroadm-device/a:circuit-packs[a:circuit-pack-name='2/0']/a:ports[a:port-name='L1']</target>
      <operation>merge</operation>
    </edit>
    <changed-by>
      <server/>
    </changed-by>
  </change-notification>
  <eventTime>2022-10-13T09:10:04.896Z</eventTime>
</notification>

 


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