The congress.tests.datasources.test_neutron_driver
Module¶
-
class
congress.tests.datasources.test_neutron_driver.
TestDataSourceDriver
(*args, **kwargs)¶ Bases:
congress.tests.base.TestCase
-
setUp
()¶ Setup polling tests.
-
test_last_updated
()¶ Test the last_updated timestamping.
-
-
class
congress.tests.datasources.test_neutron_driver.
TestNeutronDriver
(*args, **kwargs)¶ Bases:
congress.tests.base.TestCase
-
setUp
()¶
-
test_execute
()¶
-
test_list_networks
()¶ Test conversion of complex network objects to tables.
-
test_list_ports
()¶ Test conversion of complex port objects to tuples.
-
test_list_routers
()¶
-
test_list_security_groups
()¶
-
-
congress.tests.datasources.test_neutron_driver.
create_networkXnetwork_group
(tablename)¶ Return rule of the form:
TABLENAME(x,y) :- neutron:network(…,x,…),neutron:network(…,y,…)
-
congress.tests.datasources.test_neutron_driver.
create_network_group
(tablename, full_neutron_tablename=None)¶