apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.09k stars 1.11k forks source link

L2 Guest Networks: exclusive VLAN range #5467

Open luganofer opened 3 years ago

luganofer commented 3 years ago
ISSUE TYPE
rohityadavcloud commented 3 years ago

@luganofer CloudStack already supports feature to dedicate VLAN range to an account by root admin, have you tried that? (goto zone, phy net...)

luganofer commented 3 years ago

Hello @rhtyd,

Thank you for your response and for always being well-disposed to help the ACS community. It is true, there is a similar function to dedicate a range of VLANs to accounts or domains. The function I propose here is very similar to this function, but instead of reserving a range of VLANs to a specific account/domain, a range of VLANs is used or reserved for this "network type" (L2 network) regardless of the account/domain using this network type. This way this range can be planned to be "presented" in advance to physical equipment, for example, among other use cases.

weizhouapache commented 2 years ago

@luganofer Do you want to support reserved vlan range for L2 network, in a global setting, zone setting, or physical network (this requires a new column in physical_network_traffic_types, but makes more sense) ?

cc @nvazquez @rohityadavcloud

weizhouapache commented 2 years ago

starting on this feature (1) add new column vlan_for_l2 to physical_network table. (2) add/update physical networks with vlan for L2 networks. it contains a vlan id check, and overlap check with vnet and shared networks. (3) service layer changes: pick up vlan id when create a L2 network, and vlan id is released when remove a L2 network.

@nvazquez any opinions ?

nvazquez commented 2 years ago

@weizhouapache I mostly agree on 2 and 3, but instead of 1 I propose:

nvazquez commented 2 years ago

As discussed offline with @weizhouapache it will still need proper definition, moving it to the next milestone

shwstppr commented 1 year ago

We do not have any work in progress for this at the moment so moving it out of 4.19.0.0 milestone