Class: Havox::Configuration
- Inherits:
-
Object
- Object
- Havox::Configuration
- Defined in:
- lib/havox/configuration.rb
Instance Attribute Summary collapse
-
#gurobi_path ⇒ Object
Returns the value of attribute gurobi_path.
-
#merlin_host ⇒ Object
Returns the value of attribute merlin_host.
-
#merlin_password ⇒ Object
Returns the value of attribute merlin_password.
-
#merlin_path ⇒ Object
Returns the value of attribute merlin_path.
-
#merlin_user ⇒ Object
Returns the value of attribute merlin_user.
-
#protocol_daemons ⇒ Object
Returns the value of attribute protocol_daemons.
-
#rf_host ⇒ Object
Returns the value of attribute rf_host.
-
#rf_lxc_names ⇒ Object
Returns the value of attribute rf_lxc_names.
-
#rf_password ⇒ Object
Returns the value of attribute rf_password.
-
#rf_user ⇒ Object
Returns the value of attribute rf_user.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/havox/configuration.rb', line 7 def initialize @rf_host = '192.168.56.101' @rf_user = 'routeflow' @rf_password = 'routeflow' @rf_lxc_names = %w(rfvmA rfvmB rfvmC rfvmD) @merlin_host = '192.168.56.102' @merlin_user = 'frenetic' @merlin_password = 'frenetic' @merlin_path = '/home/frenetic/merlin' @gurobi_path = '/opt/gurobi701/linux64' @protocol_daemons = [:bgpd] end |
Instance Attribute Details
#gurobi_path ⇒ Object
Returns the value of attribute gurobi_path.
3 4 5 |
# File 'lib/havox/configuration.rb', line 3 def gurobi_path @gurobi_path end |
#merlin_host ⇒ Object
Returns the value of attribute merlin_host.
3 4 5 |
# File 'lib/havox/configuration.rb', line 3 def merlin_host @merlin_host end |
#merlin_password ⇒ Object
Returns the value of attribute merlin_password.
3 4 5 |
# File 'lib/havox/configuration.rb', line 3 def merlin_password @merlin_password end |
#merlin_path ⇒ Object
Returns the value of attribute merlin_path.
3 4 5 |
# File 'lib/havox/configuration.rb', line 3 def merlin_path @merlin_path end |
#merlin_user ⇒ Object
Returns the value of attribute merlin_user.
3 4 5 |
# File 'lib/havox/configuration.rb', line 3 def merlin_user @merlin_user end |
#protocol_daemons ⇒ Object
Returns the value of attribute protocol_daemons.
3 4 5 |
# File 'lib/havox/configuration.rb', line 3 def protocol_daemons @protocol_daemons end |
#rf_host ⇒ Object
Returns the value of attribute rf_host.
3 4 5 |
# File 'lib/havox/configuration.rb', line 3 def rf_host @rf_host end |
#rf_lxc_names ⇒ Object
Returns the value of attribute rf_lxc_names.
3 4 5 |
# File 'lib/havox/configuration.rb', line 3 def rf_lxc_names @rf_lxc_names end |
#rf_password ⇒ Object
Returns the value of attribute rf_password.
3 4 5 |
# File 'lib/havox/configuration.rb', line 3 def rf_password @rf_password end |
#rf_user ⇒ Object
Returns the value of attribute rf_user.
3 4 5 |
# File 'lib/havox/configuration.rb', line 3 def rf_user @rf_user end |