The networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client Module

class networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client.TestClient(**kwargs)

Bases: networking_cisco.plugins.ml2.drivers.cisco.n1kv.n1kv_client.Client

Base class for test client

class networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client.TestClientInvalidRequest(**kwargs)

Bases: networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client.TestClient

Test invalid request cases

class networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client.TestClientInvalidResponse(**kwargs)

Bases: networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client.TestClient

Test invalid response cases

class networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client.TestClientSharedNetwork(**kwargs)

Bases: networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client.TestClient

Test shared network cases

class networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client.TestClientUpdateSharedNetwork(**kwargs)

Bases: networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client.TestClient

Test cases where network is updated to be shared

class networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.fake_client.TestClientVSMRetry(**kwargs)

Bases: networking_cisco.plugins.ml2.drivers.cisco.n1kv.n1kv_client.Client

Base class for test client