tc_custom module¶
This module is part of the nmeta suite running on top of Ryu SDN controller to provide network identity and flow (traffic classification) metadata
-
class
tc_custom.
CustomInspect
(config)¶ Bases:
baseclass.BaseClass
This class is instantiated by tc_policy.py (class: TrafficClassificationPolicy) and provides methods to run custom traffic classification modules
-
check_custom
(condition, flow, ident)¶ Passed condition, flows and identities objects. Call the named custom classifier with these values so that it can update the condition match as appropriate.
-
instantiate_classifiers
(custom_list)¶ Dynamically import and instantiate classes for any custom classifiers specified in the controller nmeta2 main_policy.yaml
Passed a deduplicated list of custom classifier names (without .py) to load.
Classifier modules live in the ‘classifiers’ subdirectory
-