Sha256: 89fc0c022a9d90927e4b90cf8bee63c9b95505d65578b43f42a21b6d44eea312
Contents?: true
Size: 671 Bytes
Versions: 5
Compression:
Stored size: 671 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 == 0 || argv == ['--'] flavors = env[:openstack_client].neutron.get_private_networks(env) display_item_list(env, flavors) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems