From: Le Yao Date: Thu, 17 Feb 2022 04:35:38 +0000 (-0500) Subject: Helm Chart and example updates X-Git-Tag: 21.12.03 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F4697%2F3;p=icn%2Fsdwan.git Helm Chart and example updates Signed-off-by: Le Yao Change-Id: I1b1ab2fbf11d12d1c784fa74d504e1b7d8da29cd --- diff --git a/central-controller/src/scc/pkg/manager/overlay_objectmanager.go b/central-controller/src/scc/pkg/manager/overlay_objectmanager.go index 41b1073..e259025 100644 --- a/central-controller/src/scc/pkg/manager/overlay_objectmanager.go +++ b/central-controller/src/scc/pkg/manager/overlay_objectmanager.go @@ -633,7 +633,7 @@ func (c *OverlayObjectManager) DeleteConnection(m map[string]string, conn module } func (c *OverlayObjectManager) DeleteConnections(m map[string]string, m1 module.ControllerObject) error { - //Get all connections related to the ControllerObject and do deletion^M + //Get all connections related to the ControllerObject and do deletion conn_manager := GetConnectionManager() overlay_name := m[OverlayResource] conns, err := conn_manager.GetObjects(overlay_name, module.CreateEndName(m1.GetType(), m1.GetMetadata().Name)) diff --git a/platform/crd-ctrlr/examples/attach-network-ovn.yaml b/platform/crd-ctrlr/examples/attach-network-ovn.yaml index f0753d2..ac80c3c 100644 --- a/platform/crd-ctrlr/examples/attach-network-ovn.yaml +++ b/platform/crd-ctrlr/examples/attach-network-ovn.yaml @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: Apache-2.0 +# SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2021 Intel Corporation --- apiVersion: k8s.cni.cncf.io/v1 kind: NetworkAttachmentDefinition metadata: - name: ovn-networkobj + name: ovn4nfv-k8s-plugin spec: config: '{ "cniVersion": "0.3.1", diff --git a/platform/crd-ctrlr/examples/cnf-deployment.yaml b/platform/crd-ctrlr/examples/cnf-deployment.yaml index 8b72fb5..6d4d0dd 100644 --- a/platform/crd-ctrlr/examples/cnf-deployment.yaml +++ b/platform/crd-ctrlr/examples/cnf-deployment.yaml @@ -1,5 +1,16 @@ -# SPDX-License-Identifier: Apache-2.0 +# SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2021 Intel Corporation +--- +apiVersion: v1 +kind: Secret +metadata: + name: sdewan-safe-pass + namespace: default +type: Opaque +stringData: + password: root1 +... + --- apiVersion: v1 data: @@ -7,12 +18,18 @@ data: #!/bin/bash # Always exit on errors. set -ex + sysctl -w net.ipv4.ip_forward=1 echo "" > /etc/config/network cat > /etc/config/mwan3 <> /etc/config/mwan3 <