Class: Havox::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/havox/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_pathObject

Returns the value of attribute gurobi_path.



3
4
5
# File 'lib/havox/configuration.rb', line 3

def gurobi_path
  @gurobi_path
end

#merlin_hostObject

Returns the value of attribute merlin_host.



3
4
5
# File 'lib/havox/configuration.rb', line 3

def merlin_host
  @merlin_host
end

#merlin_passwordObject

Returns the value of attribute merlin_password.



3
4
5
# File 'lib/havox/configuration.rb', line 3

def merlin_password
  @merlin_password
end

#merlin_pathObject

Returns the value of attribute merlin_path.



3
4
5
# File 'lib/havox/configuration.rb', line 3

def merlin_path
  @merlin_path
end

#merlin_userObject

Returns the value of attribute merlin_user.



3
4
5
# File 'lib/havox/configuration.rb', line 3

def merlin_user
  @merlin_user
end

#protocol_daemonsObject

Returns the value of attribute protocol_daemons.



3
4
5
# File 'lib/havox/configuration.rb', line 3

def protocol_daemons
  @protocol_daemons
end

#rf_hostObject

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_namesObject

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_passwordObject

Returns the value of attribute rf_password.



3
4
5
# File 'lib/havox/configuration.rb', line 3

def rf_password
  @rf_password
end

#rf_userObject

Returns the value of attribute rf_user.



3
4
5
# File 'lib/havox/configuration.rb', line 3

def rf_user
  @rf_user
end