Hi,

We are trying to use ODL in our Ems project to provide the Retconf NBI and the 
Netconf-connector features. The following is the topology of our implementation.

ODL-->OB-BAA-->Sysrepo(Device Netconf server)

We are facing a problem with the Sysrepo server invalidating some 
configurations which have the identity-reference attributes(for 
eg:bbf-qos-classifier.yang:classifier:filter-operation), and the workaround for 
it is to deliver a Netconf message payload that is acceptable by sysrepo. We 
are trying to modify the Netconf connector code to modify the Netconf message 
to the southbound server(BAA) with reference to the identity-ref attributes in 
them.

The change we are pondering over is to replace the following format/notation to 
the one further below, where the prefix is appended to the tag and value for 
identity-ref attributes.

               <filter-operation> match-all-filter</filter-operation>
To
               
<bbf-qos-cls:filter-operation>bbf-qos-cls:match-all-filter</bbf-qos-cls:filter-operation>

So that, it reaches the sysrepo after processing at BAA in a format the sysrepo 
accepts. In order to achieve the above, we are planning to do a plain regex 
match and replace of the tag and values.

Has something similar been observed before?
Is there any better alternate to the above approach,
Are there any switches in restconf->Netconf transformation code to enable the 
prefix to be added all through?
or can the replace routine be done somewhere else which  has single entity 
context processing instead of the bulk xml.

Thanks,
Thirumurugan.




This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8903): https://lists.opendaylight.org/g/Discuss/message/8903
Mute This Topic: https://lists.opendaylight.org/mt/91180470/21656
Group Owner: discuss+ow...@lists.opendaylight.org
Unsubscribe: https://lists.opendaylight.org/g/Discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to