-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/5298: Move uplinkset type and LIG/LI checks to init (no need to redo them) #5
Conversation
573ed22
to
f12d26b
Compare
f12d26b
to
3ff40fc
Compare
Codecov Report
@@ Coverage Diff @@
## master #5 +/- ##
==========================================
- Coverage 71.78% 70.92% -0.86%
==========================================
Files 13 13
Lines 971 970 -1
==========================================
- Hits 697 688 -9
- Misses 274 282 +8
Continue to review full report at Codecov.
|
@@ -38,6 +38,12 @@ def __init__(self): | |||
CONF.oneview.uplinkset_mappings) | |||
self.flat_net_mappings = common.load_conf_option_to_dict( | |||
CONF.oneview.flat_net_mappings) | |||
|
|||
common.check_uplinkset_types_constraint( |
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.
move those checks to initialize.
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.
agreed
@@ -38,6 +38,12 @@ def __init__(self): | |||
CONF.oneview.uplinkset_mappings) | |||
self.flat_net_mappings = common.load_conf_option_to_dict( | |||
CONF.oneview.flat_net_mappings) | |||
|
|||
common.check_uplinkset_types_constraint( |
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.
agreed
548de85
to
6f7a8cb
Compare
6f7a8cb
to
5541699
Compare
Move `check_uplinkset_types_constraint` and `check_unique_lig_per_provider_constraint` from the Synchronization periodic start to the Driver Initialization. Therefore, those checks are executed only once.
dbea007
to
43df9ac
Compare
43df9ac
to
3a15b82
Compare
No description provided.