summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/flowtable/0011deleteafterflush_0
blob: 4f519a7c7f429b4fc382bcbfe39df7a3f9ae730f (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

set -e
$NFT add table x
$NFT add chain x y
$NFT add flowtable x f { hook ingress priority 0\; devices = { lo }\;}
$NFT add rule x y ip protocol tcp flow add @f
$NFT add rule x y ip protocol udp flow add @f
$NFT flush chain x y
$NFT delete flowtable x f