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/bond.py

from pyroute2.netlink import nla


class bond(nla):
    prefix = 'IFLA_'
    nla_map = (
        ('IFLA_BOND_UNSPEC', 'none'),
        ('IFLA_BOND_MODE', 'uint8'),
        ('IFLA_BOND_ACTIVE_SLAVE', 'uint32'),
        ('IFLA_BOND_MIIMON', 'uint32'),
        ('IFLA_BOND_UPDELAY', 'uint32'),
        ('IFLA_BOND_DOWNDELAY', 'uint32'),
        ('IFLA_BOND_USE_CARRIER', 'uint8'),
        ('IFLA_BOND_ARP_INTERVAL', 'uint32'),
        ('IFLA_BOND_ARP_IP_TARGET', '*ipaddr'),
        ('IFLA_BOND_ARP_VALIDATE', 'uint32'),
        ('IFLA_BOND_ARP_ALL_TARGETS', 'uint32'),
        ('IFLA_BOND_PRIMARY', 'uint32'),
        ('IFLA_BOND_PRIMARY_RESELECT', 'uint8'),
        ('IFLA_BOND_FAIL_OVER_MAC', 'uint8'),
        ('IFLA_BOND_XMIT_HASH_POLICY', 'uint8'),
        ('IFLA_BOND_RESEND_IGMP', 'uint32'),
        ('IFLA_BOND_NUM_PEER_NOTIF', 'uint8'),
        ('IFLA_BOND_ALL_SLAVES_ACTIVE', 'uint8'),
        ('IFLA_BOND_MIN_LINKS', 'uint32'),
        ('IFLA_BOND_LP_INTERVAL', 'uint32'),
        ('IFLA_BOND_PACKETS_PER_SLAVE', 'uint32'),
        ('IFLA_BOND_AD_LACP_RATE', 'uint8'),
        ('IFLA_BOND_AD_SELECT', 'uint8'),
        ('IFLA_BOND_AD_INFO', 'ad_info'),
        ('IFLA_BOND_AD_ACTOR_SYS_PRIO', 'uint16'),
        ('IFLA_BOND_AD_USER_PORT_KEY', 'uint16'),
        ('IFLA_BOND_AD_ACTOR_SYSTEM', 'hex'),
        ('IFLA_BOND_TLB_DYNAMIC_LB', 'uint8'),
    )

    class ad_info(nla):
        nla_map = (
            ('IFLA_BOND_AD_INFO_UNSPEC', 'none'),
            ('IFLA_BOND_AD_INFO_AGGREGATOR', 'uint16'),
            ('IFLA_BOND_AD_INFO_NUM_PORTS', 'uint16'),
            ('IFLA_BOND_AD_INFO_ACTOR_KEY', 'uint16'),
            ('IFLA_BOND_AD_INFO_PARTNER_KEY', 'uint16'),
            ('IFLA_BOND_AD_INFO_PARTNER_MAC', 'l2addr'),
        )