Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ansible/neutron-post-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@

roles:
- role: neutron_segment_range
- role: openstack_subnet_pools
- role: openstack_network
81 changes: 0 additions & 81 deletions ansible/roles/custom_fields/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,87 +85,6 @@
- dcim.interface
filter_logic: exact

- name: Create Custom Field Subnet Pool Name
networktocode.nautobot.custom_field:
state: present
url: "{{ nautobot_url }}"
token: "{{ nautobot_token }}"
description: Name of the OpenStack subnet pool to create from this prefix
label: Subnet Pool Name
key: subnet_pool_name
type: text
required: false
weight: 100
content_types:
- ipam.prefix
filter_logic: exact

- name: Create Custom Field Address Scope
networktocode.nautobot.custom_field:
state: present
url: "{{ nautobot_url }}"
token: "{{ nautobot_token }}"
description: OpenStack address scope to associate with this subnet pool prefix
label: Address Scope
key: address_scope
type: text
required: false
weight: 100
content_types:
- ipam.prefix
filter_logic: exact

- name: Create Custom Field Subnet Pool Default Prefixlen
networktocode.nautobot.custom_field:
state: present
url: "{{ nautobot_url }}"
token: "{{ nautobot_token }}"
description: Default prefix length for subnets created from this pool
label: Default Prefixlen
key: subnet_pool_default_prefixlen
type: integer
required: false
weight: 100
content_types:
- ipam.prefix
validation_minimum: 1
validation_maximum: 32
filter_logic: exact

- name: Create Custom Field Subnet Pool Min Prefixlen
networktocode.nautobot.custom_field:
state: present
url: "{{ nautobot_url }}"
token: "{{ nautobot_token }}"
description: Minimum prefix length for subnets created from this pool
label: Min Prefixlen
key: subnet_pool_min_prefixlen
type: integer
required: false
weight: 100
content_types:
- ipam.prefix
validation_minimum: 1
validation_maximum: 32
filter_logic: exact

- name: Create Custom Field Subnet Pool Max Prefixlen
networktocode.nautobot.custom_field:
state: present
url: "{{ nautobot_url }}"
token: "{{ nautobot_token }}"
description: Maximum prefix length for subnets created from this pool
label: Max Prefixlen
key: subnet_pool_max_prefixlen
type: integer
required: false
weight: 100
content_types:
- ipam.prefix
validation_minimum: 1
validation_maximum: 32
filter_logic: exact

- name: Create Custom Field Subnet Pool VNI tag
networktocode.nautobot.custom_field:
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ spec:
valueFiles:
- $understack/components/openstack-sync-operator/values.yaml
- $deploy/{{ include "understack.deploy_path" $ }}/openstack-sync-operator/values.yaml
{{- with index $.Values.appLabels "understack.rackspace.com/site" }}
# Site name (Nautobot leaf Site) the operator runs for. The subnet-pool
# hook uses it as the default require.location.
parameters:
- name: env.UNDERSTACK_SITE
value: {{ . | quote }}
{{- end }}
- ref: deploy
repoURL: {{ include "understack.deploy_url" $ }}
targetRevision: {{ include "understack.deploy_ref" $ }}
Expand Down
Loading
Loading