PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /proc/self/root/opt/saltstack/salt/extras-3.10/pyroute2/netlink/rtnl/ifinfmsg/plugins/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //proc/self/root/opt/saltstack/salt/extras-3.10/pyroute2/netlink/rtnl/ifinfmsg/plugins/vxlan.py

from pyroute2.netlink import nla


class vxlan(nla):
    prefix = 'IFLA_'
    nla_map = (
        ('IFLA_VXLAN_UNSPEC', 'none'),
        ('IFLA_VXLAN_ID', 'uint32'),
        ('IFLA_VXLAN_GROUP', 'ip4addr'),
        ('IFLA_VXLAN_LINK', 'uint32'),
        ('IFLA_VXLAN_LOCAL', 'ip4addr'),
        ('IFLA_VXLAN_TTL', 'uint8'),
        ('IFLA_VXLAN_TOS', 'uint8'),
        ('IFLA_VXLAN_LEARNING', 'uint8'),
        ('IFLA_VXLAN_AGEING', 'uint32'),
        ('IFLA_VXLAN_LIMIT', 'uint32'),
        ('IFLA_VXLAN_PORT_RANGE', 'port_range'),
        ('IFLA_VXLAN_PROXY', 'uint8'),
        ('IFLA_VXLAN_RSC', 'uint8'),
        ('IFLA_VXLAN_L2MISS', 'uint8'),
        ('IFLA_VXLAN_L3MISS', 'uint8'),
        ('IFLA_VXLAN_PORT', 'be16'),
        ('IFLA_VXLAN_GROUP6', 'ip6addr'),
        ('IFLA_VXLAN_LOCAL6', 'ip6addr'),
        ('IFLA_VXLAN_UDP_CSUM', 'uint8'),
        ('IFLA_VXLAN_UDP_ZERO_CSUM6_TX', 'uint8'),
        ('IFLA_VXLAN_UDP_ZERO_CSUM6_RX', 'uint8'),
        ('IFLA_VXLAN_REMCSUM_TX', 'uint8'),
        ('IFLA_VXLAN_REMCSUM_RX', 'uint8'),
        ('IFLA_VXLAN_GBP', 'flag'),
        ('IFLA_VXLAN_REMCSUM_NOPARTIAL', 'flag'),
        ('IFLA_VXLAN_COLLECT_METADATA', 'uint8'),
        ('IFLA_VXLAN_LABEL', 'uint32'),
        ('IFLA_VXLAN_GPE', 'flag'),
        ('IFLA_VXLAN_TTL_INHERIT', 'flag'),
        ('IFLA_VXLAN_DF', 'uint8'),
    )

    class port_range(nla):
        fields = (('low', '>H'), ('high', '>H'))