...
- While creating a network, the network offering chosen will define if the network is persistent or not
- This will depend on if the new flag 'isPersistent' introduced in network offering is turned on or off in the chosen network offering
- If the user chooses to make the network persistent, then along with network creation (i.e. making a db entry) the network will also be provisioned
- Provisioning a network is network implementation i.e. allocating resources and VLAN id
- In the below mentioned scenarios a new network is created. The network that is created should be persistent if the network-offering available for the specified account is persistent,
- When createVlanIpRange API is called such that the account the range is being dedicated to has no network
- When assignVirtualMachine API is called such that the account a VM is being moved to has no network
Network updation
- An existing network can be made persistent by updating its network offering to an offering that has the IsPersistent flag set to true
- While setting this property if the network doesn't have any running VM’s then the it will also be provisioned
- Network offering of a network is updated from a persistent network offering to a non-persistent one
- If the network has no running VM's, during the next GC run the network will be shutdown
...
- In 'Add network offering' add a check-box called 'Persistent'
- Action Action to perform if the check box is selected – In CreateNetworkOffering API call, set Boolean parameter 'isPersistent' to true
- If the 'Guest-Type' selected is Shared hide the 'Persistent' check box and in CreateNetworkOffering API call, set Boolean parameter 'isPersistent' to false
- Under 'Service Offerings - Network Offerings' for every Network Offering display a new field called 'Is Persistent'
- The value of this property is – the value of the response element isPersistent when ListNetworkOfferings API is called
...
{"serverDuration": 89, "requestCorrelationId": "98827cc5fd1ddb5e"}