Merge "Put VID staging back to 3.2-STAGING-latest"
diff --git a/deployment/heat/onap-oom/k8s_vm_install.sh b/deployment/heat/onap-oom/k8s_vm_install.sh
index e5b843e..3e80f8e 100644
--- a/deployment/heat/onap-oom/k8s_vm_install.sh
+++ b/deployment/heat/onap-oom/k8s_vm_install.sh
@@ -16,14 +16,22 @@
 echo "__rancher_ip_addr__" > /opt/config/rancher_ip_addr.txt
 echo "__rancher_private_ip_addr__" > /opt/config/rancher_private_ip_addr.txt
 echo "__host_private_ip_addr__" > /opt/config/host_private_ip_addr.txt
+echo "__mtu__" > /opt/config/mtu.txt
 
 mkdir -p /etc/docker
 if [ ! -z "__docker_proxy__" ]; then
     cat > /etc/docker/daemon.json <<EOF
 {
+  "mtu": __mtu__,
   "insecure-registries" : ["__docker_proxy__"]
 }
 EOF
+else
+    cat > /etc/docker/daemon.json <<EOF
+{
+  "mtu": __mtu__
+}
+EOF
 fi
 if [ ! -z "__apt_proxy__" ]; then
     cat > /etc/apt/apt.conf.d/30proxy <<EOF
diff --git a/deployment/heat/onap-oom/onap-oom.yaml b/deployment/heat/onap-oom/onap-oom.yaml
index 4699bca..e6845cc 100644
--- a/deployment/heat/onap-oom/onap-oom.yaml
+++ b/deployment/heat/onap-oom/onap-oom.yaml
@@ -96,6 +96,10 @@
     description: Set to "true" if you want to use a RAM disk for /dockerdata-nfs/.
     default: "false"
 
+  mtu:
+    type: number
+    default: 1500
+
 resources:
   random-str:
     type: OS::Heat::RandomString
@@ -217,6 +221,7 @@
             __helm_version__: { get_param: helm_version }
             __helm_deploy_delay__: { get_param: helm_deploy_delay }
             __use_ramdisk__: { get_param: use_ramdisk }
+            __mtu__: { get_param: mtu }
             __public_net_id__: { get_param: public_net_id }
             __oam_network_cidr__: { get_param: oam_network_cidr }
             __oam_network_id__: { get_resource: oam_network }
