-
Notifications
You must be signed in to change notification settings - Fork 558
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
orchagent: DASH changes #2459
orchagent: DASH changes #2459
Conversation
5bb999c
to
f438a10
Compare
Do we intend to set admin state of ENI? |
Yes, I have fixed this. |
void doTaskRoutingTypeTable(Consumer &consumer); | ||
bool addApplianceEntry(const std::string& appliance_id, const ApplianceEntry &entry); | ||
bool removeApplianceEntry(const std::string& appliance_id); | ||
bool addRoutingTypeEntry(const std::string& routing_type, const RoutingTypeEntry &entry); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RoutingTypeEntry is expected to be a list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix this in a subsequent commit along with handling list of actions for DASH_ROUTING_TYPE_TABLE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, please wait for other reviews
* Introduce DASH specific orchs - DashOrch, DashVnetOrch and DashRouteOrch * Introduce changes to handle various DASH table schemas and operations * Changes in bulker to introduce new constructors for DASH-related Entity/Object bulkers * Changes to support new DASH tables and orchs in orchdaemon * Changes to support new DASH APIs in saihelper * Makefile changes to support compilation * References: https://github.com/Azure/DASH/blob/main/documentation/general/design/dash-sonic-hld.md * Verifications done: Manual testing with configurations referenced in the HLD above. * Issues: Intermittent failures with bulk operations on DASH_VNET_MAPPING_TABLE, dependency related failures when deleting DASH_VNET objects when there are objects with references to these objects that are yet to be deleted. Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
* Address review comments * Gracefully handle certain error conditions during bulk set/del operations Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
* Avoid "using" directives for namespaces in dash headers * Make equality checks for dash objects more robust * Clear pa_validation_object_statuses as well in VnetMapBulkContext clear() Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
* Move ENI and QOS to DashOrch * Make ENI table handling simpler * Fix generation of hash seed for DASH entries * Avoid setting of explicit default values for QOS attributes * Changing log levels as appropriate to avoid incessant logging * Miscellaneous cosmetic code cleanups Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
* Address handling of IPv6 keys for DASH_ROUTING_TABLE, DASH_ROUTING_RULE_TABLE and DASH_VNET_MAPPING_TABLE Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
* orchagent: DASH changes * Introduce DASH specific orchs - DashOrch, DashVnetOrch and DashRouteOrch * Introduce changes to handle various DASH table schemas and operations * Changes in bulker to introduce new constructors for DASH-related Entity/Object bulkers * Changes to support new DASH tables and orchs in orchdaemon * Changes to support new DASH APIs in saihelper * Makefile changes to support compilation * References: https://github.com/Azure/DASH/blob/main/documentation/general/dash-sonic-hld.md * Verifications done: Manual testing with configurations referenced in the HLD above as well as automated vstests Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
* orchagent: DASH changes * Introduce DASH specific orchs - DashOrch, DashVnetOrch and DashRouteOrch * Introduce changes to handle various DASH table schemas and operations * Changes in bulker to introduce new constructors for DASH-related Entity/Object bulkers * Changes to support new DASH tables and orchs in orchdaemon * Changes to support new DASH APIs in saihelper * Makefile changes to support compilation * References: https://github.com/Azure/DASH/blob/main/documentation/general/dash-sonic-hld.md * Verifications done: Manual testing with configurations referenced in the HLD above as well as automated vstests Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
* orchagent: DASH changes * Introduce DASH specific orchs - DashOrch, DashVnetOrch and DashRouteOrch * Introduce changes to handle various DASH table schemas and operations * Changes in bulker to introduce new constructors for DASH-related Entity/Object bulkers * Changes to support new DASH tables and orchs in orchdaemon * Changes to support new DASH APIs in saihelper * Makefile changes to support compilation * References: https://github.com/Azure/DASH/blob/main/documentation/general/dash-sonic-hld.md * Verifications done: Manual testing with configurations referenced in the HLD above as well as automated vstests Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
* orchagent: DASH changes * Introduce DASH specific orchs - DashOrch, DashVnetOrch and DashRouteOrch * Introduce changes to handle various DASH table schemas and operations * Changes in bulker to introduce new constructors for DASH-related Entity/Object bulkers * Changes to support new DASH tables and orchs in orchdaemon * Changes to support new DASH APIs in saihelper * Makefile changes to support compilation * References: https://github.com/Azure/DASH/blob/main/documentation/general/dash-sonic-hld.md * Verifications done: Manual testing with configurations referenced in the HLD above as well as automated vstests Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
Introduce DASH specific orchs - DashOrch, DashVnetOrch and DashRouteOrch
Introduce changes to handle various DASH table schemas and operations
Changes in bulker to introduce new constructors for DASH-related Entity/Object bulkers
Changes to support new DASH tables and orchs in orchdaemon
Changes to support new DASH APIs in saihelper
Makefile changes to support compilation
References: https://github.com/Azure/DASH/blob/main/documentation/general/design/dash-sonic-hld.md
Verifications done: Manual testing with configurations referenced in the HLD above.
Issues: Intermittent failures with bulk operations on DASH_VNET_MAPPING_TABLE, dependency related failures when deleting DASH_VNET and DASH_ENI objects when there are objects with references to these objects that are yet to be deleted.
Signed-off-by: Prabhat Aravind paravind@microsoft.com
What I did
Why I did it
How I verified it
Details if related