Files
arista-evpn-vxlan-clab/infrahub/transforms/queries/vlan_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

93 lines
1.9 KiB
GraphQL

query VlanIntent($device_name: String!) {
# VLANs reachable via VTEP VLAN-VNI mappings (L2/VXLAN VLANs)
InfraVTEP(device__name__value: $device_name) {
edges {
node {
source_address {
value
}
udp_port {
value
}
vlan_vni_mappings {
edges {
node {
vlan {
node {
vlan_id {
value
}
name {
value
}
status {
value
}
vlan_type {
value
}
trunk_groups {
value
}
stp_enabled {
value
}
vni {
node {
vni {
value
}
vni_type {
value
}
}
}
}
}
}
}
}
}
}
}
# VLANs reachable via SVI interfaces (MLAG, routing, and other local VLANs)
InfraInterfaceVlan(device__name__value: $device_name) {
edges {
node {
vlan {
node {
vlan_id {
value
}
name {
value
}
status {
value
}
vlan_type {
value
}
trunk_groups {
value
}
stp_enabled {
value
}
vni {
node {
vni {
value
}
vni_type {
value
}
}
}
}
}
}
}
}
}