Merge "Set fixed allocation pools for tests that uses fixed IPs"

This commit is contained in:
Zuul 2024-10-17 07:07:17 +00:00 committed by Gerrit Code Review
commit b6cdb0dd47
2 changed files with 18 additions and 0 deletions

View File

@ -31,6 +31,9 @@ resources:
enable_dhcp: false enable_dhcp: false
network: { get_resource: net } network: { get_resource: net }
cidr: 11.11.11.0/24 cidr: 11.11.11.0/24
allocation_pools:
- start: 11.11.11.2
end: 11.11.11.9
port: port:
type: OS::Neutron::Port type: OS::Neutron::Port
properties: properties:

View File

@ -33,6 +33,9 @@ resources:
properties: properties:
network: {get_resource: net} network: {get_resource: net}
cidr: 11.11.11.0/24 cidr: 11.11.11.0/24
allocation_pools:
- start: 11.11.11.2
end: 11.11.11.9
security_group: security_group:
type: OS::Neutron::SecurityGroup type: OS::Neutron::SecurityGroup
properties: properties:
@ -76,6 +79,9 @@ resources:
properties: properties:
network: {get_resource: net} network: {get_resource: net}
cidr: 11.11.11.0/24 cidr: 11.11.11.0/24
allocation_pools:
- start: 11.11.11.2
end: 11.11.11.9
port: port:
type: OS::Neutron::Port type: OS::Neutron::Port
properties: properties:
@ -111,12 +117,18 @@ resources:
network: {get_resource: net} network: {get_resource: net}
cidr: 11.11.11.0/24 cidr: 11.11.11.0/24
name: subnet_a name: subnet_a
allocation_pools:
- start: 11.11.11.2
end: 11.11.11.9
subnet_b: subnet_b:
type: OS::Neutron::Subnet type: OS::Neutron::Subnet
properties: properties:
network: {get_resource: net} network: {get_resource: net}
cidr: 12.12.12.0/24 cidr: 12.12.12.0/24
name: subnet_b name: subnet_b
allocation_pools:
- start: 12.12.12.2
end: 12.12.12.9
server: server:
type: OS::Nova::Server type: OS::Nova::Server
properties: properties:
@ -147,6 +159,9 @@ resources:
name: the_subnet name: the_subnet
network: {get_resource: net} network: {get_resource: net}
cidr: 11.11.11.0/24 cidr: 11.11.11.0/24
allocation_pools:
- start: 11.11.11.2
end: 11.11.11.9
server: server:
type: OS::Nova::Server type: OS::Nova::Server
properties: properties: