-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDFAB-844] Support static configuration of slices via netcfg (#462)
* [SDFAB-844 - Part 1] Refactor SlicingManager to assume static allocation of queues to TCs (#453) * Add SlicingProviderService interface * Remove slice/tc initialization from FabricUpfProgrammable We wil use netcfg for initialization * Remove slice/tc initialization from FabricUpfProgrammable We wil use netcfg for initialization * Remove REST API for adding/removing slice/tcs * Remove unused CLI commands * Revisit TrafficClass and remove hardcoded initialization Sytem is not a traffic class * Introduce TrafficClassConfig class * Remove queue allocation logic * Comments and renaming on SlicingManager * Fix meter color int value * Less ambiguous handling of BE * Fix tests * Remove leftover QueueStoreValue * Javadoc * Wordsmithing * Improvements to TrafficClassConfig * Rename config class to description to disambiguate from netcfg * Use default for mobile slice * clean up rest API docs * address review comments * Fix test and checkstyles * Move distributed store destroy to preDeactivate hook * Update default tc javadoc * Fix tests * [SDFAB-844 - Part 2] Add SlicingConfig class (#454) * Add SlicingProviderService interface * Remove slice/tc initialization from FabricUpfProgrammable We wil use netcfg for initialization * Remove slice/tc initialization from FabricUpfProgrammable We wil use netcfg for initialization * Remove REST API for adding/removing slice/tcs * Remove unused CLI commands * Revisit TrafficClass and remove hardcoded initialization Sytem is not a traffic class * Introduce TrafficClassConfig class * Remove queue allocation logic * Comments and renaming on SlicingManager * Fix meter color int value * Less ambiguous handling of BE * Fix tests * Remove leftover QueueStoreValue * Javadoc * Wordsmithing * Improvements to TrafficClassConfig * Rename config class to description to disambiguate from netcfg * First stab at config class * First stab at tests for SlicingTests * Forgot to check in the test JSON * Consistently call it tcDescription instead of tcConfig * Remove ability to configure best effort queue ID For now, we can safely assume it will always be 0 * Use default for mobile slice * clean up rest API docs * address review comments * Fix test and checkstyles * Move distributed store destroy to preDeactivate hook * Update default tc javadoc * javadoc * review comments * tests * Fix tests * Restore double quotes in json example * [SDFAB-844 - Part 3] Add NetcfgSlicingProvider (#457) * Add SlicingProviderService interface * Remove slice/tc initialization from FabricUpfProgrammable We wil use netcfg for initialization * Remove slice/tc initialization from FabricUpfProgrammable We wil use netcfg for initialization * Remove REST API for adding/removing slice/tcs * Remove unused CLI commands * Revisit TrafficClass and remove hardcoded initialization Sytem is not a traffic class * Introduce TrafficClassConfig class * Remove queue allocation logic * Comments and renaming on SlicingManager * Fix meter color int value * Less ambiguous handling of BE * Fix tests * Remove leftover QueueStoreValue * Javadoc * Wordsmithing * Improvements to TrafficClassConfig * Rename config class to description to disambiguate from netcfg * First stab at config class * First stab at tests for SlicingTests * Forgot to check in the test JSON * Consistently call it tcDescription instead of tcConfig * Move constants to root package * Centralize app name constants in one place It was hard to kkep track of the different app names used * Progress on netcfg slicing provider * Working config add/remove * Fix copyright * Read initial config * wordsmithing * Dyanmic config of system tc * Remove ability to configure best effort queue ID For now, we can safely assume it will always be 0 * Clean up * Use default for mobile slice * clean up rest API docs * address review comments * Fix test and checkstyles * Doubt * Move distributed store destroy to preDeactivate hook * Update default tc javadoc * javadoc * review comments * tests * Fix tests * Address review comments * Add initial tests * Add additional tests * Address review comments * Add tests for system tc handling * Re-add double quotes to javadoc config example * Address Charles's comment * Hardcode mobile slice to 0 for now
- Loading branch information
Showing
57 changed files
with
1,941 additions
and
1,225 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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.