controllers.odl_lithium_sr2_pb package¶
Submodules¶
controllers.odl_lithium_sr2_pb.change_persistence module¶
Handler disabling the percistence mode in the configuration of the controller.
controllers.odl_lithium_sr2_pb.change_stats_period module¶
controllers.odl_lithium_sr2_pb.flowmods_configure module¶
controllers.odl_lithium_sr2_pb.get_flows module¶
This handler returns the number of installed flows of a topology, connected to the controller. This information is extracted from controller’s operational datastore, using RESTCONF.
-
controllers.odl_lithium_sr2_pb.get_flows.get_flow_stats(ip, port, username, password)[source]¶ Collects and returns data about installed flows for the topology nodes
Parameters: - ip (str) – controller IP Address
- port (int) – controller restconf port number
- username (str) – username for restconf authorization
- password (str) – password for restconf authorization
Returns: the number of installed flows in the topology nodes or a negative number in a negative case
Return type: int
controllers.odl_lithium_sr2_pb.get_hosts module¶
This handler returns the number of hosts of a topology, connected to the controller. This information is extracted from controller’s operational datastore, using RESTCONF.
controllers.odl_lithium_sr2_pb.get_links module¶
This handler returns the number of links of a topology, connected to the controller. This information is extracted from controller’s operational datastore, using RESTCONF.
controllers.odl_lithium_sr2_pb.get_switches module¶
This handler returns the number of switches of a topology, connected to the controller. This information is extracted from controller’s operational datastore, using RESTCONF.