Use Ubuntu server with a working trunk VLAN subport

- It adds default vlan_id neutron config option
- Add a VLAN device to customized Ubuntu image configured
  to use DHCP
- Make Ubuntu server to use a working trunk VLAN subport
  connected to a new special network
- It pings such VLAN server port from a special CirrOS server connected
  to the new special network
- It fixes existing trunk test by providing a proven working
  vlan connection.

Change-Id: I07053dd264f26e7b3959f4ab1c7a6e054a702e77
This commit is contained in:
Federico Ressi
2021-09-21 11:37:53 +02:00
parent 094d3c0826
commit 4a275f1625
12 changed files with 320 additions and 112 deletions

View File

@@ -65,15 +65,9 @@ OPTIONS = [
cfg.IntOpt('dscp_mark',
default=40,
help="The DSCP marking value for the QoS Policy Rule"),
cfg.StrOpt('trunk_subport_segmentation_type',
default='vlan',
help="Trunk subport segmentation type"),
cfg.IntOpt('trunk_subport_segmentation_id',
cfg.IntOpt('vlan_id',
default=101,
help="Trunk subport segmentation ID"),
cfg.StrOpt('trunk_subport_subnet_cidr',
default='192.168.101.0/24',
help="The CIDR block for trunk subport subnet")
help="VLAN trunk subport segmentation ID"),
]