Age | Commit message (Collapse) | Author | Files |
|
|
|
|
|
* TODO: Document changes.
* doc/Makefile.inc: Add new files.
* doc/eclat-addr2ec2.1: New file.
* doc/eclat-addr2vpc.1: New file.
* etc/Makefile.am: Add new files.
* etc/move-address-to-vpc.fln: New file.
* etc/restore-address-to-classic.fln: New file.
* src/Makefile.am: Add new file.
* src/mvaddr.c: New file.
* src/eclat.c (cmdtab): New commands: addr2vpc and addr2ec2.
* src/eclat.h (eclat_move_address): New proto.
* etc/describe-images.fln: List creation date.
|
|
|
|
|
|
* TODO: Update.
* doc/Makefile.inc: Add new files.
* doc/eclat-mkinst.1: Mention the terminate command.
* doc/eclat-terminate.1: New file.
* etc/Makefile.am: Add new files.
* etc/terminate-instances.fln: New file.
* src/eclat.c (cmdtab): Register new command.
* src/eclat.h (eclat_terminate_instances): New proto.
* src/startstop.c (eclat_terminate_instances): New function.
* tests/Makefile.am: Add new test.
* tests/testsuite.at: Likewise.
* tests/terminate-instances.at: New test.
|
|
|
|
|
|
|
|
|
|
* src/sg-cl.opt: New options: --input (--ingress, -I), and
--output (--egress, -O).
* src/sg.c (command): const.
* doc/eclat-sg.1: Document --input/--output modifiers.
* TODO: Likewise.
* etc/sg.fln: Add support for egress responses.
|
|
New commands: lsvpc, lsvpcattr, mkvpc,
setvpcattr, rmvpc, lsigw, mkigw, rmigw,
atigw, deigw.
* TODO: Update.
* doc/Makefile.inc: Add mkvpc manpage.
* etc/Makefile.am: Add create-vpc.fl and describe-vpcs.fln
* etc/describe-vpc-attribute.fln: New file.
* etc/describe-vpcs.fln: New file.
* src/Makefile.am: Add new files.
* src/igw.c: New file.
* src/lsvpc.c: New file.
* src/mkvpc-cl.opt: New file.
* src/mkvpc.c: New file.
* src/rmvpc.c: New file.
* src/vpcattr.c: New file.
* src/eclat.c (cmdtab): Register new subcommands.
* src/eclat.h: Add new prototypes.
* src/mksg-cl.opt: New option: --internet-gateway, -g
* src/lsinst.c (parse_options): Define args_doc.
* src/lsreg.c (parse_options): Remove useless return.
* src/lstag-cl.opt: Likewise.
* src/mktags-cl.opt: Remove stray character.
|
|
|
|
|
|
* NEWS: Update.
* doc/eclat-stop.1: Update.
* doc/eclat.1man: Update.
* etc/default.fln: Special handling for DryRunOperation
and UnauthorizedOperation codes.
* lib/paramlist.c: New file.
* lib/Makefile.am (libeclat_a_SOURCES): Add paramlist.c
* lib/forlan.c: New function dequote.
* lib/libeclat.h (eclat_request_add_param0)
(ec2_param_free, ec2_param_list_create)
(ec2_param_list_append)
(eclat_request_add_param_list): New protos.
* lib/reqcreat.c (ec2_param_free): Remove static qualifier.
* src/stop-cl.opt: New file.
* src/Makefile.am (OPTFILES): Add stop-cl.opt
* src/cmdline.opt: New options: --check-permissions and --add-parameter.
* src/eclat.c (extra_param): New global.
(find_format): print error message if no such format is found.
* src/startstop.c (eclat_stop_instance): Use parse_stop_options
|
|
|
|
|
|
|
|
|
|
* NEWS: Update.
* doc/eclat.conf.5: Document http-method. Reorganize description of
endpoints and regions.
* lib/libeclat.h (ec2_request) <postdata>: New member
(eclat_request_finalize): New proto.
* lib/req2url.c (eclat_request_to_url): Remove second argument.
All uses changed.
(eclat_request_finalize): New function.
* lib/reqfree.c: Free postdata.
* lib/reqsign.c (requestsign4): Implement post.
* src/config.c: New configuration statement http-method.
* src/eclat.c (use_post): New variable.
* src/eclat.h (use_post): New extern.
* src/util.c (eclat_send_request): Implement post.
|
|
|
|
* NEWS: Update.
* doc/eclat-setiattr.1: Document new options.
* doc/eclat-lsistat.1: Update.
* etc/describe-instance-attribute.fln: Decode userData.
* grecs: Upgrade.
* src/setiattr-cl.opt: New file.
* src/Makefile.am (OPTFILES): Add setiattr-cl.opt
* src/setiattr.c: Encode UserData.
* src/eclat.h (read_file): New proto.
* src/lsistat-cl.opt: New option -r (--running).
* src/lsistat.c: Change default to show all instances, no matter
their state.
* src/mkinst-cl.opt (read_user_data): Remove. Use read_file instead.
* src/sg.c: Add missing include.
* src/util.c (read_file): New function.
|
|
* NEWS: Update.
* doc/eclat.conf.5: Update.
* lib/Makefile.am: Add new sources.
* lib/istore.c: New file.
* lib/path.c: New file.
* lib/libeclat.h (path_concat)
(instance_store_curl_new)
(instance_store_read): New protos.
* src/config.c (cb_authentication_provider): second argument is
optional for instance-store type.
New compound statement: instance-store.
* src/eclat.h (instance_store_base_url)
(instance_store_port,instance_store_document_path):
(instance_store_credentials_path): New externs.
* src/ispeek.c: Rewrite using new functions.
* src/util.c: Likewise.
|
|
* doc/ispeek.1: Update.
* grecs: Upgrade
* src/ispeek-cl.opt: New options.
* src/ispeek.c: Optionally print variable types,
quote strings, etc.
Add heuristics to determine whether the obtained data are
a directory listing or a text.
|
|
* src/ispeek.c: New file.
* src/ispeek-cl.opt: New file
* src/Makefile.am: Add ispeek
* src/io.c (dump, eclat_trace_fun): Moved to the library.
(eclat_io_setup): Use eclat_set_curl_trace.
* NEWS: Document ispeek.
* doc/Makefile.inc: Add ispeek.1
* doc/eclat.1man: Mention ispeek(1) in the "see also" section.
* doc/eclat.conf.5: Update.
* doc/ispeek.1: New file.
* lib/Makefile.am (libeclat_a_SOURCES): Add trace.c
* lib/libeclat.h (eclat_trace_fun)
(eclat_set_curl_trace): New proto.
* lib/trace.c: New file.
|
|
|
|
* NEWS: Update.
* doc/eclat.1man: Update.
* lib/.gitignore: Update.
* lib/Makefile.am (libeclat_a_SOURCES): Add new files.
* lib/json.h: New file.
* lib/jsongrm.y: New file.
* lib/jsonlex.l: New file.
* lib/yytrans: New file.
* lib/libeclat.h (ec2_query) <token>: New member
(eclat_query_create): Change signature.
* lib/qcreat.c (eclat_query_create): Take security token as 5th
argument.
* lib/reqsign.c (querysign2): Add security token.
* src/cmdline.opt: Update copyright years
* src/ec2map.c (ec2_map_get): Pass security token to
eclat_query_create.
* src/eclat.c (security_token): New variable.
(eclat_do_command): Pass security token to
eclat_query_create.
(main): Get authentication credentials from the instance
store, if not found in the access file.
* src/eclat.h (security_token): New extern.
(eclat_get_instance_creds): New proto.
* src/util.c (eclat_get_instance_zone): Use json parser.
(eclat_get_instance_creds): New function.
* tests/Makefile.am (noinst_PROGRAMS): add tjson
* tests/tjson.c: New file.
|
|
|
|
* lib/libeclat.h (ec2_param) <encoded>: New member.
(ec2_query) <signature>: Remove.
<headers,region,access_key>: New members
(eclat_query_create): Take two more arguments. All uses changed.
(eclat_query_add_param_encoded)
(eclat_query_add_header): New functions.
* lib/q2url.c (eclat_query_to_url): Don't create Signature param:
it is already in the param list (for v2 process).
* lib/qaddparm.c (eclat_query_add_param_encoded): New function.
(eclat_query_add_header): New function.
* lib/qcreat.c (eclat_query_create): Take region and access key
as additional parameters.
* lib/qencode.c (encode_param): Skip parameters that have encoded
set to true.
* lib/reqsign.c (querysign2): Store access key in AWSAccessKeyId
and the generated signature in the Signature parameters.
(eclat_hex_encode): New function.
(querysign4): Implement signature version 4 signing process.
* src/ec2map.c: Update call to eclat_query_create.
* src/eclat.c: Likewise.
* src/util.c (eclat_send_query): Sign the query and add
requested headers prior to sending.
* doc/eclat.conf.5: Document signature-version.
* NEWS: Likewise.
|
|
* doc/eclat-mkinst.1: Escape dashes
* etc/get-console-output.fln: Handle empty output case.
|
|
|
|
* TODO: Update.
* doc/Makefile.inc: Add new files.
* doc/eclat-lsaattr.1: New file.
* doc/eclat-setaattr.1: New file.
* etc/Makefile.am (FLNFILES): Add new files.
* etc/describe-image-attribute.fln: New file.
* etc/modify-image-attribute.fln: New file.
* src/Makefile.am (eclat_SOURCES,OPTFILES): Add new files.
* src/eclat.c (cmdtab): New commands: lsaattr and setaattr.
* src/eclat.h (eclat_describe_image_attribute)
(eclat_modify_image_attribute,canonattrname): New protos.
* src/lsaattr.c: New file.
* src/lsiattr.c: Use canonattrname to simplify usage.
* src/lssattr.c (canonattrname): Remove. Use external version.
* src/setaattr-cl.opt: New file.
* src/setaattr.c: New file.
* src/setiattr.c: New file.
* src/util.c (canonattrname): New function.
|
|
|
|
|
|
|
|
|
|
|
|
* doc/eclat-lssg.1: New file.
* doc/eclat-sg.1: New file.
* doc/Makefile.inc: Add new files.
* etc/create-security-group.fln: New file.
* etc/delete-security-group.fln: New file.
* etc/Makefile.am: Add new files.
* src/mksg-cl.opt: New file.
* src/mksg.c: New file.
* src/rmsg-cl.opt: New file.
* src/rmsg.c: New file.
* src/sg.h: New file.
* src/Makefile.am: Add new files.
* src/eclat.c (cmdtab): New commands "mksg" and
"rmsg".
* src/eclat.h (eclat_create_security_group)
(eclat_delete_security_group): New protos.
* src/lssg.c: Include sg.h. Use groupkw instead of the
static rt[], which is removed.
* src/sg-cl.opt: Use groupkw
* src/sg.c (groupkw): New global.
* TODO: Update.
|
|
|
|
* TODO: Update.
* doc/Makefile.inc: Add eclat-sg.1
* doc/eclat-lssg.1: Update.
* doc/eclat-sg.1: New file.
* src/sg-cl.opt: Fix docstrings.
|
|
|
|
|
|
* doc/eclat.conf.5: Document EC2 maps.
* etc/eclat.cfin: Provide default maps.
* lib/Makefile.am (AM_LFLAGS): Remove -v.
* lib/bidimap.c (cb_submap): Remove unused variable.
* lib/forlan.c: Minor change.
* lib/forlangrm.y: Declare prototype for yylex.
* lib/forlanlex.l: Add option nounput
* lib/libeclat.h (eclat_map) <locus>: New member.
* lib/map.c (eclat_map_config): Warn if attempting to
redeclare an existing map.
* src/ec2map.c (ec2_map_get): Minor change.
|
|
* doc/eclat.conf.5: Update.
* src/cmdline.opt: New option --no-translate (-X)
* src/config.c (eclat_kw): New statement: translate.
* src/eclat.c (main): override the value of translation_enabled
from the command line.
* src/eclat.h (translate_option): Rename to translation_enabled.
All uses changed.
(MAP_IMAGE,MAP_INSTANCE)
(MAP_GROUPID,MAP_GROUPNAME)
(MAP_SNAPSHOT,MAP_VOLUME)
(MAP_AZ,MAP_REG): New defines, to use instead of literal
map names. All sources updated accordingly.
* src/util.c (translate_option): Rename to translation_enabled.
(translate_ids): It is not an error if the name is not found in
the map. Use it as the resource ID in that case.
|
|
|
|
|
|
|
|
* doc/.gitignore: Add webdoc
* doc/Makefile.am: Include Makefile.inc
* doc/Makefile.inc: New file.
* grecs: Update.
* todostat.awk: Print short command names.
|
|
* src/.gitignore: Add generated *.man files.
* src/Makefile.am (comtab.man,xref.man): Generate auxiliary man
files for inclusion into eclat.1
* doc/.gitignore: New file.
* doc/Makefile.am: Generate eclat.1 from eclat.1man by including
two auxiliary files from src
* doc/eclat.1: Rename to doc/eclat.1man
* doc/eclat.1man: Replace the list of eclat commands and the
"see also" list by the .so requests.
|
|
|