aboutsummaryrefslogtreecommitdiffstats
path: root/resources/topology_schemas
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-06-27 05:35:25 +0000
committerPeter Mikus <pmikus@cisco.com>2018-06-28 10:34:01 +0000
commitfe757aee086b669ab042a9216f7e01a2d9a7ffcb (patch)
treea4773bb6c9fe28d3a2186a9cc155b981b9693cb6 /resources/topology_schemas
parentd68c77c3fe1a3c1b5010efed0087ca0537510296 (diff)
Add New Skylake topology files
Change-Id: I6109729ee303806f69bba365c93b4de67b9a8c32 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/topology_schemas')
-rw-r--r--resources/topology_schemas/2_node_topology.sch.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/resources/topology_schemas/2_node_topology.sch.yaml b/resources/topology_schemas/2_node_topology.sch.yaml
new file mode 100644
index 0000000000..8de397106a
--- /dev/null
+++ b/resources/topology_schemas/2_node_topology.sch.yaml
@@ -0,0 +1,37 @@
+# Copyright (c) 2018 Cisco and/or its affiliates.
+# 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.
+
+# This file defines required nodes for 2-node topology.
+
+name: 2_node_topology
+
+# +------+ +-----+
+# | | port1 port3 | +
+# | DUT1 +-----------------+ TG |
+# | +-----------------+ +
+# | | port2 port4 | |
+# +-+-+--+ +-+-+-+
+
+type: map
+mapping:
+ metadata:
+ include: topology_metadata_map
+
+ nodes:
+ type: map
+ required: yes
+ mapping:
+ TG:
+ include: type_tg
+ DUT1:
+ include: type_dut