Skip to content
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

Merged
merged 2 commits into from
Feb 23, 2018

Conversation

stenioaraujo
Copy link
Collaborator

No description provided.

@stenioaraujo stenioaraujo changed the title Move uplinkset type and LIG/LI checks to init (no need to redo them) Feature/5298: Move uplinkset type and LIG/LI checks to init (no need to redo them) Feb 7, 2018
@codecov-io
Copy link

codecov-io commented Feb 7, 2018

Codecov Report

Merging #5 into master will decrease coverage by 0.85%.
The diff coverage is 60.71%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
...ing_oneview/ml2/drivers/oneview/synchronization.py 68.18% <ø> (-4.9%) ⬇️
...orking_oneview/ml2/drivers/oneview/mech_oneview.py 78.84% <100%> (+0.84%) ⬆️
networking_oneview/ml2/drivers/oneview/common.py 81.81% <57.69%> (-1.06%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f490fa2...3a15b82. Read the comment docs.

@@ -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(
Copy link
Collaborator

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.

Copy link
Collaborator

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(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed

@stenioaraujo stenioaraujo force-pushed the feature/5298 branch 2 times, most recently from 548de85 to 6f7a8cb Compare February 8, 2018 15:52
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.
@stenioaraujo stenioaraujo force-pushed the feature/5298 branch 2 times, most recently from dbea007 to 43df9ac Compare February 21, 2018 20:11
@ricardoas ricardoas merged commit 063ed33 into master Feb 23, 2018
@ricardoas ricardoas deleted the feature/5298 branch February 23, 2018 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants