ixnetwork package¶
Subpackages¶
Submodules¶
ixload.ixl_app module¶
Classes and utilities to manage IxLoad application.
@author yoram@ignissoft.com
-
class
ixload.ixl_app.
IxlApp
(logger, api_wrapper=None)[source]¶ Bases:
trafficgenerator.trafficgenerator.TrafficGenerator
IxLoad driver. Equivalent to IxLoad Application.
-
connect
(ip='localhost', port=8080)[source]¶ Connect to IxTcl/REST server.
Parameters: - server – TxTcl/REST server.
- port – REST port, ignored for IxTcl server.
-
controller
= None¶
-
-
class
ixload.ixl_app.
IxlChassisChain
(**data)[source]¶ Bases:
ixload.ixl_object.IxlObject
-
class
ixload.ixl_app.
IxlController
(**data)[source]¶ Bases:
ixload.ixl_object.IxlObject
-
class
ixload.ixl_app.
IxlElement
(**data)[source]¶ Bases:
ixload.ixl_object.IxlObject
ixload.ixl_object module¶
Base classes and utilities to manage IxLoad (IXL).
author: | yoram@ignissoft.com |
---|
-
class
ixload.ixl_object.
IxlObject
(**data)[source]¶ Bases:
trafficgenerator.tgn_object.TgnObject
Base class for all IXN classes.
-
api
= None¶
-
get_attribute
(attribute)[source]¶ Parameters: attribute – requested attributes. Returns: attribute value.
-
get_children
(*types)[source]¶ Read (getList) children from IXN.
Use this method to align with current IXN configuration.
Parameters: types – list of requested children. Returns: list of all children objects of the requested types.
-
get_obj_class
(obj_type)[source]¶ Parameters: obj_type – IXL object type. Returns: object class if specific class else IxlObject.
-
logger
= None¶
-
repository
= None¶
-
str_2_class
= {}¶
-
ixload.ixl_statistics_view module¶
Classes and utilities to read IxLoad statistics views (==csv files).
@author yoram@ignissoft.com
-
class
ixload.ixl_statistics_view.
IxlStatView
(view, results_dir=None)[source]¶ Bases:
object
-
get_counter
(time_stamp, stat_name)[source]¶ Parameters: - time_stamp – requested time stamp.
- stat_name – requested statistics name.
Returns: int, the value of the requested statics for the requested time stamp.
-
get_counters
(stat_name)[source]¶ Parameters: stat_name – requested statistics name. Returns: all values of the requested statistic for all objects.
-
get_stat
(time_stamp, stat_name)[source]¶ Parameters: - time_stamp – requested time stamp.
- stat_name – requested statistics name.
Returns: str, the value of the requested statics for the requested time stamp.
-
get_stats
(stat_name)[source]¶ Parameters: stat_name – requested statistics name. Returns: all values of the requested statistic for all objects.
-
Module contents¶
@author yoram@ignissoft.com