cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From koushik-das <>
Subject [GitHub] cloudstack pull request: Refactor system VM default network creati...
Date Wed, 06 Apr 2016 08:55:06 GMT
Github user koushik-das commented on a diff in the pull request:
    --- Diff: services/secondary-storage/controller/src/org/apache/cloudstack/secondarystorage/
    @@ -521,6 +522,76 @@ public SecondaryStorageVmVO startNew(long dataCenterId, SecondaryStorageVm.Role
             return null;
    +    /**
    +     * Get the default network for the secondary storage VM, based on the zone it is
in. Delegates to
    +     * either {@link #getDefaultNetworkForZone(DataCenter)} or {@link #getDefaultNetworkForAdvancedSGZone(DataCenter)},
    +     * depending on the zone network type and whether or not security groups are enabled
in the zone.
    +     * @param dc - The zone (DataCenter) of the secondary storage VM.
    +     * @return The default network for use with the secondary storage VM.
    +     */
    +    protected NetworkVO getDefaultNetworkForCreation(DataCenter dc) {
    --- End diff --
    The getDefaultNetwork* methods can be shared between SSVM and CPVM.

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