@@ -285,6 +290,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -354,6 +360,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -423,6 +430,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -492,6 +500,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -561,6 +570,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -630,6 +640,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -699,6 +710,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -768,6 +780,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -837,6 +850,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -906,6 +920,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -975,6 +990,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -1044,6 +1060,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -1113,6 +1130,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [etcd_1_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -1182,6 +1200,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [etcd_2_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -1251,6 +1270,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [etcd_3_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -1320,6 +1340,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
@@ -1389,6 +1410,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
diff --git a/deployment/heat/onap-oom/parts/onap-oom-1.yaml b/deployment/heat/onap-oom/parts/onap-oom-1.yaml
index ba3933b..5f117ac 100644
--- a/deployment/heat/onap-oom/parts/onap-oom-1.yaml
+++ b/deployment/heat/onap-oom/parts/onap-oom-1.yaml
@@ -93,6 +93,10 @@
     description: Set to "true" if you want to use a RAM disk for /dockerdata-nfs/.
     default: "false"
 
+  mtu:
+    type: number
+    default: 1500
+
 resources:
   random-str:
     type: OS::Heat::RandomString
diff --git a/deployment/heat/onap-oom/parts/onap-oom-2.yaml b/deployment/heat/onap-oom/parts/onap-oom-2.yaml
index 34fc0d7..721f3cd 100644
--- a/deployment/heat/onap-oom/parts/onap-oom-2.yaml
+++ b/deployment/heat/onap-oom/parts/onap-oom-2.yaml
@@ -32,6 +32,7 @@
                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
                 __host_private_ip_addr__: { get_attr: [${VM_TYPE}_${VM_NUM}_floating_ip, fixed_ip_address] }
+                __mtu__: { get_param: mtu }
               template:
                 get_file: k8s_vm_install.sh
         - path: /opt/k8s_vm_init.sh
diff --git a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
index aced5df..bd39963 100644
--- a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
+++ b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
@@ -35,6 +35,7 @@
 echo "__kubectl_version__" > /opt/config/kubectl_version.txt
 echo "__helm_version__" > /opt/config/helm_version.txt
 echo "__helm_deploy_delay__" > /opt/config/helm_deploy_delay.txt
+echo "__mtu__" > /opt/config/mtu.txt
 
 cat <<EOF > /opt/config/integration-override.yaml
 __integration_override_yaml__
@@ -50,14 +51,20 @@
 cp /opt/config/integration-override.yaml /root
 cat /root/integration-override.yaml
 
-echo `hostname -I` `hostname` >> /etc/hosts
 mkdir -p /etc/docker
 if [ ! -z "__docker_proxy__" ]; then
     cat > /etc/docker/daemon.json <<EOF
 {
+  "mtu": __mtu__,
   "insecure-registries" : ["__docker_proxy__"]
 }
 EOF
+else
+    cat > /etc/docker/daemon.json <<EOF
+{
+  "mtu": __mtu__
+}
+EOF
 fi
 if [ ! -z "__apt_proxy__" ]; then
     cat > /etc/apt/apt.conf.d/30proxy<<EOF
@@ -157,7 +164,7 @@
 -X PUT \
 -H 'Accept: application/json' \
 -H 'Content-Type: application/json' \
--d '{"stacks":[{"type":"catalogTemplate", "answers":{"CONSTRAINT_TYPE":"required"}, "name":"kubernetes", "templateVersionId":"library:infra*k8s:52"}, {"type":"catalogTemplate", "name":"network-services", "templateId":"library:infra*network-services"}, {"type":"catalogTemplate", "name":"ipsec", "templateId":"library:infra*ipsec"}, {"type":"catalogTemplate", "name":"healthcheck", "templateId":"library:infra*healthcheck"}]}' \
+-d '{"stacks":[{"type":"catalogTemplate", "answers":{"CONSTRAINT_TYPE":"required"}, "name":"kubernetes", "templateVersionId":"library:infra*k8s:52"}, {"type":"catalogTemplate", "name":"network-services", "templateId":"library:infra*network-services"}, {"type":"catalogTemplate", "name":"ipsec", "templateId":"library:infra*ipsec", "answers":{"MTU":"__mtu__"}}, {"type":"catalogTemplate", "name":"healthcheck", "templateId":"library:infra*healthcheck"}]}' \
 "http://$RANCHER_IP:8080/v2-beta/projecttemplates/$TEMPLATE_ID"
 
 curl -s -u "${CATTLE_ACCESS_KEY}:${CATTLE_SECRET_KEY}" -X POST -H 'Content-Type: application/json' -d '{ "name":"oom", "projectTemplateId":"'$TEMPLATE_ID'" }' "http://$RANCHER_IP:8080/v2-beta/projects" > project.json
diff --git a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh
index b9e4f10..61d5f9f 100755
--- a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh
+++ b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh
@@ -63,6 +63,7 @@
             __helm_version__: { get_param: helm_version }
             __helm_deploy_delay__: { get_param: helm_deploy_delay }
             __use_ramdisk__: { get_param: use_ramdisk }
+            __mtu__: { get_param: mtu }
             __public_net_id__: { get_param: public_net_id }
             __oam_network_cidr__: { get_param: oam_network_cidr }
             __oam_network_id__: { get_resource: oam_network }
diff --git a/version-manifest/src/main/resources/docker-manifest-staging.csv b/version-manifest/src/main/resources/docker-manifest-staging.csv
index 4df250a..079dc18 100644
--- a/version-manifest/src/main/resources/docker-manifest-staging.csv
+++ b/version-manifest/src/main/resources/docker-manifest-staging.csv
@@ -102,16 +102,16 @@
 onap/portal-sdk,2.3.1
 onap/portal-wms,2.3.1
 onap/rproxy,2.1-STAGING-latest
-onap/sdc-backend,1.3-STAGING-latest
-onap/sdc-backend-init,1.3-STAGING-latest
-onap/sdc-cassandra,1.3-STAGING-latest
-onap/sdc-cassandra-init,1.3-STAGING-latest
-onap/sdc-elasticsearch,1.3-STAGING-latest
-onap/sdc-frontend,1.3-STAGING-latest
-onap/sdc-init-elasticsearch,1.3-STAGING-latest
-onap/sdc-kibana,1.3-STAGING-latest
-onap/sdc-onboard-backend,1.3-STAGING-latest
-onap/sdc-onboard-cassandra-init,1.3-STAGING-latest
+onap/sdc-backend,1.4-STAGING-latest
+onap/sdc-backend-init,1.4-STAGING-latest
+onap/sdc-cassandra,1.4-STAGING-latest
+onap/sdc-cassandra-init,1.4-STAGING-latest
+onap/sdc-elasticsearch,1.4-STAGING-latest
+onap/sdc-frontend,1.4-STAGING-latest
+onap/sdc-init-elasticsearch,1.4-STAGING-latest
+onap/sdc-kibana,1.4-STAGING-latest
+onap/sdc-onboard-backend,1.4-STAGING-latest
+onap/sdc-onboard-cassandra-init,1.4-STAGING-latest
 onap/sdnc-ansible-server-image,1.4-STAGING-latest
 onap/sdnc-dmaap-listener-image,1.4-STAGING-latest
 onap/sdnc-image,1.4-STAGING-latest
diff --git a/version-manifest/src/main/resources/docker-manifest.csv b/version-manifest/src/main/resources/docker-manifest.csv
index c214dab..5341055 100644
--- a/version-manifest/src/main/resources/docker-manifest.csv
+++ b/version-manifest/src/main/resources/docker-manifest.csv
@@ -34,6 +34,10 @@
 onap/clamp-dashboard-logstash,3.0.3
 onap/cli,2.0.4
 onap/data-router,1.3.0
+onap/dcae-be,1.3.0
+onap/dcae-dt,1.2.0
+onap/dcae-fe,1.3.0
+onap/dcae-tosca-app,1.3.0
 onap/dmaap/buscontroller,1.0.23
 onap/dmaap/datarouter-node,1.0.3
 onap/dmaap/datarouter-prov,1.0.3
@@ -94,16 +98,16 @@
 onap/portal-db,2.3.1
 onap/portal-sdk,2.3.1
 onap/portal-wms,2.3.1
-onap/sdc-backend,1.3.2
-onap/sdc-backend-init,1.3.2
-onap/sdc-cassandra,1.3.2
-onap/sdc-cassandra-init,1.3.2
-onap/sdc-elasticsearch,1.3.2
-onap/sdc-frontend,1.3.2
-onap/sdc-init-elasticsearch,1.3.2
-onap/sdc-kibana,1.3.2
-onap/sdc-onboard-backend,1.3.2
-onap/sdc-onboard-cassandra-init,1.3.2
+onap/sdc-backend,1.3.3
+onap/sdc-backend-init,1.3.3
+onap/sdc-cassandra,1.3.3
+onap/sdc-cassandra-init,1.3.3
+onap/sdc-elasticsearch,1.3.3
+onap/sdc-frontend,1.3.3
+onap/sdc-init-elasticsearch,1.3.3
+onap/sdc-kibana,1.3.3
+onap/sdc-onboard-backend,1.3.3
+onap/sdc-onboard-cassandra-init,1.3.3
 onap/sdnc-ansible-server-image,1.4.1
 onap/sdnc-dmaap-listener-image,1.4.1
 onap/sdnc-image,1.4.1
@@ -155,6 +159,6 @@
 onap/vvp/portal,1.0.0
 onap/vvp/postgresql,1.0.0
 onap/vvp/test-engine,1.0.0
-onap/workflow-backend,1.3.1
-onap/workflow-frontend,1.3.1
-onap/workflow-init,1.3.1
+onap/workflow-backend,1.3.2
+onap/workflow-frontend,1.3.2
+onap/workflow-init,1.3.2