STORDIS / orca_nw_lib

gNMI python package for SONiC switch discovery and management.
Other
2 stars 3 forks source link

Optimize rediscovery of network components while performing write operations from ORCA. #34

Closed kamalkrbh closed 3 months ago

kamalkrbh commented 10 months ago

For example, while modifying the config of a single interface all the interfaces are rediscovered to update the DB. Similarly for other network features.

kamalkrbh commented 7 months ago

In case of single entity discovery, discovery might fail because the after discovery adding and removing of entities is taken care by same function. For example if after configuration of single port-channel only one port-channel is discoverred then current logic will delete other portchannels except the one discoverred.

kamalkrbh commented 4 months ago

For PortGroup and Interfaces the updates done in devices are written to neo4j via gNMI SubscriptionResponses.

kamalkrbh commented 3 months ago

Done for interface and portgroups, Not all the paths support subscription.