Send kea-dev mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."


Today's Topics:

   1.  Extending kea-shell (W?odzimierz Wencel)


----------------------------------------------------------------------

Message: 1
Date: Thu, 13 Apr 2017 15:04:44 +0200
From: W?odzimierz Wencel <[email protected]>
To: [email protected]
Subject: [kea-dev] Extending kea-shell
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

Hello,
after command channel was extended with optional parameter "services" e.g.
   {
        "command": "foo",
        "service": [ "dhcp4" ]
        "arguments": {
            "param1": "value1",
            "param2": "value2",
            ...
        }
    }

kea-shell is unable to build command with "service" list in it and
obviously we need to extend it. Question is how?

Is adding --service option to kea-shell good approach?
e.g. kea-shell --service=dhcp6/0 config-get
that could take list of target services:
e.g. kea-shell --service=dhcp6/0,dhcp6/1,dhcp4 config-get
?

Another question is should we change how we pass commands to the script?
Now it is: kea-shell [options] command. We could pass command also as
option e.g.:
kea-shell --service=dhcp6/0 --command=config-get

Any comments? :)
W?odek Wencel





------------------------------

Subject: Digest Footer

_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev

------------------------------

End of kea-dev Digest, Vol 37, Issue 3
**************************************

Reply via email to