From 767890f4c0bab33342bf308effae85c362b56f62 Mon Sep 17 00:00:00 2001 From: Sergei Lukianov Date: Thu, 7 Mar 2024 19:21:37 -0800 Subject: [PATCH] Add missed virtual edge file --- api/agent/v1alpha2/virtualedge.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 api/agent/v1alpha2/virtualedge.go diff --git a/api/agent/v1alpha2/virtualedge.go b/api/agent/v1alpha2/virtualedge.go new file mode 100644 index 00000000..afefb25d --- /dev/null +++ b/api/agent/v1alpha2/virtualedge.go @@ -0,0 +1,16 @@ +package v1alpha2 + +const ( + VIRTUAL_EDGE_ANNOTATION = "virtual-edge.hhfab.fabric.githedgehog.com/external-cfg" +) + +type VirtualEdgeConfig struct { + ASN string `json:"ASN"` + VRF string `json:"VRF"` + CommunityIn string `json:"CommunityIn"` + CommunityOut string `json:"CommunityOut"` + NeighborIP string `json:"NeighborIP"` + IfName string `json:"ifName"` + IfVlan string `json:"ifVlan"` + IfIP string `json:"ifIP"` +}