cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayapalu <>
Subject [GitHub] cloudstack pull request #1883: CLOUDSTACK-9723: Enable unique mac address ac...
Date Fri, 24 Feb 2017 06:56:09 GMT
Github user jayapalu commented on a diff in the pull request:
    --- Diff: engine/schema/src/com/cloud/network/dao/ ---
    @@ -377,11 +377,16 @@ protected void addAccountToNetwork(final long networkId, final long
accountId, f
    -    public String getNextAvailableMacAddress(final long networkConfigId) {
    +    public String getNextAvailableMacAddress(final long networkConfigId, Integer zoneMacIdentifier)
    --- End diff --
    I tried writing unit test cases for it. I have difficulty in call static method. I tried
with the PowerMockito.mockStatic but still I face NPE in fetch.getNextSequence. 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message