Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Add neutron-ovn service to deploy this agent on EDP Nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
karelyatin committed Oct 23, 2023
1 parent b63cb98 commit 644a464
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: dataplane.openstack.org/v1beta1
kind: OpenStackDataPlaneService
metadata:
name: neutron-ovn
spec:
label: dataplane-deployment-neutron-ovn
playbook: osp.edpm.neutron_ovn
secrets:
- neutron-ovn-agent-neutron-config
7 changes: 7 additions & 0 deletions docs/composable_services.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ Include this service to run Neutron OVN Metadata agent on the EDPM nodes. This a
services:
- neutron-metadata

### neutron-ovn

Include this service to run Neutron OVN agent on the EDPM nodes. This agent is needed to provide QoS to hardware offloaded ports on the compute nodes.

services:
- neutron-ovn

### neutron-dhcp

Include this service to run Neutron DHCP agent on the EDPM nodes. This agent is needed in some cases not supported by the native OVN DHCP implementation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
- run-os
- ovn
- neutron-metadata
- neutron-ovn
- neutron-sriov
- neutron-dhcp
- libvirt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ data:
---
apiVersion: v1
kind: Secret
metadata:
name: neutron-ovn-agent-neutron-config
data:
10-neutron-ovn.conf: dGVzdC1uZXV0cm9uLW92bi1hZ2VudC1jb25maWc=
---
---
apiVersion: v1
kind: Secret
metadata:
name: neutron-sriov-agent-neutron-config
data:
Expand Down Expand Up @@ -65,6 +73,7 @@ spec:
- run-os
- ovn
- neutron-metadata
- neutron-ovn
- neutron-sriov
- neutron-dhcp
- libvirt
Expand Down
63 changes: 63 additions & 0 deletions tests/kuttl/tests/dataplane-deploy-no-nodes-test/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
- run-os
- ovn
- neutron-metadata
- neutron-ovn
- neutron-sriov
- neutron-dhcp
- libvirt
Expand Down Expand Up @@ -534,6 +535,68 @@ status:
---
apiVersion: ansibleee.openstack.org/v1alpha1
kind: OpenStackAnsibleEE
metadata:
generation: 1
name: dataplane-deployment-neutron-ovn-edpm-compute-no-nodes
namespace: openstack
ownerReferences:
- apiVersion: dataplane.openstack.org/v1beta1
blockOwnerDeletion: true
controller: true
kind: OpenStackDataPlaneDeployment
name: edpm-compute-no-nodes
spec:
backoffLimit: 6
extraMounts:
- mounts:
- mountPath: /var/lib/openstack/configs/neutron-ovn/10-neutron-ovn.conf
name: neutron-ovn-agent-neutron-config-0
subPath: 10-neutron-ovn.conf
volumes:
- secret:
items:
- key: 10-neutron-ovn.conf
path: 10-neutron-ovn.conf
secretName: neutron-ovn-agent-neutron-config
name: neutron-ovn-agent-neutron-config-0
- mounts:
- mountPath: /runner/env/ssh_key
name: ssh-key
subPath: ssh_key
- mountPath: /runner/inventory/hosts
name: inventory
subPath: inventory
volumes:
- name: ssh-key
secret:
items:
- key: ssh-privatekey
path: ssh_key
secretName: dataplane-ansible-ssh-private-key-secret
- name: inventory
secret:
items:
- key: inventory
path: inventory
secretName: dataplanenodeset-edpm-compute-no-nodes
name: openstackansibleee
restartPolicy: Never
playbook: osp.edpm.neutron_ovn
uid: 1001
status:
JobStatus: Succeeded
conditions:
- message: AnsibleExecutionJob complete
reason: Ready
status: "True"
type: Ready
- message: AnsibleExecutionJob complete
reason: Ready
status: "True"
type: AnsibleExecutionJobReady
---
apiVersion: ansibleee.openstack.org/v1alpha1
kind: OpenStackAnsibleEE
metadata:
generation: 1
name: dataplane-deployment-neutron-sriov-edpm-compute-no-nodes
Expand Down

0 comments on commit 644a464

Please sign in to comment.