Make "VLAN", "VXLAN" and "GRE" translatable
VLAN has been translated in other places. Use the translation in create network and make sure all 3 are translatable. Change-Id: I2263d1ceef1e4aa6fe1c324e0a9ad5a66fa1d714 Closes-bug: #1381679
This commit is contained in:
parent
497fe119a7
commit
2db3f5ecab
|
@ -27,7 +27,8 @@ from openstack_dashboard import api
|
|||
|
||||
LOG = logging.getLogger(__name__)
|
||||
PROVIDER_TYPES = [('local', _('Local')), ('flat', _('Flat')),
|
||||
('vlan', 'VLAN'), ('gre', 'GRE'), ('vxlan', 'VXLAN')]
|
||||
('vlan', _('VLAN')), ('gre', _('GRE')),
|
||||
('vxlan', _('VXLAN'))]
|
||||
SEGMENTATION_ID_RANGE = {'vlan': [1, 4094], 'gre': [0, (2 ** 32) - 1],
|
||||
'vxlan': [0, (2 ** 24) - 1]}
|
||||
|
||||
|
|
Loading…
Reference in New Issue