]> git.proxmox.com Git - mirror_iproute2.git/commit
bash-completion: devlink: Extend bash-completion for new commands
authorIdo Schimmel <idosch@mellanox.com>
Tue, 31 Mar 2020 08:42:53 +0000 (11:42 +0300)
committerDavid Ahern <dsahern@gmail.com>
Tue, 31 Mar 2020 23:25:13 +0000 (23:25 +0000)
commit0141ca64b83c4c5e1b739ef73d159d77bef93405
tree44de9fbbd851ebf16c7cbd6eb7e23e4e1d07913c
parent02a2a6683ff2df271c0f58e57a7fe6ff979c6de5
bash-completion: devlink: Extend bash-completion for new commands

Extend bash-completion for two new commands:

devlink trap policer set DEV policer POLICER [ rate RATE ] [ burst BURST ]
devlink trap policer show DEV policer POLICER

And for "policer" / "nopolicer" parameters in existing command:

devlink trap group set DEV group GROUP [ action { trap | drop } ]
                       [ policer POLICER ] [ nopolicer ]

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
bash-completion/devlink