Cisco CSR FWaaS driver should use 'l4-options' in CSR RESTAPI call
This issue is found when testing CSR FWaaS with a newer CSR image.
CSR ACL RESTAPI has been changed. The keyword "L4-options" is changed
to "l4-options". CSR FWaaS driver code needs to be changed accordingly.
(1) change "L4-options" to "l4-options" in CSR FWaaS driver code.
(2) We don't need to take care of old "L4-options" anymore. We will document
to suggest the right CSR images / versions to work with CSR FWaaS.
(3) Add simple test data ("source_port" and "destinatin_port") to the
fake firewall rule. The "l4-options" for CSR RESTAPI will be formed based
on these test data.
Reviewed: https:/ /review. openstack. org/195253 /git.openstack. org/cgit/ openstack/ neutron- fwaas/commit/ ?id=63936a524d3 077fbcd945a76d7 bd1e52d026af82
Committed: https:/
Submitter: Jenkins
Branch: master
commit 63936a524d3077f bcd945a76d7bd1e 52d026af82
Author: Yanping Qu <email address hidden>
Date: Wed Jun 24 11:24:35 2015 -0700
Cisco CSR FWaaS driver should use 'l4-options' in CSR RESTAPI call
This issue is found when testing CSR FWaaS with a newer CSR image.
CSR ACL RESTAPI has been changed. The keyword "L4-options" is changed
to "l4-options". CSR FWaaS driver code needs to be changed accordingly.
(1) change "L4-options" to "l4-options" in CSR FWaaS driver code.
(2) We don't need to take care of old "L4-options" anymore. We will document
to suggest the right CSR images / versions to work with CSR FWaaS.
(3) Add simple test data ("source_port" and "destinatin_port") to the
fake firewall rule. The "l4-options" for CSR RESTAPI will be formed based
on these test data.
Change-Id: I3ab8cf603266c2 8cfd6278d813cee f389b7b82e6
Closes-Bug: #1463774