Method: Staypuft::Deployment::NeutronService::Cisconexus#port_map_hash
- Defined in:
- app/models/staypuft/deployment/neutron_service/cisconexus.rb
#port_map_hash ⇒ Object
101 102 103 104 105 106 |
# File 'app/models/staypuft/deployment/neutron_service/cisconexus.rb', line 101 def port_map_hash Hash[port_map.each_line.map do |line| server = line.split(':') [ server.first.strip, server.last.strip ] end] end |