Class: Bosh::Agent::Infrastructure::Dummy
- Defined in:
- lib/bosh_agent/infrastructure/dummy.rb
Instance Method Summary collapse
Instance Method Details
#get_network_settings(network_name, properties) ⇒ Object
10 11 12 |
# File 'lib/bosh_agent/infrastructure/dummy.rb', line 10 def get_network_settings(network_name, properties) # Nothing to do end |
#load_settings ⇒ Object
3 4 5 6 7 8 |
# File 'lib/bosh_agent/infrastructure/dummy.rb', line 3 def load_settings agent_env_from_cpi_path = File.join(Config.base_dir, 'bosh', 'dummy-cpi-agent-env.json') JSON.parse(File.read(agent_env_from_cpi_path)) rescue Errno::ENOENT raise Bosh::Agent::LoadSettingsError, 'Failed to read/write env/dummy-cpi-agent-env.json' end |