network_vlan_ranges = physnet1:1:1204這句配置是什麼意思

配置文件/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini裏的network_vlan_ranges = physnet1:1:1204這句配置是什麼意思?按照個人理解,這裏的physnet1就是一個虛擬局域網的名字而已,後面1:1024就是使用這個類型的網絡時可用的ID,這個名字會在建立網絡是用到,好比quantum net-create --tenant-id <tenantA_ID> TenantA_PrivateNet --provider:network_type vlan --provider:physical_network physnet1 --provider:segmentation_id 1024,不過最後這個數值並不須要在上面配置的值之間,這裏的pyhsnet1就是從上面的設置裏來的,他經過這一條配置和其餘設備聯繫起來bridge_mappings = physnet1:br-ex 網絡

下面是文件/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini裏對network_vlan_ranges的一段註釋: app

# (ListOpt) Comma-separated list of
# <physical_network>[:<vlan_min>:<vlan_max>] tuples enumerating ranges
# of VLAN IDs on named physical networks that are available for
# allocation. All physical networks listed are available for flat and
# VLAN provider network creation. Specified ranges of VLAN IDs are
# available for tenant network allocation if tenant_network_type is
# 'vlan'. If empty, only gre and local networks may be created.
# Default: network_vlan_ranges =
network_vlan_ranges = physnet1:1000:1100 ide

相關文章
相關標籤/搜索