summaryrefslogtreecommitdiffabout
path: root/src/mktags-cl.opt
authorSergey Poznyakoff <gray@gnu.org.ua>2015-11-18 21:25:04 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2015-11-18 21:25:04 (GMT)
commited8a63afa3482a2036fd134e056a446a408b6357 (patch) (side-by-side diff)
tree8209ee4131550a9ac0cd38dfcd25c22f8939266b /src/mktags-cl.opt
parent48e8aede6696c9b26a1bb1fd92d50f838e8b3178 (diff)
downloadeclat-ed8a63afa3482a2036fd134e056a446a408b6357.tar.gz
eclat-ed8a63afa3482a2036fd134e056a446a408b6357.tar.bz2
Implement VPC and Internet Gateway commands.
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.
Diffstat (limited to 'src/mktags-cl.opt') (more/less context) (ignore whitespace changes)
-rw-r--r--src/mktags-cl.opt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mktags-cl.opt b/src/mktags-cl.opt
index 8cb0033..510835b 100644
--- a/src/mktags-cl.opt
+++ b/src/mktags-cl.opt
@@ -77,6 +77,16 @@ BEGIN
grecs_list_append(reslist, res);
END
+OPTION(internet-gateway,g,[<ID>],
+ [<internet gateway ID>])
+BEGIN
+ struct resource *res = grecs_malloc(sizeof(*res));
+ res->map = MAP_IGW;
+ res->resid = optarg;
+ grecs_list_append(reslist, res);
+END
+
+
OPTION(from-file,T,[<FILE>],
[<read tags from FILE>])
BEGIN

Return to:

Send suggestions and report system problems to the System administrator.