[4.7] CLOUDSTACK-8958: add dedicated ips to domain (account for now) - #1007
Conversation
cf39ff3 to
67e6956
Compare
|
LGTM, based on a set of tests that I run on this branch (which I rebased myself first): Result: And: Result: These test do not cover your change, all they do is show you didn't break them. Someone else needs to review the code. |
|
FYI: Running tests on this now |
|
@remibergsma LGMT 👍 Reviewed the code and run the vm_lifecycle_test. |
There was a problem hiding this comment.
vlanOwner check is now done only when account is specified. What about the project case which also can set the vlanOwner?
There was a problem hiding this comment.
@ustcweizhou This PR is almost ready to be merged. Please respond to comments above.
There was a problem hiding this comment.
@remibergsma I added a second commit to fix it. However, it did not touch these codes, but code before these.
There was a problem hiding this comment.
@koushik-das You OK with the PR like it is now? Please review again, thanks!
There was a problem hiding this comment.
Looks like the project case is handled by 89ce8bd. Since all tests pass, I will merge this now. Future adjustments can be made in a separate PR.
|
LGTM |
e53ab9e to
89ce8bd
Compare
|
Repeated the tests due to new commits: LGTM based on these tests: Result: And: Result: |
[4.7] CLOUDSTACK-8958: add dedicated ips to domain (account for now)For now, we dedicate ip pool to account, however, other accounts in the same domain cannot fetch the ip from this ip pool. By dedicating ip pool to domain, accounts in the domain can fetch the public ip from same ip pool. * pr/1007: CLOUDSTACK-8958: throw an exception if project account cannot be found CLOUDSTACK-8958: add dedicated ips to domain (account for now) Signed-off-by: Remi Bergsma <[email protected]>
For now, we dedicate ip pool to account, however, other accounts in the same domain cannot fetch the ip from this ip pool.
By dedicating ip pool to domain, accounts in the domain can fetch the public ip from same ip pool.