The networking_cisco.tests.unit.saf.server.services.firewall.native.drivers.test_phy_asa Module

class networking_cisco.tests.unit.saf.server.services.firewall.native.drivers.test_phy_asa.FakeClass

Bases: object

Fake class

classmethod imitate(*others)
classmethod set_return(class_name, fn_name, return_val)
class networking_cisco.tests.unit.saf.server.services.firewall.native.drivers.test_phy_asa.PhyAsaTest(*args, **kwds)

Bases: neutron.tests.base.BaseTestCase

A test suite to exercise the Phy ASA Driver.

setUp()

Setup for the test scripts

test_build_acl_ip_none(*args, **kwargs)
test_build_acl_port_dst(*args, **kwargs)
test_build_acl_port_not_enabled_dst(*args, **kwargs)
test_build_acl_port_range_dst(*args, **kwargs)
test_build_acl_port_src(*args, **kwargs)
test_build_acl_valid_ip(*args, **kwargs)
test_create_fw(*args, **kwargs)

Create FW Test

test_delete_fw(*args, **kwargs)

Delete FW Test

test_get_ip_address_null(*args, **kwargs)
test_get_ip_address_valid(*args, **kwargs)
test_modify_fw(*args, **kwargs)

Modify FW Test

test_phy_asa_init(*args, **kwargs)

Wrapper for the init