Module: OmfRc::Util::OpenflowTools
- Includes:
- ResourceProxyDSL
- Defined in:
- omf_rc/lib/omf_rc/util/openflow_tools.rb
Constant Summary
- FLOWVISOR_VERSION =
The version of the flowvisor that this resource is able to control
"FV version=flowvisor-0.8.4"
- FLOWVISOR_FLOWENTRY_REGEXP_DEVIDED =
Parts of the regular expression that describes a flow entry for flowvisor
[ /dpid=\[(?<device>.+)\]/, /ruleMatch=\[OFMatch\[(?<match>.+)\]\]/, /actionsList=\[Slice:(?<slice>.+)=(?<actions>.+)\]/, /id=\[(?<id>.+)\]/, /priority=\[(?<priority>.+)\]/ ]
- FLOWVISOR_FLOWENTRY_REGEXP =
The regular expression that describes a flow entry for flowvisor
/FlowEntry\[#{FLOWVISOR_FLOWENTRY_REGEXP_DEVIDED.join(',')},\]/
- FLOW_FEATURES =
The names of the flow (or flow entry) features
%w{device match slice actions id priority}
- FLOW_MATCH_FEATURES =
The names of the flow (or flow entry) features that are specified by the “match” feature
%w{in_port eth_src eth_dst ip_src ip_dst}
- FLOW_DEFAULTS =
The default features of a new flow (or flow entry)
{ priority: "10", actions: "4" }
Constants included from ResourceProxyDSL
ResourceProxyDSL::DEFAULT_PROP_ACCESS, ResourceProxyDSL::PROXY_DIR, ResourceProxyDSL::UTIL_DIR