Age | Commit message (Collapse) | Author | Files |
|
|
|
|
|
* lib/getyn.c (eclat_vgetyn): Use va_copy to reuse the va_list
argument.
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
* src/rmaddr.c: Fix a long-standing typo
|
|
|
|
|
|
|
|
* 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/eclat.c (find_command_name): Avoid calling ident_matches with
NULL argument.
|
|
|
|
|
|
|
|
* grecs: pull
* configure.ac: Enable json
* lib/Makefile.am (AM_CPPFLAGS): Use @GRECS_INCLUDES@
(libeclat_a_SOURCES): Remove json sources.
* src/Makefile.am (AM_CPPFLAGS): Use @GRECS_INCLUDES@
* tests/Makefile.am: Likewise.
* lib/json.h: Remove.
* lib/jsongrm.y: Remove.
* lib/jsonlex.l: Remove.
* tests/tjson.c: Remove.
* src/config.c (eclat_kw): Mark statically initialized memory locations
as such.
* src/mktags.c (process_tags): Use wordsplit to process quoted arguments.
* lib/bidimap.c (bidimap_config): Fill allocated memory with 0's
* lib/filemap.c (filemap_config): Likewise.
* lib/gdbmmap.c (gdbm_map_config): Likewise.
* lib/seqmap.c (seqmap_config): Likewise.
|
|
|
|
* src/util.c (eclat_send_request): Fix the AWS error string. Print
a warning before sleeping. Fix memory leak.
|
|
* src/eclat.h (eclat_command_env) <curl>: Remove.
<xmltree>: New field.
* src/util.c (translate_ids): Close the map when no longer needed
(eclat_send_request): Implement exponential backoff.
* src/ec2map.c: Reflect the above changes.
* src/eclat.c: Likewise.
* lib/libeclat.h (eclat_request_dup): New proto.
* lib/reqcreat.c (eclat_request_dup): New function.
* src/config.c: New configuration statements: max-retry-interval and
retry-timeout.
|
|
|
|
|
|
* NEWS: Document changes.
* configure.ac: Update.
* tests/describe-instances.at: sync with the previous commit.
|
|
* etc/allocate-address.fln: Print allocation ID, if available.
* etc/describe-instances.fln: Fix printing group sets.
* etc/describe-subnets.fln: Fix undefined variable.
|
|
* 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.
|
|
* etc/describe-internet-gateway.fln: Rename to
* etc/describe-internet-gateways.fln: this
* etc/Makefile.am: Likewise.
|
|
These implement the following EC2 actions: AssociateRouteTable,
CreateRoute, CreateRouteTable, DeleteRoute, DeleteRouteTable,
DescribeRouteTables, DisassociateRouteTable, ReplaceRoute.
* TODO: Update.
* etc/Makefile.am: Add new formats.
* etc/associate-route-table.fln: New file.
* etc/create-route-table.fln: New file.
* etc/create-route.fln: New file.
* etc/delete-route-table.fln: New file.
* etc/delete-route.fln: New file.
* etc/describe-route-tables.fln: New file.
* etc/disassociate-route-table.fln: New file.
* etc/replace-route.fln: New file.
* etc/route.fln: New file.
* src/Makefile.am: Add routetable.c
* src/routetable.c: New file.
* src/eclat.c (cmdtab): Register new subcommands.
* src/eclat.h (ECLAT_DEBCAT_DUMP): New category.
Add new protos.
* src/io.c (write_callback): Enable XML dump if dump debug
category is set.
|
|
|
|
New commands: mksubnet, rmsubnet, lssubnet, setsubnetattr.
* TODO: Update.
* lib/libeclat.h (EC2_API_VERSION): Update.
* src/Makefile.am: Add subnet.c.
* src/subnet.c: New file.
* src/eclat.c (cmdtab): Register new commands.
* src/eclat.h: Add new prototypes.
|
|
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
|
|
|
|
|
|
* src/sg-cl.opt (--port option): Accept -1
* src/sg.c (str2port): Likewise.
(add_source_cidr): Fix coredump
|
|
|
|
* src/ispeek.c (is_user_data): New function
(print_dir,ispeek_do): Always treat user-data as file.
|
|
|
|
* 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.
|