NAT: nat.c refactor (split out CLI) (VPP-1140) 45/10245/2
authorMatus Fabian <matfabia@cisco.com>
Thu, 25 Jan 2018 09:13:22 +0000 (01:13 -0800)
committerOle Trøan <otroan@employees.org>
Thu, 25 Jan 2018 12:56:00 +0000 (12:56 +0000)
commit82119542a895533e740952cc788076975204f71e
treee01b0ca12f18b426a0669e6f3c314e45f821e7da
parentb295782c0261f4580fcb8ba4b8d22651bb30b471
NAT: nat.c refactor (split out CLI) (VPP-1140)

Moved CLI from nat.c to nat44_cli.c
Split "show nat44" to:
show nat44 addresses
show nat44 interfaces
show nat44 static mappings
show nat44 interface address
show nat44 sessions detail
show nat44 deterministic mappings
show nat44 deterministic timeouts
show nat44 deterministic sessions
show nat workers

Change-Id: I2d1be8941dd0e4a9e037f4a4d2cd192389beb8ed
Signed-off-by: Matus Fabian <matfabia@cisco.com>
src/plugins/nat.am
src/plugins/nat/nat.c
src/plugins/nat/nat.h
src/plugins/nat/nat44_cli.c [new file with mode: 0644]
test/test_nat.py