diff options
| author | Tang Chen <chen.tang@easystack.cn> | 2016-02-24 14:56:35 +0800 |
|---|---|---|
| committer | Tang Chen <chen.tang@easystack.cn> | 2016-02-27 03:53:32 +0800 |
| commit | ada06f4dc3df39db5e739ebd8d82ccd734a54a93 (patch) | |
| tree | 30ffc19ee5a6c7d99a2505599e234925a5e88691 /openstackclient/api | |
| parent | 2819450be5d4fa57c6efdb4cd225f59bab894fba (diff) | |
| download | python-openstackclient-ada06f4dc3df39db5e739ebd8d82ccd734a54a93.tar.gz | |
Add MultiKeyValueAction to custom parser action
Class MultiKeyValueAction will be used to parse arguments like this:
--route destination=xxx,gateway=xxx --route destination=yyy,gateway=yyy
The result is a list like this:
[{destination:xxx, gateway:xxx}, {destination:yyy, gateway:yyy}]
This action also contain validation of the parameters.
Change-Id: Ie3aa8635c6a13fc2e429fe6922acd681dc7244cf
Diffstat (limited to 'openstackclient/api')
0 files changed, 0 insertions, 0 deletions
