forked from Juniper/contrail-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AE-ID allocation/deallocation and notify function at vpg resource
partial-jira-bug: CEM-15158 Current behavior: An AE-ID per VPG/PR is added at ref between VPG and PI and the function is available at VMI resource. As a part of CEM-15158, this allocation needs to happen during PI ref to VPG creation at VPG resource class. After this change, for every PI ref update, an AE-ID will be allocated and added as an ref attr at PI-VPG ref. At this point of time, this function is called only from pre_dbe_update. The same function may need to be called from pre_dbe_create as well but its not clear how to publish allocated or deallocated AE-IDs. So pre_dbe_create do not have AE-ID alloc/dealloc logic yet.
- Loading branch information
Showing
1 changed file
with
167 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters