Files
arista-evpn-vxlan-clab/infrahub/transforms/queries/vxlan_intent.gql
Damien 87748329c8 refactor: move transforms/ into infrahub/ and update all paths (#20)
Move transforms/{queries,templates,tests} under infrahub/transforms/ so all
Infrahub-managed content lives under the dedicated infrahub/ directory,
consistent with schemas/, objects/, and menus/.

Updated paths:
- .infrahub.yml: file_path and template_path entries now prefixed with
  infrahub/transforms/
- infrahub/transforms/tests/*/test.yml: directory references updated from
  transforms/tests/* to infrahub/transforms/tests/*

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 18:37:07 +01:00

101 lines
2.0 KiB
GraphQL

query VxlanIntent($device_name: String!) {
# VTEP configuration for the device
InfraVTEP(device__name__value: $device_name) {
edges {
node {
source_address {
value
}
udp_port {
value
}
learn_restrict {
value
}
source_interface {
node {
name {
value
}
}
}
# VLAN-to-VNI mappings (L2 VXLAN)
vlan_vni_mappings {
edges {
node {
description {
value
}
vlan {
node {
vlan_id {
value
}
name {
value
}
}
}
vni {
node {
vni {
value
}
vni_type {
value
}
}
}
}
}
}
}
}
}
# VRF-to-VNI mappings (L3 VXLAN) via VRF device assignments
InfraVRFDeviceAssignment(device__name__value: $device_name) {
edges {
node {
route_distinguisher {
value
}
vrf {
node {
name {
value
}
l3vni {
node {
vni {
value
}
vni_type {
value
}
}
}
import_targets {
edges {
node {
target {
value
}
}
}
}
export_targets {
edges {
node {
target {
value
}
}
}
}
}
}
}
}
}
}