Sha256: ade4f6cc95b0b1e620b4ec4852c972a9983e678340cb997da94e7e58b1027453
Contents?: true
Size: 653 Bytes
Versions: 1
Compression:
Stored size: 653 Bytes
Contents
require 'vagrant-openstack-provider/command/utils' require 'vagrant-openstack-provider/command/abstract_command' module VagrantPlugins module Openstack module Command class NetworkList < AbstractCommand include VagrantPlugins::Openstack::Command::Utils def self.synopsis I18n.t('vagrant_openstack.command.network_list_synopsis') end def cmd(name, argv, env) fail Errors::NoArgRequiredForCommand, cmd: name unless argv.size == 1 flavors = env[:openstack_client].neutron.get_private_networks(env) display_item_list(env, flavors) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-openstack-provider-0.3.0 | lib/vagrant-openstack-provider/command/network_list.rb |