[ovs-dev] [PATCH v1 0/3 ovn] NAT port range support

Ankur Sharma svc.mail.git at nutanix.com
Fri Mar 27 23:18:21 UTC 2020


From: Ankur Sharma <ankur.sharma at nutanix.com>

OVS supports additional paramaters while programming
ct_nat rules.

Some of the key paramters:
a. Specifying external source port range.
b. Specifying the algorithm for mapping ports from the range.
c. Specifying the external ip address range.
d. Persisting the selection of picked IP address from the range.

In this series we cover a. above, i.e providing port range.
Additional patches will be sent out in coming weeks for b.,
c. and d. above.

Ankur Sharma (3):
  NAT: Provide port range in input
  NAT: Northd changes to provide port range
  NAT: Parsing port_range options in ct_*nat actions

 include/ovn/actions.h |  7 ++++++
 include/ovn/lex.h     |  1 +
 lib/actions.c         | 39 +++++++++++++++++++++++++++++++
 lib/lex.c             |  5 +++-
 northd/ovn-northd.c   | 31 +++++++++++++++++++++----
 ovn-nb.ovsschema      |  5 ++--
 ovn-nb.xml            | 23 ++++++++++++++++++
 tests/ovn-nbctl.at    | 20 ++++++++++++++++
 tests/ovn-northd.at   | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/ovn.at          | 24 +++++++++++++++++--
 utilities/ovn-nbctl.c | 50 +++++++++++++++++++++++++++++-----------
 11 files changed, 246 insertions(+), 23 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list