api,server: custom dns for guest network#6425
Conversation
423359b to
af4e23f
Compare
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
af4e23f to
ec4efbe
Compare
| public Pair<String, String> getNetworkIp4Dns(final Network network, final DataCenter zone) { | ||
| String dns1 = null; | ||
| String dns2 = null; | ||
| if (org.apache.commons.lang3.StringUtils.isNotEmpty(network.getDns1())) { | ||
| dns1 = network.getDns1(); | ||
| if (org.apache.commons.lang3.StringUtils.isNotEmpty(network.getDns2())) { | ||
| dns2 = network.getDns2(); | ||
| } | ||
| } | ||
| if (org.apache.commons.lang3.StringUtils.isEmpty(dns1)) { | ||
| dns1 = zone.getDns1(); | ||
| } | ||
| if (org.apache.commons.lang3.StringUtils.isEmpty(dns2)) { | ||
| dns2 = zone.getDns2(); | ||
| } |
There was a problem hiding this comment.
can we throw an exception if either is dns1 or dns2 still null?
|
is this open for a review yet @shwstppr ? |
@DaanHoogland no, not yet |
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
Found UI changes, kicking a new UI QA build |
|
@blueorangutan package |
|
@shwstppr a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3532 |
|
Trillian test result (tid-4667)
|
|
Trillian test result (tid-4668)
|
|
LGTM |
Codecov Report
@@ Coverage Diff @@
## main #6425 +/- ##
============================================
- Coverage 5.87% 5.87% -0.01%
- Complexity 3934 3935 +1
============================================
Files 2454 2454
Lines 242682 242909 +227
Branches 37980 38023 +43
============================================
+ Hits 14261 14263 +2
- Misses 226842 227062 +220
- Partials 1579 1584 +5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Found UI changes, kicking a new UI QA build |
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
Found UI changes, kicking a new UI QA build |
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
@blueorangutan package |
|
UI build: ✔️ |
|
SonarCloud Quality Gate failed. |
|
@blueorangutan package |
|
@shwstppr a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 4088 |
|
@blueorangutan test |
|
@shwstppr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-4778)
|
|
@blueorangutan package |
|
@shwstppr a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 4152 |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 4154 |
|
@blueorangutan test |
|
@shwstppr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-4856)
|








Description
Adds option to provide custom DNS servers for isolated network, shared network and VPC tier.
New API parameters added in createNetwork API along with the corresponding response parameters.
Doc PR: apache/cloudstack-documentation#276
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Manually ran new marvin test: