aboutsummaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)AuthorFiles
2012-10-02Implement delete-tags and create-tags.Sergey Poznyakoff3
2012-10-02Improve bash command completionSergey Poznyakoff1
2012-10-02Implement describe-instance-attributeSergey Poznyakoff2
* etc/describe-instance-attribute.fln: New file. * etc/Makefile.am: Add new file. * src/dscrinstattr.c: New file. * src/Makefile.am: Add new file. * src/eclat.c: New command describe-instance-attribute. * src/eclat.h: New proto. * tests/describe-instance-attribute.at: New test case. * tests/Makefile.am: Add new file. * tests/testsuite.at: Likewise.
2012-10-02Add command completion routine for bash. Install formats to pkgdatadirSergey Poznyakoff2
* README: Update. * configure.ac: Remove --with-format-dir. Use --pkgdatadir instead. * etc/Makefile.am: Add new file. * etc/compl.sh: New file.
2012-10-01Implement exit; add some docs.Sergey Poznyakoff2
* Makefile.am (SUBDIRS): Add doc. * configure.ac: Build doc/Makefile * doc/Makefile.am: New file. * doc/eclat-associate-address.1: New file. * doc/eclat.1: New file. * etc/associate-address.fln: Call exit if the request fails. * etc/default.fln: Call exit if error is returned or if the response is not recognized. * lib/forlan.c (forlan_eval_env) <exit_code>: New member. New built-in function: exit. (forlan_run): Return exit code. * lib/forlan.h (forlan_run): Change return type. * lib/forlanlex.l: Treat unquoted decimal number as a quoted string. * src/asscaddr-cl.opt: Minor changes. * src/cmdline.opt: Minor changes. * src/eclat.c: Return EX_NOPERM on unsufficient permissions to open the configuration file. * tests/exit.at: New file. * tests/Makefile.am: Add new files. * tests/testsuite.at: Include new test cases. * tests/tforlan.c: Propagate the return from forlan_run to the shell.
2012-10-01Implement get-console-output command.Sergey Poznyakoff2
* etc/Makefile.am: Add new files. * etc/get-console-output.fln: New file. * lib/forlan.c: New built-in function "decode". * lib/forlangrm.y: Fix grammar to allow functions to return any data type, not only node. * src/Makefile.am (eclat_SOURCES): Add new files. * src/eclat.c: Register get-console-output command. * src/eclat.h (eclat_get_console_output): New proto. * src/getconout.c: New file. * tests/Makefile.am: Add new files. * tests/testsuite.at: Include new files. * tests/decode.at: New test case. * tests/get-console-output.at: New test case. * tests/last.at: Minor change.
2012-09-30Implement reboot-instances.Sergey Poznyakoff2
2012-09-30Implement the describe-volumes command.Sergey Poznyakoff2
* etc/Makefile.am (FLNFILES): Add describe-volumes.fln (install-formats): New rule. * etc/describe-volumes.fln: New file. * src/Makefile.am (eclat_SOURCES): Add dscrvols.c (AM_LDFLAGS): Remove. (LDADD): Add $(CURL_LIBS) * src/accfile.c (get_access_creds): Minor changes. * src/cmdline.opt: New option --format-expression. * src/dscrinsts.c: Minor change. * src/dscrvols.c: New file. * src/eclat.c: New command "describe-volumes". * src/eclat.h (eclat_describe_volumes): New proto. * tests/describe-volumes.at: New file. * tests/Makefile.am: Add new file. * tests/testsuite.at: Include new file.
2012-09-29Minor fix.Sergey Poznyakoff1
2012-09-29Implement describe-addresses; improve assign-address (vpc functionality)Sergey Poznyakoff2
* etc/Makefile.am: Add new files. * etc/describe-addresses.fln * src/Makefile.am: Add new files. * src/asscaddr-cl.opt: New file. * src/asscaddr.c: Handle VPC addresses. * src/dscraddrs-cl.opt: New file. * src/dscraddrs.c: New file. * src/eclat.c: Add new commands. * src/eclat.h: Update. * tests/Makefile.am: Add new test suites. * tests/testsuite.at: Likewise. * tests/describe-addresses.at: New file.
2012-09-28Initial implementation of associate/dissociate address requests.Sergey Poznyakoff3
* etc/Makefile.am: Add new files. * etc/associate-address.fln: New file. * etc/disassociate-address.fln: New file. * lib/forlan.c (eval_expr): Fix boolean NOT. * src/Makefile.am: Add new files. * src/asscaddr.c: New file. * src/dscrtags.c (eclat_describe_tags): Remove unused variables. * src/eclat.c (cmdtab): Register new commands. * src/eclat.h (eclat_associate_address) (eclat_disassociate_address): New commands. * src/util.c: Add AWSAccessKeyId param in eclat_send_query instead of in describe_query_create. * tests/Makefile.am: Add new files. * tests/testsuite.at: Include new test cases. * tests/associate-address.at: New test case.
2012-09-28Add user-defined formats.Sergey Poznyakoff1
* etc/Makefile.am: Minor fixes. * src/cmdline.opt: New option --format. Add alias --formfile to --format-file * src/config.c: New configuration statement "define-format". * src/eclat.c (define_format): Rename to set_command_format. All uses changed. (define_format,find_format): New functions (read_format): Compile named format, if supplied with the --format option. * src/eclat.h: Update.
2012-09-28Improve testsuite. Reorganize directory structure.Sergey Poznyakoff10
* Makefile.am (SUBDIRS): Add etc (distuninstallcheck_listfiles): Ignore *.forlan files. * configure.ac: New options --split-format and --format-dir * etc/Makefile.am: New file. * etc/default.fln: New file. * etc/describe-instance-status.fln: New file. * etc/describe-instances.fln: New file. * etc/describe-tags.fln: New file. * etc/eclat.cfin: New file. * etc/flncat.c: New file. * etc/start-instances.fln: New file. * etc/stop-instances.fln: New file. * src/Makefile.am: Remove eclat.conf. It is built in /etc now. * src/eclat.conf: Remove. * src/cmdline.opt: Update. * src/config.c: New configuration statement "format-file". * src/eclat.c (format_file_option): New global. (main): Read format from format-file, if supplied. Expand keywords in its argument. * src/eclat.h (format_file_option): New extern. * tests/.gitignore: Update. * tests/Makefile.am: Add new files. * tests/describe-instance-status.at: New test case. * tests/describe-instances.at: New test case. * tests/describe-tags.at: New test case. * tests/dscrinststat.at: New test case. * tests/start-instances.at: New test case. * tests/stop-instances.at: New test case. * tests/testsuite.at (ECLAT_TEST_FORMAT): New macro. Include new test cases. * tests/trws.c: New file.

Return to:

Send suggestions and report system problems to the System administrator.