cloudstack/engine
Rohit Yadav 0e87040eb2
network: allow ability to specify if network's ipaddress usage need to be hidden (#3235)
Problem: Admins don’t want to charge for IP address usage on certain (shared) networks.
Root Cause: There is no flag or detail for admins to provide using UI or API when creating networks to specify if they want IP address usage of the network hidden.
Solution: A new boolean hideipaddressusage flag is added to the createNetwork API and a checkbox in the ‘Add guest network’ UI for the root admins to specify if they want the shared network’s IP address usage to be hidden in the listUsageRecords API response. The provided flag is saved as the ‘hideIpAddressUsage’ detail in the cloud.network_details table for the network. For existing (shared) networks, root admins can also specify the same boolean API parameter hideipaddressusage with the updateNetwork API request to configure the behaviour for an existing network. When the detail/flag is true, the IP address usage for the (shared) network is not exported in the listUsageRecords API response. The listNetworks API response will include the details of a network for root admin only. (note usage is still recorded in the usage database but not return by the listUsageRecords API)

The API flag works for any kind of network via the API, but the checkbox is only shown while creating shared networks in the UI.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2019-06-19 10:25:59 +05:30
..
api kvm: live storage migration intra cluster from NFS source and destination (#2983) 2019-06-10 15:35:26 +05:30
components-api kvm: live storage migration intra cluster from NFS source and destination (#2983) 2019-06-10 15:35:26 +05:30
network Updating pom.xml version numbers for release 4.13.0.0-SNAPSHOT 2019-03-20 18:47:35 -03:00
orchestration kvm: live storage migration intra cluster from NFS source and destination (#2983) 2019-06-10 15:35:26 +05:30
schema network: allow ability to specify if network's ipaddress usage need to be hidden (#3235) 2019-06-19 10:25:59 +05:30
service Updating pom.xml version numbers for release 4.13.0.0-SNAPSHOT 2019-03-20 18:47:35 -03:00
storage cloudstack: fix forward merge issues (#3394) 2019-06-12 16:38:58 +05:30
pom.xml Updating pom.xml version numbers for release 4.13.0.0-SNAPSHOT 2019-03-20 18:47:35 -03:00