-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
CLOUDSTACK-9832: Do not assign public IP NIC to the VPC VR when the VPC offering does not contain VpcVirtualRouter as a SourceNat provider #2004
Conversation
PEP8 & PyFlakes compliance of our marvin test code: CloudStack$ Validations: Marvin test results: => nosetests --with-marvin --marvin-config=nuage.cfg nuagevsp/test_nuage_vpc_network.py Test basic VPC Network functionality with Nuage VSP SDN plugin ... === TestName: test_nuage_vpc_network | Status : SUCCESS === Ran 2 tests in 274.059s OK (SKIP=1) => nosetests --with-marvin --marvin-config=nuage.cfg nuagevsp/test_nuage_vsp.py Test Nuage VSP SDN plugin with basic Isolated Network functionality ... === TestName: test_nuage_vsp | Status : SUCCESS === Ran 2 tests in 511.178s OK |
adf889d
to
2848f0f
Compare
40fc932
to
09a9a0e
Compare
09a9a0e
to
b04227b
Compare
3879592
to
84ff98d
Compare
SourceNat isn't the only reason why you would want a public NIC on the router. If you have the VPN service, for example, you also need one. |
In it's current state, VR wouldn't be able to provide VPN without being gateway as well. |
d5dfccf
to
0c25b5d
Compare
Currently we will not change the check (It's also not checked in isolated network case). We will change it as soon as we add support for site-to-site VPN for Nuage where Nuage will be the source NAT provider. |
0c25b5d
to
b4af8e0
Compare
ACS CI BVT RunSumarry: Link to logs Folder (search by build_no): https://www.dropbox.com/sh/r2si930m8xxzavs/AAAzNrnoF1fC3auFrvsKo_8-a?dl=0 Failed tests:
Skipped tests: Passed test suits: |
d0d2627
to
68747e7
Compare
68747e7
to
90fc7ac
Compare
Co-Authored-By: Prashanth Manthena <prashanth.manthena@nuagenetworks.net> Co-Authored-By: Sigert Goeminne <sigert.goeminne@nuagenetworks.net> Bug: https://issues.apache.org/jira/browse/CLOUDSTACK-9832 Detail: When the VPC offering does not contain VpcVirtualRouter as a SourceNat provider, then we will not add the interface in the public network to the VpcVR. CLOUDSTACK-9832: Move isSrcNat check to VpcManager
90fc7ac
to
1d382e0
Compare
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.
test_nuage_vpc_network.py
Test basic VPC Network functionality with Nuage VSP SDN plugin ... === TestName: test_nuage_vpc_network | Status : SUCCESS ===
ok
Test basic VPC Network functionality with Nuage VSP SDN plugin on ... SKIP: There is only one Zone configured: skipping test
Ran 2 tests in 313.732s
OK (SKIP=1)
test_nuage_vsp.py
Test Nuage VSP SDN plugin with basic Isolated Network functionality ... === TestName: test_nuage_vsp | Status : SUCCESS ===
ok
Test Nuage VSP device in the Nuage VSP Physical Network ... === TestName: test_nuage_vsp_device | Status : SUCCESS ===
ok
Ran 2 tests in 540.430s
OK
@remibergsma To summarize: Another point to take into account: for isolated networks a similar check already exists, and that also only checks SourceNat. |
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
Detail:
When the VPC offering does not contain VpcVirtualRouter as a SourceNat provider,
then we will not add the interface in the public network to the VpcVR. Thus, conserving Public IPs.
Co-Authored-By: Prashanth Manthena prashanth.manthena@nuagenetworks.net