SeanCondon | 3c3d08f | 2022-05-27 11:39:58 +0100 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2022-present Intel Corporation |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | # A topology kind representing an Aether Enterprise node |
| 6 | apiVersion: topo.onosproject.org/v1beta1 |
| 7 | kind: Kind |
| 8 | metadata: |
| 9 | name: fabric |
| 10 | spec: |
| 11 | aspects: {} |
| 12 | |
| 13 | # Fabrics as targets |
| 14 | {{- range .Values.fabrics }} |
| 15 | --- |
| 16 | apiVersion: topo.onosproject.org/v1beta1 |
| 17 | kind: Entity |
| 18 | metadata: |
| 19 | name: {{ .id }} |
| 20 | spec: |
| 21 | uri: {{ .id }} |
| 22 | kind: |
| 23 | name: fabric |
| 24 | aspects: |
| 25 | onos.topo.Configurable: |
| 26 | address: fabric-adapter-v0-1:5150 |
| 27 | version: 0.1.x |
| 28 | type: sdn-fabric |
| 29 | onos.topo.Location: |
| 30 | lat: {{ .lat }} |
| 31 | lng: {{ .long }} |
| 32 | onos.topo.TLSOptions: |
| 33 | insecure: true |
| 34 | onos.topo.Asset: |
| 35 | name: {{ .name }} |
| 36 | onos.topo.MastershipState: {} |
| 37 | {{- end }} |