CLOUDSTACK-8838: Allow ensX enoX enpX enxX format for nics in CentOS 7#812
CLOUDSTACK-8838: Allow ensX enoX enpX enxX format for nics in CentOS 7#812asfgit merged 1 commit intoapache:masterfrom
Conversation
|
@giraffeforestg Thanks for picking this up! Will test it tomorrow. FYI: You can always make changes after the PR is opened. If you'd want to change something now, you'd push a new commit to |
|
cloudstack-pull-rats #582 ABORTED |
|
cloudstack-pull-analysis #518 ABORTED |
|
Looking at the if-statement I give it a LGTM |
|
Why don’t you extract the content of line 1164 (the condition) to a method, this way it is possible to create a test case and enables some java doc. Moreover, the code becomes easier to read. |
|
LGTM, given the if conditions |
|
I agree with @rafaelweingartner that this can have (and deserves) a unit test maybe it can even be generalized to dynamically find nic prefixes or at least have a list of them ourside the condition. It will make the code clearer and thus better maintainable |
CLOUDSTACK-8838 Interface pattern checkthsi closes #812 and #966 as well * pr/973: unit test for interface patterns in libvirt compute resource Added support for KVM teamd devices to LibvirtComputingResource.java. This will allow users to utilze teamd nic teaming devices named team*. CLOUDSTACK-8838: Allow ensX enoX enpX enxX format for nics in CentOS 7 Signed-off-by: Remi Bergsma <github@remi.nl>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
No description provided.