Skip to content

Commit

Permalink
fix NAD
Browse files Browse the repository at this point in the history
  • Loading branch information
eduolivares committed Apr 19, 2024
1 parent bb6cf1b commit 2295f26
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
10 changes: 9 additions & 1 deletion dt/bgp/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ patches:
subnets:
- _replaced_
mtu: 1500
# Enable octavia and heat
- target:
kind: OpenStackControlPlane
Expand All @@ -91,6 +90,15 @@ patches:
- op: replace
path: /spec/heat/enabled
value: true
# Connect ovnNorthd to internalapi
- target:
kind: OpenStackControlPlane
name: controlplane
patch: |-
- op: add
path: /spec/ovn/template/ovnNorthd
value:
networkAttachment: internalapi
replacements:
# BGP NetConfig customizations
Expand Down
2 changes: 1 addition & 1 deletion dt/bgp/networking/nad/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resources:
patches:
- target:
kind: NetworkAttachmentDefinition
labelSelector: "osp/net-attach-def-type=standard"
labelSelector: "osp/net-attach-def-type=bgp"
path: ocp_network_template.yaml

replacements:
Expand Down
12 changes: 6 additions & 6 deletions dt/bgp/networking/nad/ocp_networks_netattach.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,44 @@ metadata:
name: bgpnet-0-0
labels:
osp/net: bgpnet-0-0
osp/net-attach-def-type: standard
osp/net-attach-def-type: bgp
---
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
name: bgpnet-0-1
labels:
osp/net: bgpnet-0-1
osp/net-attach-def-type: standard
osp/net-attach-def-type: bgp
---
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
name: bgpnet-1-0
labels:
osp/net: bgpnet-1-0
osp/net-attach-def-type: standard
osp/net-attach-def-type: bgp
---
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
name: bgpnet-1-1
labels:
osp/net: bgpnet-1-1
osp/net-attach-def-type: standard
osp/net-attach-def-type: bgp
---
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
name: bgpnet-2-0
labels:
osp/net: bgpnet-2-0
osp/net-attach-def-type: standard
osp/net-attach-def-type: bgp
---
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
name: bgpnet-2-1
labels:
osp/net: bgpnet-2-1
osp/net-attach-def-type: standard
osp/net-attach-def-type: bgp

0 comments on commit 2295f26

Please sign in to comment.