bf.set_network('generate_questions')

bf.set_snapshot('aristaevpn')

"""
Explanation: VXLAN and EVPN
This category of questions allows you to query aspects of VXLAN and EVPN
configuration and behavior.

VXLAN VNI Properties
VXLAN Edges
L3 EVPN VNIs
End of explanation
"""


result = bf.q.vxlanVniProperties().answer().frame()

"""
Explanation: VXLAN VNI Properties
Returns configuration settings of VXLANs.
Lists VNI-level network segment settings configured for VXLANs.
Inputs
Name | Description | Type | Optional | Default Value
--- | --- | --- | --- | --- 
nodes | Include nodes matching this specifier. | NodeSpec | True | 
properties | Include properties matching this specifier. | VxlanVniPropertySpec | True | 
Invocation
End of explanation
"""


result.head(5)

"""
Explanation: Return Value
Name | Description | Type
--- | --- | ---
Node | Node | str
VRF | VRF | str
VNI | VXLAN Segment ID | int
Local_VTEP_IP | IPv4 address of the local VTEP | str
Multicast_Group | IPv4 address of the multicast group | str
VLAN | VLAN number for the VNI | int
VTEP_Flood_List | All IPv4 addresses in the VTEP flood list | List of str
VXLAN_Port | Destination port number for the VXLAN tunnel | int
Print the first 5 rows of the returned Dataframe
End of explanation
"""


result.iloc[0]

bf.set_network('generate_questions')

bf.set_snapshot('aristaevpn')

"""
Explanation: Print the first row of the returned Dataframe
End of explanation
"""


result = bf.q.vxlanEdges().answer().frame()

"""
Explanation: VXLAN Edges
Returns VXLAN edges.
Lists all VXLAN edges in the network.
Inputs
Name | Description | Type | Optional | Default Value
--- | --- | --- | --- | --- 
nodes | Include edges whose first node matches this name or regex. | NodeSpec | True | .
remoteNodes | Include edges whose second node matches this name or regex. | NodeSpec | True | .
Invocation
End of explanation
"""


result.head(5)

"""
Explanation: Return Value
Name | Description | Type
--- | --- | ---
VNI | VNI of the VXLAN tunnel edge | int
Node | Node from which the edge originates | str
Remote_Node | Node at which the edge terminates | str
VTEP_Address | VTEP IP of node from which the edge originates | str
Remote_VTEP_Address | VTEP IP of node at which the edge terminates | str
VLAN | VLAN associated with VNI on node from which the edge originates | int
Remote_VLAN | VLAN associated with VNI on node at which the edge terminates | int
UDP_Port | UDP port of the VXLAN tunnel transport | int
Multicast_Group | Multicast group of the VXLAN tunnel transport | str
Print the first 5 rows of the returned Dataframe
End of explanation
"""


result.iloc[0]

bf.set_network('generate_questions')

bf.set_snapshot('aristaevpn')

"""
Explanation: Print the first row of the returned Dataframe
End of explanation
"""


result = bf.q.evpnL3VniProperties().answer().frame()

"""
Explanation: L3 EVPN VNIs
Returns configuration settings of VXLANs.
Lists VNI-level network segment settings configured for VXLANs.
Inputs
Name | Description | Type | Optional | Default Value
--- | --- | --- | --- | --- 
nodes | Include nodes matching this specifier. | NodeSpec | True | 
Invocation
End of explanation
"""


result.head(5)

"""
Explanation: Return Value
Name | Description | Type
--- | --- | ---
Node | Node | str
VRF | VRF | str
VNI | VXLAN Segment ID | int
Route_Distinguisher | Route distinguisher | str
Import_Route_Target | Import route target | str
Export_Route_Target | Export route target | str
Print the first 5 rows of the returned Dataframe
End of explanation
"""


result.iloc[0]

"""
Explanation: Print the first row of the returned Dataframe
End of explanation
"""


