AgeCommit message (Collapse)AuthorFiles
2020-06-14Use grecs with wordsplit v1.1HEADmasterSergey Poznyakoff1
2019-11-26Implement MoveAddressToVpc (addr2vpc) and RestoreAddressToClassic (addr2ec2)Sergey Poznyakoff12
* TODO: Document changes. * doc/ Add new files. * doc/eclat-addr2ec2.1: New file. * doc/eclat-addr2vpc.1: New file. * etc/ Add new files. * etc/move-address-to-vpc.fln: New file. * etc/restore-address-to-classic.fln: New file. * src/ 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.
2019-07-10Switch to grecs b06fb7d3Sergey Poznyakoff2
2018-12-15Fix rmaddr -vSergey Poznyakoff1
* src/rmaddr.c: Fix a long-standing typo
2018-12-15Document chvol and lschvol commands.Sergey Poznyakoff4
2018-12-14Implement ModifyVolume and DescribeVolumesModificationsSergey Poznyakoff10
2018-11-17Version 2.0.90Sergey Poznyakoff47
2018-11-17Implement the terminate-instances commandSergey Poznyakoff13
* TODO: Update. * doc/ Add new files. * doc/eclat-mkinst.1: Mention the terminate command. * doc/eclat-terminate.1: New file. * etc/ 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/ Add new test. * tests/ Likewise. * tests/ New test.
2018-11-15Include VPC info to the describe-instances.fln format.Sergey Poznyakoff1
2018-03-19Merge branch 'master' of ssh:// Poznyakoff3
2018-03-19Fix coredumpSergey Poznyakoff1
* src/eclat.c (find_command_name): Avoid calling ident_matches with NULL argument.
2018-03-16Version 2.0release-2.0Sergey Poznyakoff3
2018-03-15Update copyright yearsSergey Poznyakoff266
2018-03-15Minor fixesSergey Poznyakoff7
2018-03-15Upgrade grecsSergey Poznyakoff26
* grecs: pull * Enable json * lib/ (AM_CPPFLAGS): Use @GRECS_INCLUDES@ (libeclat_a_SOURCES): Remove json sources. * src/ (AM_CPPFLAGS): Use @GRECS_INCLUDES@ * tests/ 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.
2018-03-15Update docsSergey Poznyakoff5
2018-03-15Minor changesSergey Poznyakoff1
* src/util.c (eclat_send_request): Fix the AWS error string. Print a warning before sleeping. Fix memory leak.
2018-03-14Implement exponential backoff with jitter to handle RequestLimitExceededSergey Poznyakoff13
* 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.
2015-11-19Restore missing translation mapsSergey Poznyakoff5
2015-11-19Add missing files to repoSergey Poznyakoff2
2015-11-19Raise patchlevel number.Sergey Poznyakoff3
* NEWS: Document changes. * Update. * tests/ sync with the previous commit.
2015-11-19Fix formatsSergey Poznyakoff3
* etc/allocate-address.fln: Print allocation ID, if available. * etc/describe-instances.fln: Fix printing group sets. * etc/describe-subnets.fln: Fix undefined variable.
2015-11-19Add operations on egress rules for VPC security groups.Sergey Poznyakoff5
* 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.
2015-11-19Minor fixSergey Poznyakoff2
* etc/describe-internet-gateway.fln: Rename to * etc/describe-internet-gateways.fln: this * etc/ Likewise.
2015-11-19New commands: assocrtab, mkrtab, rmrtab, lsrtab, disasrtab, routeSergey Poznyakoff16
These implement the following EC2 actions: AssociateRouteTable, CreateRoute, CreateRouteTable, DeleteRoute, DeleteRouteTable, DescribeRouteTables, DisassociateRouteTable, ReplaceRoute. * TODO: Update. * etc/ 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/ 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.
2015-11-19Add formats for new statements introduced by ed8a63af and 1473a448Sergey Poznyakoff13
2015-11-18Implement subnet commandsSergey Poznyakoff7
New commands: mksubnet, rmsubnet, lssubnet, setsubnetattr. * TODO: Update. * lib/libeclat.h (EC2_API_VERSION): Update. * src/ Add subnet.c. * src/subnet.c: New file. * src/eclat.c (cmdtab): Register new commands. * src/eclat.h: Add new prototypes.
2015-11-18Implement VPC and Internet Gateway commands.Sergey Poznyakoff20
New commands: lsvpc, lsvpcattr, mkvpc, setvpcattr, rmvpc, lsigw, mkigw, rmigw, atigw, deigw. * TODO: Update. * doc/ Add mkvpc manpage. * etc/ Add create-vpc.fl and describe-vpcs.fln * etc/describe-vpc-attribute.fln: New file. * etc/describe-vpcs.fln: New file. * src/ 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.
2015-02-26Untabify docsSergey Poznyakoff1
2015-02-26Version 1.1release-1.1Sergey Poznyakoff3
2015-02-02New options: --check-permissions and --add-parameterSergey Poznyakoff14
* 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/ (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/ (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
2015-01-28More fixes in manpagesSergey Poznyakoff2
2015-01-27Fix remaining whatis entriesSergey Poznyakoff2
2015-01-27sg: accept -1 as argument to --portSergey Poznyakoff2
* src/sg-cl.opt (--port option): Accept -1 * src/sg.c (str2port): Likewise. (add_source_cidr): Fix coredump
2015-01-26Update whois entriesSergey Poznyakoff43
2015-01-23Improve ispeekSergey Poznyakoff1
* src/ispeek.c (is_user_data): New function (print_dir,ispeek_do): Always treat user-data as file.
2015-01-23Use signature version 4 by defaultSergey Poznyakoff3
2015-01-23Implement HTTP POSTSergey Poznyakoff10
* 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.
2015-01-22Namespace fixup: use "request" consistentlySergey Poznyakoff51
2015-01-22Update copyright years.Sergey Poznyakoff242
2015-01-22Version 1.0.92Sergey Poznyakoff2
2015-01-22Improve setting UserData attribute. Change lsistat defaults.Sergey Poznyakoff14
* 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/ (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.
2015-01-22Fix a typoSergey Poznyakoff1
2015-01-21authentication-provider instance-store does not require role name argumentSergey Poznyakoff10
* NEWS: Update. * doc/eclat.conf.5: Update. * lib/ 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.
2015-01-21Improve ispeekSergey Poznyakoff4
* 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.
2015-01-21Add ispeek.Sergey Poznyakoff12
* src/ispeek.c: New file. * src/ispeek-cl.opt: New file * src/ 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/ 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/ (libeclat_a_SOURCES): Add trace.c * lib/libeclat.h (eclat_trace_fun) (eclat_set_curl_trace): New proto. * lib/trace.c: New file.
2015-01-20Document authentication provider configuration.Sergey Poznyakoff3
2015-01-19Version 1.0.91Sergey Poznyakoff2
2015-01-19New configuration statement authentication-provideSergey Poznyakoff5
* NEWS: Update. * src/config.c: New statement "authentication-provider" * src/eclat.c (authentication_provider): New variable. (main): Select credentials depending on the value of authentication_provider. * src/eclat.h (authentication_provider): New enum and extern.
2015-01-19Minor improvementSergey Poznyakoff1
* lib/reqsign.c (querysign4): Pass credentials in HTTP headers, instead of parameters.

Return to:

Send suggestions and report system problems to the System administrator.