Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
E.g. for the set: set test_set { typeof ip saddr flags interval elements = { 10.0.0.0/24 } } The json object will look like this: "set": { "family": "ip", "name": "snat_hv", "table": "nat", "type": "ipv4_addr", "handle": 4, "flags": [ "interval" ], "elem": [ { "elem": { "val": { "prefix": { "addr": "10.0.0.0", "len": 24 } }, } } } There is no timeout, expires and comments fields, they should be optional.
- Loading branch information