cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-10024) Physical Networking Migration
Date Tue, 24 Oct 2017 08:52:00 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-10024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16216566#comment-16216566
] 

ASF GitHub Bot commented on CLOUDSTACK-10024:
---------------------------------------------

sgoeminn commented on a change in pull request #2259: CLOUDSTACK-10024: Network migration
support
URL: https://github.com/apache/cloudstack/pull/2259#discussion_r146493531
 
 

 ##########
 File path: server/src/com/cloud/network/NetworkMigrationManager.java
 ##########
 @@ -0,0 +1,84 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package com.cloud.network;
+
+import com.cloud.network.vpc.Vpc;
+import com.cloud.offering.NetworkOffering;
+
+/**
+ * The NetworkMigrationManager should be used for migration purpose ONLY.
+ */
+public interface NetworkMigrationManager {
+
+    /**
+     * Returns a copy of the provided network.
+     * All nics in the orginal network will be re-assigned to the newly created network.
+     * All network details will be copied to the newly created network.
+     * @param network the network to be copied
+     * @param networkOffering the network offering of the network that is copied
+     * @return the networkid of the copy
+     */
+    long makeCopyOfNetwork(Network network, NetworkOffering networkOffering, Long vpcId);
+
+    /**
+     * Returns a copy of the provided vpc
+     * All acls rules and public ips will be re-assigned to the newly created vpc.
+     * @param vpcId
+     * @param vpcOfferingId
+     * @return
+     */
+    Long makeCopyOfVpc(long vpcId, long vpcOfferingId);
+
+    /**
+     * Starts the vpc if, the vpc is not already started
+     * @param vpc
+     */
+    void startVpc(Vpc vpc);
+
+    /**
+     * Upgrade the physical network and the offering of a network.
+     * @param networkId the networkid of the network that needs to be upgraded.
+     * @param newPhysicalNetworkId the id of the new physical network where the network should
be moved to.
+     * @param networkOfferingId the new network offering.
+     * @return the networkid of the upgraded network
+     */
+    Network upgradeNetworkToNewNetworkOffering (long networkId, long newPhysicalNetworkId,
long networkOfferingId, Long vpcId);
+
+    /**
+     * Deletes the copy of a network which was previously created by the networkMigrationManager
+     * For deletion of the copy the old UUID of the original network is used to assure that
plugins, using the UUID, clean up the network correctly.
+     * @param networkCopyId the networkId of the copied network
+     * @param originalNetworkId the networkId of the original network
+     */
+    void deleteCopyOfNetwork(long networkCopyId, long originalNetworkId);
+
+    /**
+     *
 
 Review comment:
   Updated the documentation.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Physical Networking Migration
> -----------------------------
>
>                 Key: CLOUDSTACK-10024
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10024
>             Project: CloudStack
>          Issue Type: New Feature
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API, KVM, Management Server, VMware
>            Reporter: Frank Maximus
>            Assignee: Frank Maximus
>             Fix For: 4.11.0.0
>
>
> *As a* Cloud Owner
> *I want to* migrate my existing guest networks to another physical network infrastructure
> *In order to* make use of the extra features SDN provides.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message