Module: Havox

Defined in:
lib/havox/modules/openflow10/ovs/matches.rb,
lib/havox.rb,
lib/havox/app/api.rb,
lib/havox/version.rb,
lib/havox/exceptions.rb,
lib/havox/classes/rib.rb,
lib/havox/dsl/network.rb,
lib/havox/classes/edge.rb,
lib/havox/classes/node.rb,
lib/havox/classes/rule.rb,
lib/havox/classes/route.rb,
lib/havox/configuration.rb,
lib/havox/dsl/directive.rb,
lib/havox/classes/policy.rb,
lib/havox/modules/merlin.rb,
lib/havox/modules/command.rb,
lib/havox/classes/topology.rb,
lib/havox/modules/routeflow.rb,
lib/havox/classes/translator.rb,
lib/havox/dsl/directive_proxy.rb,
lib/havox/classes/route_filler.rb,
lib/havox/modules/field_parser.rb,
lib/havox/classes/rule_expander.rb,
lib/havox/classes/rule_sanitizer.rb,
lib/havox/classes/modified_policy.rb,
lib/havox/modules/openflow10/ovs/actions.rb,
lib/havox/modules/openflow10/trema/actions.rb,
lib/havox/modules/openflow10/trema/matches.rb,
lib/havox/modules/openflow10/routeflow/actions.rb,
lib/havox/modules/openflow10/routeflow/matches.rb

Overview

This dictionary structure translates Merlin match fields to RouteFlow readable fields. Since the current version of RouteFlow does not support all returned fields yet, some of them were inferred based on the others (those are marked as ‘inferred’). As RouteFlow gets updated, the inferred names can be updated as well. RouteFlow’s main repo can be accessed at: github.com/routeflow/RouteFlow.

Defined Under Namespace

Modules: Command, DSL, FieldParser, Merlin, Network, OpenFlow10, RouteFlow, Trema Classes: API, Configuration, Edge, ModifiedPolicy, Node, OperationError, Policy, RIB, Route, RouteFiller, Rule, RuleExpander, RuleSanitizer, Topology, Translator, UnknownAction, UnknownTranslator

Constant Summary collapse

VERSION =
'0.11.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



37
38
39
# File 'lib/havox.rb', line 37

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



48
49
50
# File 'lib/havox.rb', line 48

def self.configure
  yield(configuration)
end

.resetObject



44
45
46
# File 'lib/havox.rb', line 44

def self.reset
  @configuration = Configuration.new
end