Open openvswitch_db_server port 6640 to interact with SDN controller

This change allows the openvswitch to interact with SDN controller
(e.g., ONOS, ODL) through 6640 port.

Story: 2005763
Task: 33473

Change-Id: Ifcbb6a157c230fa729d295ef0d3fb9a16fff60a2
This commit is contained in:
Jian Li 2019-05-23 10:52:19 +09:00
parent 3d3f74de69
commit 0146cf98ba
2 changed files with 7 additions and 0 deletions

View File

@ -42,6 +42,9 @@ function start () {
--pidfile=${OVS_PID} \
--remote=punix:${OVS_SOCKET} \
--remote=db:Open_vSwitch,Open_vSwitch,manager_options \
{{- if .Values.conf.openvswitch_db_server.ptcp_port }}
--remote=ptcp:{{ .Values.conf.openvswitch_db_server.ptcp_port }} \
{{- end }}
--private-key=db:Open_vSwitch,SSL,private_key \
--certificate=db:Open_vSwitch,SSL,certificate \
--bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert

View File

@ -148,3 +148,7 @@ manifests:
daemonset_ovs_vswitchd: true
job_image_repo_sync: true
network_policy: false
conf:
openvswitch_db_server:
ptcp_port: null