Commit Graph

7 Commits

Author SHA1 Message Date
Adit Sarfaty afdb9ea7ac NSX|V3 refactor fwaas to support plugin rules
For DHCP relay support, and possibly other features, there is a need to
add specific allow rules to the router firewall between the FWaas v1/v2
rules, and the default drop rule.
This patch set the structure to do that, without actually adding new rules.
In case of FWaaS v2 the additional rules are per router interface.

Change-Id: I63d754495f56ec9081d84dcea6fb688ee1c41dbd
2017-10-04 18:19:17 +00:00
Adit Sarfaty 32e95f47b5 NSX|v3: FWaaS v2 support
FWaaS V2 support in NSX-v3.
Support different firewall group per router interface port for
igress/egress.
limitation: cannot support egress rules with source ip, or ingress
rules with destination ips.

Depends-on: I2a37be5518bfc8124ffca2ab05f684d8c1c3d673
Change-Id: I3ed70fa48d078bed15f30e855b73bdfb11d11c6e
2017-09-18 07:42:30 +00:00
Adit Sarfaty 11f9f56505 NSX|V3: support ranges in fw rules ports
Change-Id: I99bc662efb2815c25c60ff7f98bba8830d677af3
2017-07-09 15:42:11 +03:00
Gary Kotton 50cd210d59 Use flake8-import-order plugin
Automate the process

Change-Id: I54451e78c24eef2016293be87760a349df07a384
2017-07-05 00:39:10 -07:00
Adit Sarfaty 3ca9a9c476 NSX|v3: Add firewall tag to the router
Add a new tag to the nsx router indicating the FWaaS firewall id.
This tag is removed when the rotuer is detached from the firewall

Change-Id: I88151b710c807c74ff9fd9b0e32e50316d2ad1b8
2017-06-28 06:38:03 +00:00
Adit Sarfaty 7abd5003fa NSX|V3 Fix FwaaS rule with no service
When creating a rule with no protocol, the backend service should be empty

Change-Id: I91ed58a14976b0d32a2ad11e54d2ed455c2e4b1b
2017-06-21 13:59:37 +03:00
Adit Sarfaty 754e0e7561 NSX|V3: FWaaS-v1 support
Adding FW rules to protect the traffic north-south behind a T1 router.
This will be done only if a firewall was attached to the router.
This includes:
- FWaaS rules
- Drop all default rule

When the firewall is deleted or the router removed from it,
a default allow all rule will be set.

For the rotuer firewall to work, the rotuer NAT rules should set
nat-bypass=False.

Change-Id: Iba03db8ca67ee10d1c54b96fb41a888cb549684d
2017-06-17 05:18:15 +00:00