Bug Reference

CLOUDSTACK-706

Branch

master, 4.1.0

Introduction

Purpose

Currently in CloudStack, only when the first VM is created on a network is a VLAN ID assigned and the network provisioned. Till then, the network is only a DB entry. Also, when the last VM is destroyed, the VLAN ID is released and the network is no longer available.

This feature will allow users to provision a network without having to deploy any VM’s on it. These networks will be termed persistent and can be part of a VPC or a non VPC environment.

Feature Specifications

Changes in the Network life cycle and Network Offering

Network creation

Network updation

Network deletion

Destroying a virtual machine

Deploying a Virtual machine

Network Offering creation

Network offering updation

Use cases

Architecture and Design description

Web Services APIs

No new API’s

Existing API’s to be modified

UI flow

DB

Add new column is_persistent to table networks_offerings

column

comment

is_persistent

if set to true networks created using the networking offering will be persistent, default is false

Upgrade

In an upgraded setup, all existing network-offerings will have the persistent flag turned off

Open Issues

1. Should we introduce the persistent flag as part of Network Offering instead of the API's?

As per discussions in the cloudstack-dev mailing list we will be introducing the 'persistent' flag as part of the Network Offering

Test cases

TBD