brightbox-cli 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.bundle/config +3 -0
- data/.gitignore +5 -0
- data/Gemfile +3 -0
- data/LICENSE +19 -0
- data/README +66 -0
- data/README.rdoc +66 -0
- data/Rakefile +14 -0
- data/bin/brightbox-accounts +14 -0
- data/bin/brightbox-cloudips +14 -0
- data/bin/brightbox-config +14 -0
- data/bin/brightbox-images +14 -0
- data/bin/brightbox-lbs +14 -0
- data/bin/brightbox-servers +14 -0
- data/bin/brightbox-types +14 -0
- data/bin/brightbox-users +14 -0
- data/bin/brightbox-zones +14 -0
- data/brightbox-cli.gemspec +37 -0
- data/lib/brightbox-cli/accounts.rb +45 -0
- data/lib/brightbox-cli/api.rb +142 -0
- data/lib/brightbox-cli/cloud_ips.rb +46 -0
- data/lib/brightbox-cli/command_generator.rb +50 -0
- data/lib/brightbox-cli/commands/accounts-list.rb +18 -0
- data/lib/brightbox-cli/commands/accounts-reset-ftp-password.rb +36 -0
- data/lib/brightbox-cli/commands/accounts-show.rb +28 -0
- data/lib/brightbox-cli/commands/cloudips-create.rb +23 -0
- data/lib/brightbox-cli/commands/cloudips-destroy.rb +40 -0
- data/lib/brightbox-cli/commands/cloudips-list.rb +19 -0
- data/lib/brightbox-cli/commands/cloudips-map.rb +60 -0
- data/lib/brightbox-cli/commands/cloudips-show.rb +22 -0
- data/lib/brightbox-cli/commands/cloudips-unmap.rb +37 -0
- data/lib/brightbox-cli/commands/config-client-add.rb +47 -0
- data/lib/brightbox-cli/commands/config-client-default.rb +26 -0
- data/lib/brightbox-cli/commands/config-client-list.rb +26 -0
- data/lib/brightbox-cli/commands/config-client-remove.rb +27 -0
- data/lib/brightbox-cli/commands/images-destroy.rb +26 -0
- data/lib/brightbox-cli/commands/images-list.rb +28 -0
- data/lib/brightbox-cli/commands/images-register.rb +33 -0
- data/lib/brightbox-cli/commands/images-show.rb +25 -0
- data/lib/brightbox-cli/commands/lbs-add-nodes.rb +22 -0
- data/lib/brightbox-cli/commands/lbs-create.rb +89 -0
- data/lib/brightbox-cli/commands/lbs-destroy.rb +20 -0
- data/lib/brightbox-cli/commands/lbs-list.rb +18 -0
- data/lib/brightbox-cli/commands/lbs-remove-nodes.rb +22 -0
- data/lib/brightbox-cli/commands/lbs-show.rb +23 -0
- data/lib/brightbox-cli/commands/lbs-update.rb +87 -0
- data/lib/brightbox-cli/commands/servers-activate-cloud.rb +25 -0
- data/lib/brightbox-cli/commands/servers-create.rb +103 -0
- data/lib/brightbox-cli/commands/servers-destroy.rb +24 -0
- data/lib/brightbox-cli/commands/servers-list.rb +19 -0
- data/lib/brightbox-cli/commands/servers-show.rb +54 -0
- data/lib/brightbox-cli/commands/servers-shutdown.rb +20 -0
- data/lib/brightbox-cli/commands/servers-snapshot.rb +21 -0
- data/lib/brightbox-cli/commands/servers-start.rb +21 -0
- data/lib/brightbox-cli/commands/servers-stop.rb +20 -0
- data/lib/brightbox-cli/commands/types-list.rb +18 -0
- data/lib/brightbox-cli/commands/types-show.rb +25 -0
- data/lib/brightbox-cli/commands/users-list.rb +18 -0
- data/lib/brightbox-cli/commands/users-show.rb +25 -0
- data/lib/brightbox-cli/commands/users-update.rb +39 -0
- data/lib/brightbox-cli/commands/zones-list.rb +18 -0
- data/lib/brightbox-cli/config.rb +162 -0
- data/lib/brightbox-cli/error_parser.rb +34 -0
- data/lib/brightbox-cli/fog_extensions.rb +13 -0
- data/lib/brightbox-cli/gli_global_hooks.rb +56 -0
- data/lib/brightbox-cli/images.rb +49 -0
- data/lib/brightbox-cli/load_balancers.rb +86 -0
- data/lib/brightbox-cli/logging.rb +40 -0
- data/lib/brightbox-cli/ruby_core_ext.rb +9 -0
- data/lib/brightbox-cli/servers.rb +74 -0
- data/lib/brightbox-cli/tables.rb +100 -0
- data/lib/brightbox-cli/types.rb +47 -0
- data/lib/brightbox-cli/users.rb +47 -0
- data/lib/brightbox-cli/vendor/brightbox-ini/README +113 -0
- data/lib/brightbox-cli/vendor/brightbox-ini/lib/ini.rb +266 -0
- data/lib/brightbox-cli/vendor/brightbox-ini/lib/inifile.rb +10 -0
- data/lib/brightbox-cli/vendor/brightbox-ini/test/data/bad_1.ini +6 -0
- data/lib/brightbox-cli/vendor/brightbox-ini/test/data/bad_2.ini +6 -0
- data/lib/brightbox-cli/vendor/brightbox-ini/test/data/comment.ini +5 -0
- data/lib/brightbox-cli/vendor/brightbox-ini/test/data/good.ini +17 -0
- data/lib/brightbox-cli/vendor/brightbox-ini/test/data/mixed_comment.ini +7 -0
- data/lib/brightbox-cli/vendor/brightbox-ini/test/data/param.ini +5 -0
- data/lib/brightbox-cli/vendor/brightbox-ini/test/test_inifile.rb +273 -0
- data/lib/brightbox-cli/vendor/fog/.document +3 -0
- data/lib/brightbox-cli/vendor/fog/.gitignore +14 -0
- data/lib/brightbox-cli/vendor/fog/Gemfile +3 -0
- data/lib/brightbox-cli/vendor/fog/README.rdoc +154 -0
- data/lib/brightbox-cli/vendor/fog/Rakefile +435 -0
- data/lib/brightbox-cli/vendor/fog/benchs/fog_vs.rb +106 -0
- data/lib/brightbox-cli/vendor/fog/benchs/params.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/benchs/parse_vs_push.rb +69 -0
- data/lib/brightbox-cli/vendor/fog/bin/fog +54 -0
- data/lib/brightbox-cli/vendor/fog/changelog.txt +1054 -0
- data/lib/brightbox-cli/vendor/fog/docs/_config.yml +39 -0
- data/lib/brightbox-cli/vendor/fog/docs/_layouts/default.html +111 -0
- data/lib/brightbox-cli/vendor/fog/docs/about/contributing.markdown +228 -0
- data/lib/brightbox-cli/vendor/fog/docs/about/getting_started.markdown +83 -0
- data/lib/brightbox-cli/vendor/fog/docs/about/press.markdown +48 -0
- data/lib/brightbox-cli/vendor/fog/docs/about/structure.markdown +78 -0
- data/lib/brightbox-cli/vendor/fog/docs/about/users.markdown +33 -0
- data/lib/brightbox-cli/vendor/fog/docs/cdn/index.markdown +82 -0
- data/lib/brightbox-cli/vendor/fog/docs/compute/index.markdown +108 -0
- data/lib/brightbox-cli/vendor/fog/docs/dns/index.markdown +79 -0
- data/lib/brightbox-cli/vendor/fog/docs/index.markdown +96 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/crossdomain.xml +25 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/css/fog.css +129 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/css/handheld.css +8 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/css/style.css +129 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/images/.gitignore +3 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/js/libs/dd_belatedpng.js +13 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/js/libs/jquery-1.4.2.js +6240 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/js/libs/jquery-1.4.2.min.js +154 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/js/libs/modernizr-1.6.min.js +30 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/js/mylibs/.gitignore +3 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/js/plugins.js +34 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/js/profiling/config.js +59 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/js/profiling/yahoo-profiling.css +7 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/js/profiling/yahoo-profiling.min.js +39 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/js/script.js +26 -0
- data/lib/brightbox-cli/vendor/fog/docs/public/robots.txt +5 -0
- data/lib/brightbox-cli/vendor/fog/docs/storage/index.markdown +204 -0
- data/lib/brightbox-cli/vendor/fog/examples/compute_tests.rb +71 -0
- data/lib/brightbox-cli/vendor/fog/examples/dns_tests.rb +78 -0
- data/lib/brightbox-cli/vendor/fog/examples/storage_tests.rb +105 -0
- data/lib/brightbox-cli/vendor/fog/fog.gemspec +60 -0
- data/lib/brightbox-cli/vendor/fog/foo.patch +62 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/auto_scaling.rb +221 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/cloud_formation.rb +124 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/cloud_watch.rb +110 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/elb.rb +178 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/iam.rb +177 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/auto_scaling/activities.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/auto_scaling/activity.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/auto_scaling/configuration.rb +63 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/auto_scaling/configurations.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/auto_scaling/group.rb +140 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/auto_scaling/groups.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/auto_scaling/instance.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/auto_scaling/instances.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/cloud_watch/metric.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/cloud_watch/metric_statistic.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/cloud_watch/metric_statistics.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/cloud_watch/metrics.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/elb/listener.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/elb/listeners.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/elb/load_balancer.rb +133 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/elb/load_balancers.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/elb/policies.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/elb/policy.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/rds/parameter.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/rds/parameter_group.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/rds/parameter_groups.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/rds/parameters.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/rds/security_group.rb +82 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/rds/security_groups.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/rds/server.rb +111 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/rds/servers.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/rds/snapshot.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/rds/snapshots.rb +45 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/basic.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_groups.rb +126 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_instances.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/describe_launch_configurations.rb +94 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/describe_metric_collection_types.rb +66 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/describe_policies.rb +66 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/describe_scaling_activities.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/describe_scheduled_actions.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/auto_scaling/terminate_instance_in_auto_scaling_group.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cloud_formation/basic.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cloud_formation/create_stack.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cloud_formation/describe_stack_events.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cloud_formation/describe_stack_resources.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cloud_formation/describe_stacks.rb +72 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cloud_formation/get_template.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cloud_formation/validate_template.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cloud_watch/get_metric_statistics.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cloud_watch/list_metrics.rb +58 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cloud_watch/put_metric_data.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/elb/configure_health_check.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/elb/create_load_balancer.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/elb/delete_load_balancer.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/elb/deregister_instances_from_load_balancer.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/elb/describe_instance_health.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/elb/describe_load_balancers.rb +124 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/elb/disable_availability_zones_for_load_balancer.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/elb/empty.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/basic.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/create_access_key.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/create_group.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/create_user.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_group.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_group_policy.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user_policy.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/list_access_keys.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/list_account_aliases.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/list_groups.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/list_groups_for_user.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/list_policies.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/list_server_certificates.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/list_signing_certificates.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/list_users.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/login_profile.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/update_group.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/update_user.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/upload_server_certificate.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/upload_signing_certificate.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/authorize_db_security_group_ingress.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/create_db_instance.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/create_db_instance_read_replica.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/create_db_parameter_group.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/create_db_security_group.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/create_db_snapshot.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/db_engine_version_parser.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/db_parser.rb +123 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/delete_db_instance.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/delete_db_parameter_group.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/delete_db_security_group.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/delete_db_snapshot.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/describe_db_engine_versions.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/describe_db_instances.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/describe_db_parameters.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/describe_db_security_groups.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/describe_db_snapshots.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/modify_db_instance.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/modify_db_parameter_group.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/reboot_db_instance.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_from_db_snapshot.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/revoke_db_security_group_ingress.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/security_group_parser.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/snapshot_parser.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/ses/delete_verified_email_address.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/ses/get_send_quota.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/ses/get_send_statistics.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/ses/list_verified_email_addresses.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/ses/send_email.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/ses/send_raw_email.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/ses/verify_email_address.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/simpledb/basic.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/simpledb/domain_metadata.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/simpledb/get_attributes.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/simpledb/list_domains.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/simpledb/select.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/add_permission.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/confirm_subscription.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/create_topic.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/delete_topic.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/get_topic_attributes.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/list_subscriptions.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/list_topics.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/publish.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/remove_permission.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/set_topic_attributes.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/subscribe.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sns/unsubscribe.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sqs/basic.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sqs/create_queue.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sqs/get_queue_attributes.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sqs/list_queues.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sqs/receive_message.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sqs/send_message.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/rds.rb +163 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +108 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb +105 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb +45 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/delete_launch_configuration.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/delete_policy.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/describe_adjustment_types.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_groups.rb +128 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_instances.rb +96 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb +108 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/describe_metric_collection_types.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/describe_policies.rb +85 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb +88 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/describe_scaling_process_types.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb +83 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/disable_metrics_collection.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/enable_metrics_collection.rb +66 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/execute_policy.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb +66 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/resume_processes.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/set_desired_capacity.rb +87 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/set_instance_health.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/suspend_processes.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/terminate_instance_in_auto_scaling_group.rb +65 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/auto_scaling/update_auto_scaling_group.rb +79 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_formation/create_stack.rb +71 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_formation/delete_stack.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_formation/describe_stacks.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_formation/get_template.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_formation/validate_template.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_watch/get_metric_statistics.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_watch/list_metrics.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_watch/put_metric_data.rb +73 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/configure_health_check.rb +65 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/create_lb_cookie_stickiness_policy.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/create_load_balancer.rb +109 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/create_load_balancer_listeners.rb +79 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/delete_load_balancer.rb +51 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/delete_load_balancer_policy.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +63 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/describe_instance_health.rb +72 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/describe_load_balancers.rb +85 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +61 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +64 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/set_load_balancer_listener_ssl_certificate.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb +80 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/add_user_to_group.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/create_access_key.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/create_account_alias.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/create_group.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/create_login_profile.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/create_user.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_access_key.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_account_alias.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_group.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_group_policy.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_login_profile.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_server_certificate.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_signing_certificate.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_user.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_user_policy.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_group.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_group_policy.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_login_profile.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_server_certificate.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_user.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_user_policy.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_access_keys.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_account_aliases.rb +18 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_group_policies.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_groups.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_groups_for_user.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_server_certificates.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_signing_certificates.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_user_policies.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_users.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/put_group_policy.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/put_user_policy.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/remove_user_from_group.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/update_access_key.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/update_group.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/update_login_profile.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/update_server_certificate.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/update_signing_certificate.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/update_user.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/upload_server_certificate.rb +93 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/upload_signing_certificate.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_parameter_group.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_security_group.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_snapshot.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/delete_db_instance.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/delete_db_parameter_group.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/delete_db_security_group.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/delete_db_snapshot.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_engine_versions.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_instances.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb +45 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameters.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_reserved_instances.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_security_groups.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_snapshots.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/modify_db_instance.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/reboot_db_instance.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/restore_db_instance_to_point_in_time.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/ses/delete_verified_email_address.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/ses/get_send_quota.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/ses/get_send_statistics.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/ses/list_verified_email_addresses.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/ses/send_email.rb +73 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/ses/send_raw_email.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/ses/verify_email_address.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/simpledb/batch_put_attributes.rb +64 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/simpledb/create_domain.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/simpledb/delete_attributes.rb +73 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/simpledb/delete_domain.rb +45 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/simpledb/domain_metadata.rb +76 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/simpledb/get_attributes.rb +84 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/simpledb/list_domains.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/simpledb/put_attributes.rb +78 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/simpledb/select.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/add_permission.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/confirm_subscription.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/create_topic.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/delete_topic.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/get_topic_attributes.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/list_subscriptions.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/list_topics.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/publish.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/remove_permission.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/set_topic_attributes.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/subscribe.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/unsubscribe.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/change_message_visibility.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/create_queue.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/delete_message.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/delete_queue.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/get_queue_attributes.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/list_queues.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/receive_message.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/send_message.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/set_queue_attributes.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/ses.rb +109 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/simpledb.rb +194 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/sns.rb +112 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/sqs.rb +115 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/aws.rb +91 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/bluebox.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/brightbox.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/dnsimple.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/dnsmadeeasy.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/dynect.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/ecloud.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/go_grid.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/google.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/linode.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/local.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/new_servers.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/ninefold.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/rackspace.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/slicehost.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/stormondemand.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/terremark.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/vcloud.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/virtual_box.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/voxel.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/zerigo.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin.rb +76 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/aws.rb +118 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/parsers/aws/distribution.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/parsers/aws/get_distribution_list.rb +61 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/parsers/aws/get_invalidation_list.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/parsers/aws/get_streaming_distribution_list.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/parsers/aws/post_invalidation.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/parsers/aws/streaming_distribution.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/rackspace.rb +96 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/delete_distribution.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/delete_streaming_distribution.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/get_distribution.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/get_distribution_list.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/get_invalidation_list.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/get_streaming_distribution.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/get_streaming_distribution_list.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/post_distribution.rb +91 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/post_invalidation.rb +51 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/post_streaming_distribution.rb +78 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/put_distribution_config.rb +94 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/aws/put_streaming_distribution_config.rb +83 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/rackspace/get_containers.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/rackspace/head_container.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/rackspace/post_container.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn/requests/rackspace/put_container.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/cdn.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/aws.rb +308 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/bluebox.rb +94 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/brightbox.rb +165 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/ecloud.rb +1310 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/go_grid.rb +112 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/linode.rb +116 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/address.rb +69 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/addresses.rb +100 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/flavor.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/flavors.rb +167 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/image.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/images.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/key_pair.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/key_pairs.rb +88 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/security_group.rb +205 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/security_groups.rb +95 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/server.rb +267 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/servers.rb +158 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/snapshot.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/snapshots.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/spot_request.rb +93 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/spot_requests.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/tag.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/tags.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/volume.rb +107 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/aws/volumes.rb +121 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/bluebox/flavor.rb +45 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/bluebox/flavors.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/bluebox/image.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/bluebox/images.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/bluebox/server.rb +131 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/bluebox/servers.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/account.rb +63 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/cloud_ip.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/cloud_ips.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/flavor.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/flavors.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/image.rb +63 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/images.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/load_balancer.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/load_balancers.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/server.rb +121 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/servers.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/user.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/users.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/zone.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/brightbox/zones.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/backup_internet_service.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/backup_internet_services.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/catalog.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/catalog_item.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/firewall_acl.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/firewall_acls.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/internet_service.rb +117 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/internet_services.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/ip.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/ips.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/network.rb +75 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/networks.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/node.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/nodes.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/public_ip.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/public_ips.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/server.rb +209 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/servers.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/task.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/tasks.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/vdc.rb +81 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ecloud/vdcs.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/go_grid/image.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/go_grid/images.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/go_grid/password.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/go_grid/passwords.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/go_grid/server.rb +102 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/go_grid/servers.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/data_center.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/data_centers.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/disk.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/disks.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/flavor.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/flavors.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/image.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/images.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/ip.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/ips.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/kernel.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/kernels.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/server.rb +88 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/servers.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/stack_script.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/stack_scripts.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ninefold/address.rb +103 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ninefold/addresses.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ninefold/flavor.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ninefold/flavors.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ninefold/image.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ninefold/images.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ninefold/ip_forwarding_rule.rb +79 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ninefold/ip_forwarding_rules.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ninefold/server.rb +184 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/ninefold/servers.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/rackspace/flavor.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/rackspace/flavors.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/rackspace/image.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/rackspace/images.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/rackspace/server.rb +130 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/rackspace/servers.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/server.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/slicehost/flavor.rb +45 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/slicehost/flavors.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/slicehost/image.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/slicehost/images.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/slicehost/server.rb +113 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/slicehost/servers.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/balancer.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/balancers.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/config.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/configs.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/image.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/images.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/private_ip.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/private_ips.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/server.rb +74 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/servers.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/stat.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/stats.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/template.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/templates.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/catalog.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/catalog_item.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/catalog_items.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/catalogs.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/ip.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/ips.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/network.rb +65 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/networks.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/server.rb +291 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/servers.rb +58 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/task.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/tasks.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/vdc.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/vcloud/vdcs.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/medium.rb +87 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/medium_format.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/mediums.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/nat_engine.rb +65 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/nat_redirect.rb +91 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/nat_redirects.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/network_adapter.rb +82 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/network_adapters.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/server.rb +241 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/servers.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/storage_controller.rb +83 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/virtual_box/storage_controllers.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/voxel/image.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/voxel/images.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/voxel/server.rb +78 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/voxel/servers.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/new_servers.rb +93 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/ninefold.rb +139 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/allocate_address.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/attach_volume.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/basic.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/cancel_spot_instance_requests.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/create_image.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/create_key_pair.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/create_snapshot.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/create_volume.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/deregister_image.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_addresses.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_availability_zones.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_images.rb +84 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_instances.rb +90 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_key_pairs.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_placement_groups.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_regions.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_reserved_instances.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_reserved_instances_offerings.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_security_groups.rb +100 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_snapshots.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_spot_price_history.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_tags.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/describe_volumes.rb +73 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/detach_volume.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/get_console_output.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/get_password_data.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/import_key_pair.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/monitor_unmonitor_instances.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/purchase_reserved_instances_offering.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/register_image.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/run_instances.rb +82 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/spot_datafeed_subscription.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/spot_instance_requests.rb +67 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/start_stop_instances.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/aws/terminate_instances.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/slicehost/create_slice.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/slicehost/get_backups.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/slicehost/get_flavor.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/slicehost/get_flavors.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/slicehost/get_image.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/slicehost/get_images.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/slicehost/get_slice.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/slicehost/get_slices.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/voxel/basic.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/voxel/devices_list.rb +111 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/voxel/images_list.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/voxel/voxcloud_create.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/voxel/voxcloud_delete.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/parsers/voxel/voxcloud_status.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/rackspace.rb +153 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/allocate_address.rb +53 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/associate_address.rb +67 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/attach_volume.rb +87 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/authorize_security_group_ingress.rb +108 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/cancel_spot_instance_requests.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/create_image.rb +65 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/create_key_pair.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/create_placement_group.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/create_security_group.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/create_snapshot.rb +73 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/create_spot_datafeed_subscription.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/create_tags.rb +84 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/create_volume.rb +87 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/delete_key_pair.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/delete_placement_group.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/delete_security_group.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/delete_snapshot.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/delete_spot_datafeed_subscription.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/delete_tags.rb +87 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/delete_volume.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/deregister_image.rb +53 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_addresses.rb +66 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_availability_zones.rb +88 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_images.rb +133 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_instances.rb +205 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_key_pairs.rb +68 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_placement_groups.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_regions.rb +68 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_reserved_instances.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb +64 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_security_groups.rb +97 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_snapshots.rb +120 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_spot_datafeed_subscription.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_spot_instance_requests.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_spot_price_history.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_tags.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/describe_volumes.rb +117 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/detach_volume.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/disassociate_address.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/get_console_output.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/get_password_data.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/import_key_pair.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/modify_image_attribute.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/modify_instance_attribute.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/modify_snapshot_attribute.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/monitor_instances.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/purchase_reserved_instances_offering.rb +63 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/reboot_instances.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/register_image.rb +134 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/release_address.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/request_spot_instances.rb +83 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/revoke_security_group_ingress.rb +98 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/run_instances.rb +177 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/start_instances.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/stop_instances.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/terminate_instances.rb +96 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/aws/unmonitor_instances.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/bluebox/create_block.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/bluebox/destroy_block.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/bluebox/get_block.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/bluebox/get_blocks.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/bluebox/get_product.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/bluebox/get_products.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/bluebox/get_template.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/bluebox/get_templates.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/bluebox/reboot_block.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/activate_console_server.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/add_listeners_load_balancer.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/add_nodes_load_balancer.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/add_servers_server_group.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/create_api_client.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/create_cloud_ip.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/create_image.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/create_load_balancer.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/create_server.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/create_server_group.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/destroy_api_client.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/destroy_cloud_ip.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/destroy_image.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/destroy_load_balancer.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/destroy_server.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/destroy_server_group.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_account.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_api_client.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_cloud_ip.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_image.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_interface.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_load_balancer.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_server.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_server_group.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_server_type.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_user.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/get_zone.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/list_api_clients.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/list_cloud_ips.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/list_images.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/list_load_balancers.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/list_server_groups.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/list_server_types.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/list_servers.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/list_users.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/list_zones.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/map_cloud_ip.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/move_servers_server_group.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/remove_listeners_load_balancer.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/remove_nodes_load_balancer.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/remove_servers_server_group.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/reset_ftp_password_account.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/resize_server.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/shutdown_server.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/snapshot_server.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/start_server.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/stop_server.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/unmap_cloud_ip.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/update_account.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/update_api_client.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/update_image.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/update_load_balancer.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/update_server.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/update_server_group.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/brightbox/update_user.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/add_backup_internet_service.rb +109 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/add_internet_service.rb +149 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/add_node.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/clone_vapp.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/configure_internet_service.rb +112 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/configure_network.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/configure_network_ip.rb +66 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/configure_node.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/configure_vapp.rb +144 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/delete_internet_service.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/delete_node.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/delete_vapp.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_catalog.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_catalog_item.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_customization_options.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_firewall_acl.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_firewall_acls.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_internet_services.rb +82 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_network.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_network_extensions.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_network_ip.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_network_ips.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_node.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_nodes.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_organization.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_public_ip.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_public_ips.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_task.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_task_list.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_vapp.rb +99 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_vapp_template.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_vdc.rb +84 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/get_versions.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/instantiate_vapp_template.rb +142 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/login.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/power_off.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/power_on.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/power_reset.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ecloud/power_shutdown.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/common_lookup_list.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/grid_image_get.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/grid_image_list.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/grid_ip_list.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/grid_loadbalancer_list.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/grid_server_add.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/grid_server_delete.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/grid_server_get.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/grid_server_list.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/grid_server_power.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/support_password_get.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/go_grid/support_password_list.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/avail_datacenters.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/avail_distributions.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/avail_kernels.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/avail_linodeplans.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/avail_stackscripts.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_boot.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_config_create.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_config_list.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_create.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_delete.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_disk_create.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_disk_createfromdistribution.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_disk_createfromstackscript.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_disk_delete.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_disk_list.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_ip_addprivate.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_ip_list.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_list.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_reboot.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_shutdown.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_update.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/stackscript_list.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/new_servers/add_server.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/new_servers/cancel_server.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/new_servers/get_server.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/new_servers/list_images.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/new_servers/list_plans.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/new_servers/list_servers.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/new_servers/reboot_server.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/associate_ip_address.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/change_service_for_virtual_machine.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/create_ip_forwarding_rule.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/delete_ip_forwarding_rule.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/deploy_virtual_machine.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/destroy_virtual_machine.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/disable_static_nat.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/disassociate_ip_address.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/enable_static_nat.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_accounts.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_async_jobs.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_capabilities.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_disk_offerings.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_events.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_hypervisors.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_ip_forwarding_rules.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_network_offerings.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_networks.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_public_ip_addresses.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_resource_limits.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_service_offerings.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_templates.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_virtual_machines.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/list_zones.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/query_async_job_result.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/reboot_virtual_machine.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/reset_password_for_virtual_machine.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/start_virtual_machine.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/stop_virtual_machine.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/ninefold/update_virtual_machine.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/confirm_resized_server.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/create_image.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/create_server.rb +94 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/delete_image.rb +45 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/delete_server.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/get_flavor_details.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/get_image_details.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/get_server_details.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/list_addresses.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/list_flavors.rb +45 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/list_flavors_detail.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/list_images.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/list_images_detail.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/list_private_addresses.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/list_public_addresses.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/list_servers.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/list_servers_detail.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/reboot_server.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/resize_server.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/revert_resized_server.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/server_action.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/rackspace/update_server.rb +45 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/create_slice.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/delete_slice.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/get_backups.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/get_flavor.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/get_flavors.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/get_image.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/get_images.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/get_slice.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/get_slices.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/reboot_slice.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/add_balancer_node.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/clone_server.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/create_server.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/delete_server.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/get_server.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/get_stats.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/list_balancers.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/list_configs.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/list_images.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/list_private_ips.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/list_servers.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/list_templates.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/reboot_server.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/remove_balancer_node.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/storm_on_demand/resize_server.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/clone_vapp.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/configure_network.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/configure_network_ip.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/configure_node.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/configure_vapp.rb +112 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/configure_vm.rb +247 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/configure_vm_disks.rb +100 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/configure_vm_memory.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/configure_vm_name_description.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/delete_node.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/delete_vapp.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_catalog.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_catalog_item.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_customization_options.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_network.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_network_extensions.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_network_ip.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_network_ips.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_organization.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_task.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_task_list.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_vapp.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_vapp_template.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_vdc.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_vm_disks.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/get_vm_memory.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/instantiate_vapp_template.rb +83 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/login.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/power_off.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/power_on.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/power_reset.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/power_shutdown.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/vcloud/undeploy.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/voxel/devices_list.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/voxel/devices_power.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/voxel/images_list.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/voxel/voxcloud_create.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/voxel/voxcloud_delete.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/voxel/voxcloud_status.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/slicehost.rb +99 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/storm_on_demand.rb +132 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/vcloud.rb +310 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/virtual_box.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/voxel.rb +121 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute.rb +74 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/attributes.rb +204 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/collection.rb +135 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/connection.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/credentials.rb +58 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/current_machine.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/deprecation.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/errors.rb +77 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/hmac.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/json.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/mock.rb +88 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/model.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/parser.rb +103 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/provider.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/scp.rb +63 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/service.rb +175 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/ssh.rb +115 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/time.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/timeout.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/wait_for.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/aws.rb +116 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/bluebox.rb +100 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/dnsimple.rb +92 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/dnsmadeeasy.rb +134 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/dynect.rb +80 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/linode.rb +89 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/aws/record.rb +67 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/aws/records.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/aws/zone.rb +53 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/aws/zones.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/bluebox/record.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/bluebox/records.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/bluebox/zone.rb +64 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/bluebox/zones.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dnsimple/record.rb +67 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dnsimple/records.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dnsimple/zone.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dnsimple/zones.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dnsmadeeasy/record.rb +79 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dnsmadeeasy/records.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dnsmadeeasy/zone.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dnsmadeeasy/zones.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dynect/record.rb +67 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dynect/records.rb +53 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dynect/zone.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/dynect/zones.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/linode/record.rb +72 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/linode/records.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/linode/zone.rb +84 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/linode/zones.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/slicehost/record.rb +69 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/slicehost/records.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/slicehost/zone.rb +69 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/slicehost/zones.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/zerigo/record.rb +68 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/zerigo/records.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/zerigo/zone.rb +88 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/models/zerigo/zones.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/aws/change_resource_record_sets.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/aws/create_hosted_zone.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/aws/delete_hosted_zone.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/aws/get_change.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/aws/get_hosted_zone.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/aws/list_hosted_zones.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/aws/list_resource_record_sets.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/bluebox/create_record.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/bluebox/create_zone.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/bluebox/get_record.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/bluebox/get_records.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/bluebox/get_zone.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/bluebox/get_zones.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/slicehost/create_record.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/slicehost/create_zone.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/slicehost/get_record.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/slicehost/get_records.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/slicehost/get_zone.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/slicehost/get_zones.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/zerigo/count_hosts.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/zerigo/count_zones.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/zerigo/create_host.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/zerigo/create_zone.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/zerigo/find_hosts.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/zerigo/get_host.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/zerigo/get_zone.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/zerigo/get_zone_stats.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/zerigo/list_hosts.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/parsers/zerigo/list_zones.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/aws/change_resource_record_sets.rb +82 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/aws/create_hosted_zone.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/aws/delete_hosted_zone.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/aws/get_change.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/aws/get_hosted_zone.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/aws/list_hosted_zones.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/aws/list_resource_record_sets.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/bluebox/create_record.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/bluebox/create_zone.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/bluebox/delete_record.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/bluebox/delete_zone.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/bluebox/get_record.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/bluebox/get_records.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/bluebox/get_zone.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/bluebox/get_zones.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/bluebox/update_record.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/bluebox/update_zone.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/create_domain.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/create_record.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/delete_domain.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/delete_record.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/get_domain.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/get_record.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/list_domains.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/list_records.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/update_record.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/create_domain.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/create_record.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/create_secondary.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/delete_all_domains.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/delete_all_secondary.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/delete_domain.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/delete_record.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/delete_secondary.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/get_domain.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/get_record.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/get_secondary.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/list_domains.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/list_records.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/list_secondary.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/update_record.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsmadeeasy/update_secondary.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dynect/delete_record.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dynect/delete_zone.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dynect/get_node_list.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dynect/get_record.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dynect/get_zone.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dynect/post_record.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dynect/post_session.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dynect/post_zone.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dynect/put_zone.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/linode/domain_create.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/linode/domain_delete.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/linode/domain_list.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/linode/domain_resource_create.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/linode/domain_resource_delete.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/linode/domain_resource_list.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/linode/domain_resource_update.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/linode/domain_update.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/slicehost/create_record.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/slicehost/create_zone.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/slicehost/delete_record.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/slicehost/delete_zone.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/slicehost/get_record.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/slicehost/get_records.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/slicehost/get_zone.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/slicehost/get_zones.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/count_hosts.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/count_zones.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/create_host.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/create_zone.rb +89 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/delete_host.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/delete_zone.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/find_hosts.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/get_host.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/get_zone.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/get_zone_stats.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/list_hosts.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/list_zones.rb +45 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/update_host.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/zerigo/update_zone.rb +70 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/slicehost.rb +95 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns/zerigo.rb +104 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/dns.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/aws.rb +197 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/bluebox.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/brightbox.rb +9 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/dnsimple.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/dnsmadeeasy.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/dynect.rb +14 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/ecloud.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/go_grid.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/google.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/linode.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/local.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/new_servers.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/ninefold.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/rackspace.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/slicehost.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/storm_on_demand.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/vcloud.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/virtual_box.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/voxel.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers/zerigo.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/load_balancers.rb +179 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/load_balancers/access_rule.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/load_balancers/access_rules.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/load_balancers/load_balancer.rb +216 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/load_balancers/load_balancers.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/load_balancers/node.rb +58 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/load_balancers/nodes.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/load_balancers/virtual_ip.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/load_balancers/virtual_ips.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/create_access_rule.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/create_load_balancer.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/create_node.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/create_virtual_ip.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/delete_access_rule.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/delete_all_access_rules.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/delete_load_balancer.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/delete_node.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/delete_nodes.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/delete_virtual_ip.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/get_connection_logging.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/get_connection_throttling.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/get_load_balancer.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/get_load_balancer_usage.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/get_monitor.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/get_node.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/get_session_persistence.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/get_usage.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/list_access_rules.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/list_algorithms.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/list_load_balancers.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/list_nodes.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/list_protocols.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/list_virtual_ips.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/remove_connection_throttling.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/remove_monitor.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/remove_session_persistence.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/set_connection_logging.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/set_connection_throttling.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/set_monitor.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/set_session_persistence.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/update_load_balancer.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/update_node.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/aws.rb +376 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/google.rb +269 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/local.rb +68 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/aws/directories.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/aws/directory.rb +98 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/aws/file.rb +141 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/aws/files.rb +117 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/google/directories.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/google/directory.rb +78 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/google/file.rb +141 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/google/files.rb +103 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/ninefold/directories.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/ninefold/directory.rb +53 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/ninefold/file.rb +98 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/ninefold/files.rb +72 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/rackspace/directories.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/rackspace/directory.rb +76 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/rackspace/file.rb +75 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/models/rackspace/files.rb +94 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/ninefold.rb +149 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/access_control_list.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/complete_multipart_upload.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/copy_object.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/get_bucket.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/get_bucket_location.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/get_bucket_logging.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/get_bucket_object_versions.rb +88 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/get_bucket_versioning.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/get_bucket_website.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/get_request_payment.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/get_service.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/initiate_multipart_upload.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/list_multipart_uploads.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/aws/list_parts.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/google/access_control_list.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/google/copy_object.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/google/get_bucket.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/google/get_bucket_logging.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/google/get_bucket_object_versions.rb +88 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/google/get_bucket_versioning.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/google/get_request_payment.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/parsers/google/get_service.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/rackspace.rb +126 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/abort_multipart_upload.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/complete_multipart_upload.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/copy_object.rb +76 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/delete_bucket.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/delete_bucket_policy.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/delete_bucket_website.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/delete_object.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_bucket.rb +114 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_bucket_acl.rb +66 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_bucket_location.rb +61 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_bucket_logging.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_bucket_object_versions.rb +75 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_bucket_policy.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_bucket_versioning.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_bucket_website.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_object.rb +118 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_object_acl.rb +77 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_object_http_url.rb +51 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_object_https_url.rb +51 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_object_torrent.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_object_url.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_request_payment.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/get_service.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/head_object.rb +68 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/initiate_multipart_upload.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/list_multipart_uploads.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/list_parts.rb +59 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/post_object_hidden_fields.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/put_bucket.rb +77 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/put_bucket_acl.rb +76 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/put_bucket_logging.rb +83 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/put_bucket_policy.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/put_bucket_versioning.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/put_bucket_website.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/put_object.rb +100 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/put_object_acl.rb +85 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/put_object_url.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/put_request_payment.rb +51 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/sync_clock.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/aws/upload_part.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/copy_object.rb +72 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/delete_bucket.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/delete_object.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/get_bucket.rb +111 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/get_bucket_acl.rb +63 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/get_object.rb +104 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/get_object_acl.rb +74 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/get_object_http_url.rb +51 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/get_object_https_url.rb +51 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/get_object_torrent.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/get_object_url.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/get_service.rb +53 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/head_object.rb +64 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/put_bucket.rb +75 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/put_bucket_acl.rb +73 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/put_object.rb +94 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/google/put_object_url.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/ninefold/delete_namespace.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/ninefold/get_namespace.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/ninefold/post_namespace.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/ninefold/put_namespace.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/delete_container.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/delete_object.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/get_container.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/get_containers.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/get_object.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/head_container.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/head_containers.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/head_object.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/put_container.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/put_object.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage/requests/rackspace/put_object_manifest.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/storage.rb +81 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/models/shared/address.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/models/shared/addresses.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/models/shared/network.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/models/shared/networks.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/models/shared/server.rb +110 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/models/shared/servers.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/models/shared/task.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/models/shared/tasks.rb +58 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/models/shared/vdc.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/models/shared/vdcs.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parser.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_catalog.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_catalog_item.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_internet_services.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_network_ips.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_node_services.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_organization.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_organizations.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_public_ips.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_tasks_list.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_vapp_template.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/get_vdc.rb +123 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/instantiate_vapp_template.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/internet_service.rb +65 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/network.rb +51 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/node_service.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/public_ip.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/task.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/parsers/shared/vapp.rb +77 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/add_internet_service.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/add_node_service.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/create_internet_service.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/delete_internet_service.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/delete_node_service.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/delete_public_ip.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/delete_vapp.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/deploy_vapp.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_catalog.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_catalog_item.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_internet_services.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_network.rb +73 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_network_ips.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_node_services.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_organization.rb +86 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_organizations.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_public_ip.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_public_ips.rb +72 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_task.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_tasks_list.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_vapp.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_vapp_template.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_vdc.rb +125 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/instantiate_vapp_template.rb +71 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/power_off.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/power_on.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/power_reset.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/power_shutdown.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/shared.rb +293 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark/vcloud.rb +127 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/terremark.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog.rb +18 -0
- data/lib/brightbox-cli/vendor/fog/spec/core/current_machine_spec.rb +22 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/bin_spec.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/backup_internet_service_spec.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/backup_internet_services_spec.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/internet_service_spec.rb +104 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/internet_services_spec.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/ip_spec.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/ips_spec.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/network_spec.rb +71 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/networks_spec.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/node_spec.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/nodes_spec.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/public_ip_spec.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/public_ips_spec.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/server_spec.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/vdc_spec.rb +63 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/models/vdcs_spec.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/add_backup_internet_service_spec.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/add_internet_service_spec.rb +65 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/add_node_spec.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/configure_internet_service_spec.rb +61 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/configure_network_ip_spec.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/configure_node_spec.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/configure_vapp_spec.rb +71 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/delete_internet_service_spec.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/delete_node_spec.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/delete_vapp_spec.rb +92 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_catalog_item_spec.rb +62 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_catalog_spec.rb +44 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_customization_options_spec.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_internet_services_spec.rb +150 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_network_ip_spec.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_network_ips_spec.rb +58 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_network_spec.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_node_spec.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_nodes_spec.rb +58 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_organization_spec.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_public_ip_spec.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_public_ips_spec.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_vapp_spec.rb +125 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_vdc_spec.rb +112 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/get_versions_spec.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/instantiate_vapp_template_spec.rb +95 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/login_spec.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/power_off_spec.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/requests/power_on_spec.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/spec_helper.rb +387 -0
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/vcloud_spec.rb +18 -0
- data/lib/brightbox-cli/vendor/fog/spec/spec_helper.rb +8 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/auto_scaling/activities_tests.rb +6 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/auto_scaling/configuration_test.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/auto_scaling/configurations_tests.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/auto_scaling/helper.rb +0 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/auto_scaling/instances_tests.rb +6 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/cloud_watch/metric_statistics_tests.rb +51 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/cloud_watch/metrics_tests.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/elb/model_tests.rb +251 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/rds/helper.rb +5 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/rds/parameter_group_tests.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/rds/parameter_groups_tests.rb +8 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/rds/security_group_tests.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/rds/security_groups_tests.rb +6 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/rds/server_tests.rb +104 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/rds/servers_tests.rb +8 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/rds/snapshot_tests.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/rds/snapshots_tests.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/auto_scaling/auto_scaling_tests.rb +80 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/auto_scaling/helper.rb +185 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/auto_scaling/model_tests.rb +235 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/cloud_formation/stack_tests.rb +143 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/cloud_watch/get_metric_statistics_tests.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/cloud_watch/list_metrics_test.rb +64 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/cloud_watch/put_metric_data_tests.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/elb/helper.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/elb/listener_tests.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/elb/load_balancer_tests.rb +61 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/elb/policy_tests.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/access_key_tests.rb +60 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/group_policy_tests.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/group_tests.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/helper.rb +85 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/login_profile_tests.rb +64 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/server_certificate_tests.rb +69 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/user_policy_tests.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/user_tests.rb +65 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/rds/helper.rb +170 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/rds/instance_tests.rb +128 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/rds/parameter_group_tests.rb +68 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/rds/parameter_request_tests.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/ses/helper.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/ses/verified_email_address_tests.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/simpledb/attributes_tests.rb +86 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/simpledb/domain_tests.rb +51 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/simpledb/helper.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/sns/helper.rb +9 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/sns/subscription_tests.rb +86 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/sns/topic_tests.rb +50 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/sqs/helper.rb +15 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/sqs/message_tests.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/sqs/queue_tests.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/signed_params_tests.rb +5 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/helper.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/address_tests.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/addresses_tests.rb +5 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/key_pair_tests.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/key_pairs_tests.rb +5 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/security_group_tests.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/security_groups_tests.rb +5 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/server_tests.rb +61 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/snapshot_tests.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/snapshots_tests.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/volume_tests.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/aws/volumes_tests.rb +5 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/flavors_tests.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/server_tests.rb +20 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/servers_tests.rb +9 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/vcloud/helper.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/models/vcloud/servers_tests.rb +95 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/parsers/aws/monitor_unmonitor_instances_tests.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/address_tests.rb +76 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/availability_zone_tests.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/helper.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/image_tests.rb +68 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/instance_tests.rb +233 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/key_pair_tests.rb +67 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/placement_group_tests.rb +48 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/region_tests.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/security_group_tests.rb +142 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/snapshot_tests.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/spot_datafeed_subscription_tests.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/spot_instance_tests.rb +53 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/spot_price_history_tests.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/tag_tests.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/volume_tests.rb +122 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/bluebox/block_tests.rb +81 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/bluebox/helper.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/bluebox/product_tests.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/bluebox/template_tests.rb +35 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/account_tests.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/api_client_tests.rb +53 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/cloud_ip_tests.rb +71 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/helper.rb +471 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/image_tests.rb +57 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/interface_tests.rb +30 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/load_balancer_tests.rb +74 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/server_group_tests.rb +89 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/server_tests.rb +75 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/server_type_tests.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/user_tests.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/brightbox/zone_tests.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/go_grid/image_tests.rb +0 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/linode/datacenter_tests.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/linode/distribution_tests.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/linode/helper.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/linode/kernel_tests.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/linode/linode_tests.rb +143 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/linode/linodeplans_tests.rb +39 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/linode/stackscripts_tests.rb +36 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/ninefold/address_tests.rb +42 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/ninefold/async_job_tests.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/ninefold/helper.rb +320 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/ninefold/list_tests.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/ninefold/nat_tests.rb +92 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/ninefold/network_tests.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/ninefold/template_tests.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/ninefold/virtual_machine_tests.rb +69 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/rackspace/address_tests.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/rackspace/flavor_tests.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/rackspace/helper.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/rackspace/image_tests.rb +68 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/rackspace/resize_tests.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/rackspace/server_tests.rb +92 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/slicehost/backup_tests.rb +18 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/slicehost/flavor_tests.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/slicehost/image_tests.rb +31 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/slicehost/slice_tests.rb +75 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/storm_on_demand/server_tests.rb +64 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/vcloud/disk_configure_tests.rb +114 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/voxel/image_tests.rb +52 -0
- data/lib/brightbox-cli/vendor/fog/tests/compute/requests/voxel/server_tests.rb +123 -0
- data/lib/brightbox-cli/vendor/fog/tests/core/attribute_tests.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/tests/core/credential_tests.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/tests/core/parser_tests.rb +67 -0
- data/lib/brightbox-cli/vendor/fog/tests/core/timeout_tests.rb +10 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/helper.rb +49 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/models/record_tests.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/models/records_tests.rb +28 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/models/zone_tests.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/models/zones_tests.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/requests/aws/dns_tests.rb +276 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/requests/bluebox/dns_tests.rb +259 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/requests/dnsimple/dns_tests.rb +118 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/requests/dnsmadeeasy/dns_tests.rb +138 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/requests/dynect/dns_tests.rb +132 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/requests/linode/dns_tests.rb +250 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/requests/slicehost/dns_tests.rb +267 -0
- data/lib/brightbox-cli/vendor/fog/tests/dns/requests/zerigo/dns_tests.rb +373 -0
- data/lib/brightbox-cli/vendor/fog/tests/helper.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/tests/helpers/collection_helper.rb +54 -0
- data/lib/brightbox-cli/vendor/fog/tests/helpers/compute/flavors_helper.rb +34 -0
- data/lib/brightbox-cli/vendor/fog/tests/helpers/compute/server_helper.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/tests/helpers/compute/servers_helper.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/tests/helpers/formats_helper.rb +76 -0
- data/lib/brightbox-cli/vendor/fog/tests/helpers/formats_helper_tests.rb +43 -0
- data/lib/brightbox-cli/vendor/fog/tests/helpers/mock_helper.rb +55 -0
- data/lib/brightbox-cli/vendor/fog/tests/helpers/model_helper.rb +38 -0
- data/lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/tests/helpers/succeeds_helper.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/tests/lorem.txt +1 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/helper.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/load_balancer_tests.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/access_list_tests.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/access_lists_tests.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/load_balancer_tests.rb +116 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/load_balancers_tests.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/node_tests.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/nodes_tests.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/virtual_ip_tests.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/virtual_ips_tests.rb +12 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/access_list_tests.rb +56 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/algorithm_tests.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/connection_logging_tests.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/connection_throttling_tests.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/helper.rb +112 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/load_balancer_tests.rb +63 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/load_balancer_usage_tests.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/monitor_tests.rb +46 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/node_tests.rb +87 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/protocol_tests.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/session_persistence_tests.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/usage_tests.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/virtual_ip_tests.rb +40 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/helper.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/models/directories_tests.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/models/directory_test.rb +29 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/models/file_tests.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/models/files_tests.rb +26 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/models/ninefold/file_update_tests.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/models/ninefold/nested_directories_tests.rb +23 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/requests/aws/bucket_tests.rb +167 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/requests/aws/multipart_upload_tests.rb +132 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/requests/aws/object_tests.rb +81 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/requests/google/bucket_tests.rb +78 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/requests/google/object_tests.rb +81 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/requests/rackspace/container_tests.rb +64 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/requests/rackspace/large_object_tests.rb +47 -0
- data/lib/brightbox-cli/vendor/fog/tests/storage/requests/rackspace/object_tests.rb +78 -0
- data/lib/brightbox-cli/vendor/gli/.gitignore +10 -0
- data/lib/brightbox-cli/vendor/gli/.rvmrc +1 -0
- data/lib/brightbox-cli/vendor/gli/Gemfile +5 -0
- data/lib/brightbox-cli/vendor/gli/LICENSE.txt +201 -0
- data/lib/brightbox-cli/vendor/gli/README.rdoc +54 -0
- data/lib/brightbox-cli/vendor/gli/Rakefile +84 -0
- data/lib/brightbox-cli/vendor/gli/bin/gli +72 -0
- data/lib/brightbox-cli/vendor/gli/bin/report_on_rake_results +10 -0
- data/lib/brightbox-cli/vendor/gli/bin/test_all_rubies.sh +2 -0
- data/lib/brightbox-cli/vendor/gli/features/gli_executable.feature +88 -0
- data/lib/brightbox-cli/vendor/gli/features/gli_init.feature +122 -0
- data/lib/brightbox-cli/vendor/gli/features/step_definitions/gli_executable_steps.rb +12 -0
- data/lib/brightbox-cli/vendor/gli/features/step_definitions/gli_init_steps.rb +4 -0
- data/lib/brightbox-cli/vendor/gli/features/support/env.rb +21 -0
- data/lib/brightbox-cli/vendor/gli/gli.cheat +80 -0
- data/lib/brightbox-cli/vendor/gli/gli.gemspec +46 -0
- data/lib/brightbox-cli/vendor/gli/gli.rdoc +51 -0
- data/lib/brightbox-cli/vendor/gli/lib/gli/command.rb +124 -0
- data/lib/brightbox-cli/vendor/gli/lib/gli/command_line_token.rb +58 -0
- data/lib/brightbox-cli/vendor/gli/lib/gli/copy_options_to_aliases.rb +33 -0
- data/lib/brightbox-cli/vendor/gli/lib/gli/exceptions.rb +45 -0
- data/lib/brightbox-cli/vendor/gli/lib/gli/flag.rb +67 -0
- data/lib/brightbox-cli/vendor/gli/lib/gli/options.rb +19 -0
- data/lib/brightbox-cli/vendor/gli/lib/gli/switch.rb +63 -0
- data/lib/brightbox-cli/vendor/gli/lib/gli/terminal.rb +79 -0
- data/lib/brightbox-cli/vendor/gli/lib/gli.rb +560 -0
- data/lib/brightbox-cli/vendor/gli/lib/gli_version.rb +3 -0
- data/lib/brightbox-cli/vendor/gli/lib/support/help.rb +180 -0
- data/lib/brightbox-cli/vendor/gli/lib/support/initconfig.rb +34 -0
- data/lib/brightbox-cli/vendor/gli/lib/support/rdoc.rb +119 -0
- data/lib/brightbox-cli/vendor/gli/lib/support/scaffold.rb +284 -0
- data/lib/brightbox-cli/vendor/gli/test/config.yaml +9 -0
- data/lib/brightbox-cli/vendor/gli/test/gli.reek +116 -0
- data/lib/brightbox-cli/vendor/gli/test/roodi.yaml +9 -0
- data/lib/brightbox-cli/vendor/gli/test/tc_command.rb +329 -0
- data/lib/brightbox-cli/vendor/gli/test/tc_flag.rb +67 -0
- data/lib/brightbox-cli/vendor/gli/test/tc_gli.rb +429 -0
- data/lib/brightbox-cli/vendor/gli/test/tc_options.rb +31 -0
- data/lib/brightbox-cli/vendor/gli/test/tc_parsing.rb +279 -0
- data/lib/brightbox-cli/vendor/gli/test/tc_switch.rb +80 -0
- data/lib/brightbox-cli/vendor/gli/test/tc_terminal.rb +91 -0
- data/lib/brightbox-cli/version.rb +3 -0
- data/lib/brightbox-cli/zones.rb +27 -0
- data/lib/brightbox_cli.rb +38 -0
- data/spec/brightbox/config.example +7 -0
- data/spec/fixtures/vcr_cassettes/server_list.yml +174 -0
- data/spec/servers_spec.rb +36 -0
- data/spec/spec_helper.rb +27 -0
- data/spec/support/common_helpers.rb +47 -0
- data/tools/bash_completion_script +153 -0
- metadata +2016 -0
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'gli/command_line_token.rb'
|
2
|
+
|
3
|
+
module GLI
|
4
|
+
# Defines a command line switch
|
5
|
+
class Switch < CommandLineToken #:nodoc:
|
6
|
+
|
7
|
+
def initialize(names,description,long_desc=nil)
|
8
|
+
super(names,description,long_desc)
|
9
|
+
@default_value = false
|
10
|
+
end
|
11
|
+
|
12
|
+
# Given the argument list, scans it looking for this switch
|
13
|
+
# returning true if it's in the argumennt list (and removing it from the argument list)
|
14
|
+
def get_value!(args)
|
15
|
+
idx = -1
|
16
|
+
args.each_index do |index|
|
17
|
+
result = find_me(args[index])
|
18
|
+
if result[0]
|
19
|
+
if result[1]
|
20
|
+
args[index] = result[1]
|
21
|
+
else
|
22
|
+
args.delete_at index
|
23
|
+
end
|
24
|
+
return result[0]
|
25
|
+
end
|
26
|
+
end
|
27
|
+
@default_value
|
28
|
+
end
|
29
|
+
|
30
|
+
# Used only to configure what's returned if we do not detect this switch on the command line
|
31
|
+
# This allows the configuration file to set a switch as always on
|
32
|
+
def default_value=(default)
|
33
|
+
@default_value = default
|
34
|
+
end
|
35
|
+
|
36
|
+
# Finds the switch in the given arg, returning the arg to keep.
|
37
|
+
# Returns an array of size 2:
|
38
|
+
# index 0:: true or false if the arg was found
|
39
|
+
# index 1:: the remaining arg to keep in the command line or nil to remove it
|
40
|
+
def find_me(arg)
|
41
|
+
if @names[arg]
|
42
|
+
return [true,nil]
|
43
|
+
end
|
44
|
+
@names.keys.each() do |name|
|
45
|
+
if name =~ /^-(\w)$/
|
46
|
+
match_string = "^\\-(\\w*)#{$1}(\\w*)$"
|
47
|
+
match_data = arg.match(match_string)
|
48
|
+
if match_data
|
49
|
+
# Note that if [1] and [2] were both empty
|
50
|
+
# we'd have returned above
|
51
|
+
return [true, "-" + match_data[1] + match_data[2]]
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
[false]
|
56
|
+
end
|
57
|
+
|
58
|
+
def self.name_as_string(name)
|
59
|
+
string = name.to_s
|
60
|
+
string.length == 1 ? "-#{string}" : "--#{string}"
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
module GLI
|
2
|
+
# Class to encapsulate stuff about the terminal. This is useful to application developers
|
3
|
+
# as a canonical means to get information about the user's current terminal configuraiton.
|
4
|
+
# GLI uses this to determine the number of columns to use when printing to the screen.
|
5
|
+
#
|
6
|
+
# To access it, use Terminal#instance. This is a singleton mostly to facilitate testing, but
|
7
|
+
# it seems reasonable enough, since there's only one terminal in effect
|
8
|
+
#
|
9
|
+
# Example:
|
10
|
+
#
|
11
|
+
# Terminal.instance.size[0] # => columns in the terminal
|
12
|
+
# Terminal.default_size = [128,24] # => change default when we can't figure it out
|
13
|
+
# raise "no ls?!?!?" unless Terminal.instance.command_exists?("ls")
|
14
|
+
#
|
15
|
+
class Terminal
|
16
|
+
|
17
|
+
@@default_size = [80,24]
|
18
|
+
|
19
|
+
# Get the default size of the terminal when we can't figure it out
|
20
|
+
#
|
21
|
+
# Returns an array of int [cols,rows]
|
22
|
+
def self.default_size
|
23
|
+
@@default_size
|
24
|
+
end
|
25
|
+
|
26
|
+
# Set the default size of the terminal to use when we can't figure it out
|
27
|
+
#
|
28
|
+
# +size+:: array of two int [cols,rows]
|
29
|
+
def self.default_size=(size)
|
30
|
+
@@default_size = size
|
31
|
+
end
|
32
|
+
|
33
|
+
# Provide access to the shared instance.
|
34
|
+
def self.instance; @@instance ||= Terminal.new; end
|
35
|
+
|
36
|
+
# Call this to cause methods to throw exceptions rather than return a sane default. You
|
37
|
+
# probably don't want to call this unless you are writing tests
|
38
|
+
def make_unsafe!
|
39
|
+
@unsafe = true
|
40
|
+
end
|
41
|
+
|
42
|
+
# Returns true if the given command exists on this system
|
43
|
+
#
|
44
|
+
# +command+:: The command, as a String, to check for, without any path information.
|
45
|
+
def command_exists?(command)
|
46
|
+
ENV['PATH'].split(File::PATH_SEPARATOR).any? {|dir| File.exists? File.join(dir, command) }
|
47
|
+
end
|
48
|
+
|
49
|
+
# Get the size of the current terminal.
|
50
|
+
# Ripped from hirb[https://github.com/cldwalker/hirb/blob/master/lib/hirb/util.rb]
|
51
|
+
#
|
52
|
+
# Returns an Array of size two Ints representing the terminal width and height
|
53
|
+
def size
|
54
|
+
if (ENV['COLUMNS'] =~ /^\d+$/) && (ENV['LINES'] =~ /^\d+$/)
|
55
|
+
[ENV['COLUMNS'].to_i, ENV['LINES'].to_i]
|
56
|
+
elsif (jruby? || (!STDIN.tty? && ENV['TERM'])) && command_exists?('tput')
|
57
|
+
[run_command('tput cols').to_i, run_command('tput lines').to_i]
|
58
|
+
elsif STDIN.tty? && command_exists?('stty')
|
59
|
+
run_command('stty size').scan(/\d+/).map { |size_element| size_element.to_i }.reverse
|
60
|
+
else
|
61
|
+
Terminal.default_size
|
62
|
+
end
|
63
|
+
rescue Exception => ex
|
64
|
+
raise ex if @unsafe
|
65
|
+
Terminal.default_size
|
66
|
+
end
|
67
|
+
|
68
|
+
private
|
69
|
+
|
70
|
+
# Runs a command using backticks. Extracted to allow for testing
|
71
|
+
def run_command(command)
|
72
|
+
`#{command}`
|
73
|
+
end
|
74
|
+
|
75
|
+
# True if we are JRuby; exposed to allow for testing
|
76
|
+
def jruby?; RUBY_PLATFORM =~ /java/; end
|
77
|
+
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,560 @@
|
|
1
|
+
require 'gli/command.rb'
|
2
|
+
require 'gli/command_line_token.rb'
|
3
|
+
require 'gli/copy_options_to_aliases.rb'
|
4
|
+
require 'gli/exceptions.rb'
|
5
|
+
require 'gli/flag.rb'
|
6
|
+
require 'gli/options.rb'
|
7
|
+
require 'gli/switch.rb'
|
8
|
+
require 'gli_version.rb'
|
9
|
+
require 'support/help.rb'
|
10
|
+
require 'support/rdoc.rb'
|
11
|
+
require 'support/initconfig.rb'
|
12
|
+
require 'etc'
|
13
|
+
|
14
|
+
# A means to define and parse a command line interface that works as
|
15
|
+
# Git's does, in that you specify global options, a command name, command
|
16
|
+
# specific options, and then command arguments.
|
17
|
+
module GLI
|
18
|
+
extend self
|
19
|
+
include CopyOptionsToAliases
|
20
|
+
|
21
|
+
@@program_name = $0.split(/\//)[-1]
|
22
|
+
@@post_block = nil
|
23
|
+
@@pre_block = nil
|
24
|
+
@@error_block = nil
|
25
|
+
@@config_file = nil
|
26
|
+
@@use_openstruct = false
|
27
|
+
@@version = nil
|
28
|
+
@@stderr = $stderr
|
29
|
+
@@program_desc = nil
|
30
|
+
@@skips_pre = false
|
31
|
+
@@skips_post = false
|
32
|
+
|
33
|
+
# Override the device of stderr; exposed only for testing
|
34
|
+
def error_device=(e) #:nodoc:
|
35
|
+
@@stderr = e
|
36
|
+
end
|
37
|
+
|
38
|
+
# Reset the GLI module internal data structures; mostly useful for testing
|
39
|
+
def reset # :nodoc:
|
40
|
+
switches.clear
|
41
|
+
flags.clear
|
42
|
+
commands.clear
|
43
|
+
@@version = nil
|
44
|
+
@@config_file = nil
|
45
|
+
@@use_openstruct = false
|
46
|
+
@@prog_desc = nil
|
47
|
+
clear_nexts
|
48
|
+
end
|
49
|
+
|
50
|
+
# Describe the next switch, flag, or command. This should be a
|
51
|
+
# short, one-line description
|
52
|
+
#
|
53
|
+
# +description+:: A String of the short descripiton of the switch, flag, or command following
|
54
|
+
def desc(description); @@next_desc = description; end
|
55
|
+
|
56
|
+
# Describe the overall application/programm. This should be a one-sentence summary
|
57
|
+
# of what your program does that will appear in the help output.
|
58
|
+
#
|
59
|
+
# +description+:: A String of the short description of your program's purpose
|
60
|
+
def program_desc(description=nil)
|
61
|
+
if description
|
62
|
+
@@program_desc = description
|
63
|
+
end
|
64
|
+
@@program_desc
|
65
|
+
end
|
66
|
+
|
67
|
+
# Use this if the following command should not have the pre block executed.
|
68
|
+
# By default, the pre block is executed before each command and can result in
|
69
|
+
# aborting the call. Using this will avoid that behavior for the following command
|
70
|
+
def skips_pre
|
71
|
+
@@skips_pre = true
|
72
|
+
end
|
73
|
+
|
74
|
+
# Use this if the following command should not have the post block executed.
|
75
|
+
# By default, the post block is executed after each command.
|
76
|
+
# Using this will avoid that behavior for the following command
|
77
|
+
def skips_post
|
78
|
+
@@skips_post = true
|
79
|
+
end
|
80
|
+
|
81
|
+
# Provide a longer, more detailed description. This
|
82
|
+
# will be reformatted and wrapped to fit in the terminal's columns
|
83
|
+
#
|
84
|
+
# +long_desc+:: A String that is s longer description of the switch, flag, or command following.
|
85
|
+
def long_desc(long_desc); @@next_long_desc = long_desc; end
|
86
|
+
|
87
|
+
# Describe the argument name of the next flag. It's important to keep
|
88
|
+
# this VERY short and, ideally, without any spaces (see Example).
|
89
|
+
#
|
90
|
+
# +name+:: A String that *briefly* describes the argument given to the following command or flag.
|
91
|
+
#
|
92
|
+
# Example:
|
93
|
+
# desc 'Set the filename'
|
94
|
+
# arg_name 'file_name'
|
95
|
+
# flag [:f,:filename]
|
96
|
+
#
|
97
|
+
# Produces:
|
98
|
+
# -f, --filename=file_name Set the filename
|
99
|
+
def arg_name(name); @@next_arg_name = name; end
|
100
|
+
|
101
|
+
# set the default value of the next flag
|
102
|
+
#
|
103
|
+
# +val+:: A String reprensenting the default value to be used for the following flag if the user doesn't specify one
|
104
|
+
# and, when using a config file, the config also doesn't specify one
|
105
|
+
def default_value(val); @@next_default_value = val; end
|
106
|
+
|
107
|
+
# Create a flag, which is a switch that takes an argument
|
108
|
+
#
|
109
|
+
# +names+:: a String or Symbol, or an Array of String or Symbol that represent all the different names
|
110
|
+
# and aliases for this flag.
|
111
|
+
#
|
112
|
+
# Example:
|
113
|
+
#
|
114
|
+
# desc 'Set the filename'
|
115
|
+
# flag [:f,:filename,'file-name']
|
116
|
+
#
|
117
|
+
# Produces:
|
118
|
+
#
|
119
|
+
# -f, --filename, --file-name=arg Set the filename
|
120
|
+
def flag(*names)
|
121
|
+
names = [names].flatten
|
122
|
+
verify_unused(names,flags,switches,"in global options")
|
123
|
+
flag = Flag.new(names,@@next_desc,@@next_arg_name,@@next_default_value,@@next_long_desc)
|
124
|
+
flags[flag.name] = flag
|
125
|
+
clear_nexts
|
126
|
+
end
|
127
|
+
|
128
|
+
# Create a switch, which is a command line flag that takes no arguments (thus, it _switches_ something on)
|
129
|
+
#
|
130
|
+
# +names+:: a String or Symbol, or an Array of String or Symbol that represent all the different names
|
131
|
+
# and aliases for this switch.
|
132
|
+
def switch(*names)
|
133
|
+
names = [names].flatten
|
134
|
+
verify_unused(names,flags,switches,"in global options")
|
135
|
+
switch = Switch.new(names,@@next_desc,@@next_long_desc)
|
136
|
+
switches[switch.name] = switch
|
137
|
+
clear_nexts
|
138
|
+
end
|
139
|
+
|
140
|
+
# Sets that this app uses a config file as well as the name of the config file.
|
141
|
+
#
|
142
|
+
# +filename+:: A String representing the path to the file to use for the config file. If it's an absolute
|
143
|
+
# path, this is treated as the path to the file. If it's *not*, it's treated as relative to the user's home
|
144
|
+
# directory as produced by <code>Etc.getpwuid.dir</code>.
|
145
|
+
def config_file(filename)
|
146
|
+
if filename =~ /^\//
|
147
|
+
@@config_file = filename
|
148
|
+
else
|
149
|
+
@@config_file = Etc.getpwuid.dir + '/' + filename
|
150
|
+
end
|
151
|
+
commands[:initconfig] = InitConfig.new(@@config_file)
|
152
|
+
@@config_file
|
153
|
+
end
|
154
|
+
|
155
|
+
# Define a new command. This takes a block that will be given an instance of the Command that was created.
|
156
|
+
# You then may call methods on this object to define aspects of that Command.
|
157
|
+
#
|
158
|
+
# +names+:: a String or Symbol, or an Array of String or Symbol that represent all the different names and aliases for this command.
|
159
|
+
#
|
160
|
+
def command(*names)
|
161
|
+
command = Command.new([names].flatten,@@next_desc,@@next_arg_name,@@next_long_desc,@@skips_pre,@@skips_post)
|
162
|
+
commands[command.name] = command
|
163
|
+
yield command
|
164
|
+
clear_nexts
|
165
|
+
end
|
166
|
+
|
167
|
+
# Define a block to run after command line arguments are parsed
|
168
|
+
# but before any command is run. If this block raises an exception
|
169
|
+
# the command specified will not be executed.
|
170
|
+
# The block will receive the global-options,command,options, and arguments
|
171
|
+
# If this block evaluates to true, the program will proceed; otherwise
|
172
|
+
# the program will end immediately
|
173
|
+
def pre(&a_proc)
|
174
|
+
@@pre_block = a_proc
|
175
|
+
end
|
176
|
+
|
177
|
+
# Define a block to run after the command was executed, <b>only
|
178
|
+
# if there was not an error</b>.
|
179
|
+
# The block will receive the global-options,command,options, and arguments
|
180
|
+
def post(&a_proc)
|
181
|
+
@@post_block = a_proc
|
182
|
+
end
|
183
|
+
|
184
|
+
# Define a block to run if an error occurs.
|
185
|
+
# The block will receive any Exception that was caught.
|
186
|
+
# It should evaluate to false to avoid the built-in error handling (which basically just
|
187
|
+
# prints out a message). GLI uses a variety of exceptions that you can use to find out what
|
188
|
+
# errors might've occurred during command-line parsing:
|
189
|
+
# * GLI::CustomExit
|
190
|
+
# * GLI::UnknownCommandArgument
|
191
|
+
# * GLI::UnknownGlobalArgument
|
192
|
+
# * GLI::UnknownCommand
|
193
|
+
# * GLI::BadCommandLine
|
194
|
+
def on_error(&a_proc)
|
195
|
+
@@error_block = a_proc
|
196
|
+
end
|
197
|
+
|
198
|
+
# Indicate the version of your application
|
199
|
+
#
|
200
|
+
# +version+:: String containing the version of your application.
|
201
|
+
def version(version)
|
202
|
+
@@version = version
|
203
|
+
end
|
204
|
+
|
205
|
+
# Call this with +true+ will cause the +global_options+ and
|
206
|
+
# +options+ passed to your code to be wrapped in
|
207
|
+
# Options, which is a subclass of +OpenStruct+ that adds
|
208
|
+
# <tt>[]</tt> and <tt>[]=</tt> methods.
|
209
|
+
#
|
210
|
+
# +use_openstruct+:: a Boolean indicating if we should use OpenStruct instead of Hashes
|
211
|
+
def use_openstruct(use_openstruct)
|
212
|
+
@@use_openstruct = use_openstruct
|
213
|
+
end
|
214
|
+
|
215
|
+
# Runs whatever command is needed based on the arguments.
|
216
|
+
#
|
217
|
+
# +args+:: the command line ARGV array
|
218
|
+
#
|
219
|
+
# Returns a number that would be a reasonable exit code
|
220
|
+
def run(args) #:nodoc:
|
221
|
+
rdoc = RDocCommand.new
|
222
|
+
commands[:rdoc] = rdoc if !commands[:rdoc]
|
223
|
+
commands[:help] = DefaultHelpCommand.new(@@version,rdoc) if !commands[:help]
|
224
|
+
exit_code = 0
|
225
|
+
begin
|
226
|
+
config = parse_config
|
227
|
+
override_defaults_based_on_config(config)
|
228
|
+
global_options,command,options,arguments = parse_options(args)
|
229
|
+
copy_options_to_aliased_versions(global_options,command,options)
|
230
|
+
global_options = convert_to_openstruct?(global_options)
|
231
|
+
options = convert_to_openstruct?(options)
|
232
|
+
if proceed?(global_options,command,options,arguments)
|
233
|
+
command = commands[:help] if !command
|
234
|
+
command.execute(global_options,options,arguments)
|
235
|
+
if !command.skips_post && @@post_block
|
236
|
+
@@post_block.call(global_options,command,options,arguments)
|
237
|
+
end
|
238
|
+
end
|
239
|
+
rescue Exception => ex
|
240
|
+
|
241
|
+
@@stderr.puts error_message(ex) if regular_error_handling?(ex)
|
242
|
+
|
243
|
+
exit_code = if ex.respond_to? :exit_code
|
244
|
+
ex.exit_code
|
245
|
+
else
|
246
|
+
-2
|
247
|
+
end
|
248
|
+
raise ex if ENV['GLI_DEBUG'] == 'true'
|
249
|
+
end
|
250
|
+
exit_code
|
251
|
+
end
|
252
|
+
|
253
|
+
# True if we should proceed with executing the command; this calls
|
254
|
+
# the pre block if it's defined
|
255
|
+
def proceed?(global_options,command,options,arguments) #:nodoc:
|
256
|
+
if command && command.skips_pre
|
257
|
+
true
|
258
|
+
elsif @@pre_block
|
259
|
+
@@pre_block.call(global_options,command,options,arguments)
|
260
|
+
else
|
261
|
+
true
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
# Returns true if we should proceed with GLI's basic error handling.
|
266
|
+
# This calls the error block if the user provided one
|
267
|
+
def regular_error_handling?(ex) #:nodoc:
|
268
|
+
if @@error_block
|
269
|
+
@@error_block.call(ex)
|
270
|
+
else
|
271
|
+
true
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
# Returns a String of the error message to show the user
|
276
|
+
# +ex+:: The exception we caught that launched the error handling routines
|
277
|
+
def error_message(ex) #:nodoc:
|
278
|
+
msg = "error: #{ex.message}"
|
279
|
+
case ex
|
280
|
+
when UnknownCommand
|
281
|
+
msg += ". Use '#{program_name} help' for a list of commands"
|
282
|
+
when UnknownCommandArgument
|
283
|
+
msg += ". Use '#{program_name} help #{ex.command.name}' for a list of command options"
|
284
|
+
when UnknownGlobalArgument
|
285
|
+
msg += ". Use '#{program_name} help' for a list of global options"
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
# Simpler means of exiting with a custom exit code. This will
|
290
|
+
# raise a CustomExit with the given message and exit code, which will ultimatley
|
291
|
+
# cause your application to exit with the given exit_code as its exit status
|
292
|
+
def exit_now!(message,exit_code)
|
293
|
+
raise CustomExit.new(message,exit_code)
|
294
|
+
end
|
295
|
+
|
296
|
+
# Set or get the name of the program, if you don't want the default (which is
|
297
|
+
# the name of the command line program). This
|
298
|
+
# is only used currently in the help and rdoc commands.
|
299
|
+
#
|
300
|
+
# +override+:: A String that represents the name of the program to use, other than the default.
|
301
|
+
#
|
302
|
+
# Returns the current program name, as a String
|
303
|
+
def program_name(override=nil)
|
304
|
+
if override
|
305
|
+
@@program_name = override
|
306
|
+
end
|
307
|
+
@@program_name
|
308
|
+
end
|
309
|
+
|
310
|
+
alias :d :desc
|
311
|
+
alias :f :flag
|
312
|
+
alias :s :switch
|
313
|
+
alias :c :command
|
314
|
+
|
315
|
+
# Possibly returns a copy of the passed-in Hash as an instance of GLI::Option.
|
316
|
+
# By default, it will *not*. However by putting <tt>use_openstruct true</tt>
|
317
|
+
# in your CLI definition, it will
|
318
|
+
def convert_to_openstruct?(options) # :nodoc:
|
319
|
+
@@use_openstruct ? Options.new(options) : options
|
320
|
+
end
|
321
|
+
|
322
|
+
# Copies all options in both global_options and options to keys for the aliases of those flags.
|
323
|
+
# For example, if a flag works with either -f or --flag, this will copy the value from [:f] to [:flag]
|
324
|
+
# to allow the user to access the options by any alias
|
325
|
+
def copy_options_to_aliased_versions(global_options,command,options) # :nodoc:
|
326
|
+
copy_options_to_aliases(global_options)
|
327
|
+
command.copy_options_to_aliases(options)
|
328
|
+
end
|
329
|
+
|
330
|
+
def parse_config # :nodoc:
|
331
|
+
return nil if @@config_file.nil?
|
332
|
+
require 'yaml'
|
333
|
+
if File.exist?(@@config_file)
|
334
|
+
File.open(@@config_file) { |file| YAML::load(file) }
|
335
|
+
else
|
336
|
+
{}
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
# Returns an array of four values:
|
341
|
+
# * global options (as a Hash)
|
342
|
+
# * Command
|
343
|
+
# * command options (as a Hash)
|
344
|
+
# * arguments (as an Array)
|
345
|
+
def parse_options(args) # :nodoc:
|
346
|
+
global_options,command,options,arguments = parse_options_helper(args.clone,Hash.new,nil,Hash.new,Array.new)
|
347
|
+
flags.each { |name,flag| global_options[name] = flag.default_value if !global_options[name] }
|
348
|
+
command.flags.each { |name,flag| options[name] = flag.default_value if !options[name] }
|
349
|
+
return [global_options,command,options,arguments]
|
350
|
+
end
|
351
|
+
|
352
|
+
# Finds the index of the first non-flag
|
353
|
+
# argument or -1 if there wasn't one.
|
354
|
+
def find_non_flag_index(args) # :nodoc:
|
355
|
+
args.each_with_index do |item,index|
|
356
|
+
return index if item =~ /^[^\-]/
|
357
|
+
return index-1 if item =~ /^\-\-$/
|
358
|
+
end
|
359
|
+
-1
|
360
|
+
end
|
361
|
+
|
362
|
+
def flag_switch_index(args)
|
363
|
+
args.each_with_index do |item,index|
|
364
|
+
return index if item =~ /^[\-]/
|
365
|
+
end
|
366
|
+
-1
|
367
|
+
end
|
368
|
+
|
369
|
+
def clear_nexts # :nodoc:
|
370
|
+
@@next_desc = nil
|
371
|
+
@@next_arg_name = nil
|
372
|
+
@@next_default_value = nil
|
373
|
+
@@next_long_desc = nil
|
374
|
+
@@skips_pre = false
|
375
|
+
@@skips_post = false
|
376
|
+
end
|
377
|
+
|
378
|
+
clear_nexts
|
379
|
+
|
380
|
+
def flags # :nodoc:
|
381
|
+
@@flags ||= {}
|
382
|
+
end
|
383
|
+
def switches # :nodoc:
|
384
|
+
@@switches ||= {}
|
385
|
+
end
|
386
|
+
def commands # :nodoc:
|
387
|
+
@@commands ||= {}
|
388
|
+
end
|
389
|
+
|
390
|
+
# Recursive helper for parsing command line options
|
391
|
+
# <code>args</code>:: the arguments that have yet to be processed
|
392
|
+
# <code>global_options</code>:: the global options hash
|
393
|
+
# <code>command</code>:: the Command that has been identified (or nil if not identified yet)
|
394
|
+
# <code>command_options</code>:: options for Command
|
395
|
+
# <code>arguments</code>:: the arguments for Command
|
396
|
+
#
|
397
|
+
# This works by finding the first non-switch/flag argument, and taking that sublist and trying to pick out
|
398
|
+
# flags and switches. After this is done, one of the following is true:
|
399
|
+
# * the sublist is empty - in this case, go again, as there might be more flags to parse
|
400
|
+
# * the sublist has a flag left in it - unknown flag; we bail
|
401
|
+
# * the sublist has a non-flag left in it - this is the command (or the start of the arguments list)
|
402
|
+
#
|
403
|
+
# This sort of does the same thing in two phases; in the first phase, the command hasn't been identified, so
|
404
|
+
# we are looking for global switches and flags, ending when we get the command.
|
405
|
+
#
|
406
|
+
# Once the command has been found, we start looking for command-specific flags and switches.
|
407
|
+
# When those have been found, we know the rest of the argument list is arguments for the command
|
408
|
+
def parse_options_helper(args,global_options,command,command_options,arguments) # :nodoc:
|
409
|
+
non_flag_i = find_non_flag_index(args)
|
410
|
+
all_flags = false
|
411
|
+
if non_flag_i == 0
|
412
|
+
# no flags
|
413
|
+
if !command
|
414
|
+
command_name = args.shift
|
415
|
+
command = find_command(command_name)
|
416
|
+
raise UnknownCommand.new("Unknown command '#{command_name}'") if !command
|
417
|
+
return parse_options_helper(args,
|
418
|
+
global_options,
|
419
|
+
command,
|
420
|
+
Hash.new,
|
421
|
+
arguments)
|
422
|
+
elsif((index = flag_switch_index(args)) >= 0)
|
423
|
+
try_me = args[0..index-1]
|
424
|
+
rest = args[index..args.length]
|
425
|
+
new_args = rest + try_me
|
426
|
+
return parse_options_helper(new_args,
|
427
|
+
global_options,
|
428
|
+
command,
|
429
|
+
Hash.new,
|
430
|
+
arguments)
|
431
|
+
else
|
432
|
+
return global_options,command,command_options,arguments + args
|
433
|
+
end
|
434
|
+
elsif non_flag_i == -1
|
435
|
+
all_flags = true
|
436
|
+
end
|
437
|
+
|
438
|
+
try_me = args[0..non_flag_i]
|
439
|
+
rest = args[(non_flag_i+1)..args.length]
|
440
|
+
if all_flags
|
441
|
+
try_me = args
|
442
|
+
rest = []
|
443
|
+
end
|
444
|
+
|
445
|
+
# Suck up whatever options we can
|
446
|
+
switch_hash = switches
|
447
|
+
flag_hash = flags
|
448
|
+
options = global_options
|
449
|
+
if command
|
450
|
+
switch_hash = command.switches
|
451
|
+
flag_hash = command.flags
|
452
|
+
options = command_options
|
453
|
+
end
|
454
|
+
|
455
|
+
switch_hash.each do |name,switch|
|
456
|
+
value = switch.get_value!(try_me)
|
457
|
+
options[name] = value if !options[name]
|
458
|
+
end
|
459
|
+
|
460
|
+
flag_hash.each do |name,flag|
|
461
|
+
value = flag.get_value!(try_me)
|
462
|
+
# So, there's a case where the first time we request the value for a flag,
|
463
|
+
# we get the default and not the user-provided value. The next time we request
|
464
|
+
# it, we want to override it with the real value.
|
465
|
+
# HOWEVER, sometimes this happens in reverse, so we want to err on taking the
|
466
|
+
# user-provided, non-default value where possible.
|
467
|
+
if value
|
468
|
+
if options[name]
|
469
|
+
options[name] = value if options[name] == flag.default_value
|
470
|
+
else
|
471
|
+
options[name] = value
|
472
|
+
end
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
476
|
+
if try_me.empty?
|
477
|
+
return [global_options,command,command_options,arguments] if rest.empty?
|
478
|
+
# If we have no more options we've parsed them all
|
479
|
+
# and rest may have more
|
480
|
+
return parse_options_helper(rest,global_options,command,command_options,arguments)
|
481
|
+
else
|
482
|
+
if command
|
483
|
+
check = rest
|
484
|
+
check = rest + try_me if all_flags
|
485
|
+
check.each() do |arg|
|
486
|
+
if arg =~ /^\-\-$/
|
487
|
+
try_me.delete arg
|
488
|
+
break
|
489
|
+
end
|
490
|
+
raise UnknownCommandArgument.new("Unknown option #{arg}",command) if arg =~ /^\-/
|
491
|
+
end
|
492
|
+
return [global_options,command,command_options,try_me + rest]
|
493
|
+
else
|
494
|
+
# Now we have our command name
|
495
|
+
command_name = try_me.shift
|
496
|
+
raise UnknownGlobalArgument.new("Unknown option #{command_name}") if command_name =~ /^\-/
|
497
|
+
|
498
|
+
command = find_command(command_name)
|
499
|
+
raise UnknownCommand.new("Unknown command '#{command_name}'") if !command
|
500
|
+
|
501
|
+
return parse_options_helper(rest,
|
502
|
+
global_options,
|
503
|
+
command,
|
504
|
+
Hash.new,
|
505
|
+
arguments)
|
506
|
+
end
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
def find_command(name) # :nodoc:
|
511
|
+
sym = name.to_sym
|
512
|
+
return commands[name.to_sym] if commands[sym]
|
513
|
+
commands.each do |command_name,command|
|
514
|
+
return command if (command.aliases && command.aliases.include?(sym))
|
515
|
+
end
|
516
|
+
nil
|
517
|
+
end
|
518
|
+
|
519
|
+
# Checks that the names passed in have not been used in another flag or option
|
520
|
+
def verify_unused(names,flags,switches,context) # :nodoc:
|
521
|
+
names.each do |name|
|
522
|
+
verify_unused_in_option(name,flags,"flag",context)
|
523
|
+
verify_unused_in_option(name,switches,"switch",context)
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
527
|
+
private
|
528
|
+
|
529
|
+
def verify_unused_in_option(name,option_like,type,context) # :nodoc:
|
530
|
+
raise ArgumentError.new("#{name} has already been specified as a #{type} #{context}") if option_like[name]
|
531
|
+
option_like.each do |one_option_name,one_option|
|
532
|
+
if one_option.aliases
|
533
|
+
raise ArgumentError.new("#{name} has already been specified as an alias of #{type} #{one_option_name} #{context}") if one_option.aliases.include? name
|
534
|
+
end
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
# Sets the default values for flags based on the configuration
|
539
|
+
def override_defaults_based_on_config(config)
|
540
|
+
config ||= {}
|
541
|
+
config['commands'] ||= {}
|
542
|
+
|
543
|
+
override_default(flags,config)
|
544
|
+
override_default(switches,config)
|
545
|
+
|
546
|
+
commands.each do |command_name,command|
|
547
|
+
command_config = config['commands'][command_name] || {}
|
548
|
+
|
549
|
+
override_default(command.flags,command_config)
|
550
|
+
override_default(command.switches,command_config)
|
551
|
+
end
|
552
|
+
end
|
553
|
+
|
554
|
+
def override_default(tokens,config)
|
555
|
+
tokens.each do |name,token|
|
556
|
+
token.default_value=config[name] if config[name]
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
560
|
+
end
|