SEBA-972 Changes necessary for physical OLT tests
Change-Id: If44d9195d8abe9766cd3bc9c44c36ddd1d960752
diff --git a/kubernetes/deploy-mock-olts.yaml b/kubernetes/deploy-mock-olts.yaml
new file mode 100755
index 0000000..9000a10
--- /dev/null
+++ b/kubernetes/deploy-mock-olts.yaml
@@ -0,0 +1,96 @@
+# Copyright 2018-present Open Networking Foundation
+# Copyright 2018-present Edgecore Networks Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+
+apiVersion: apps/v1beta2
+kind: Deployment
+metadata:
+ name: mock-olt-1
+ labels:
+ app: mock-olt-1
+ chart: mock-olt-1
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: mock-olt-1
+ template:
+ metadata:
+ labels:
+ app: mock-olt-1
+ spec:
+ containers:
+ - name: mock-olt-1
+ image: opencord/redfish-mockup-server:master
+ imagePullPolicy: Always
+ ports:
+ - containerPort: 8001
+ name: mock-redfish
+
+---
+
+apiVersion: v1
+kind: Service
+metadata:
+ name: mock-olt-1
+spec:
+ ports:
+ - name: mock-redfish
+ port: 8401
+ targetPort: 8001
+ selector:
+ app: mock-olt-1
+
+---
+
+apiVersion: apps/v1beta2
+kind: Deployment
+metadata:
+ name: mock-olt-2
+ labels:
+ app: mock-olt-2
+ chart: mock-olt-2
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: mock-olt-2
+ template:
+ metadata:
+ labels:
+ app: mock-olt-2
+ spec:
+ containers:
+ - name: mock-olt-2
+ image: opencord/redfish-mockup-server:master
+ imagePullPolicy: Always
+ ports:
+ - containerPort: 8001
+ name: mock-redfish
+
+---
+
+apiVersion: v1
+kind: Service
+metadata:
+ name: mock-olt-2
+spec:
+ ports:
+ - name: mock-redfish
+ port: 8402
+ targetPort: 8001
+ selector:
+ app: mock-olt-2