From 2d8ed1fe1399a273cedd53be461b0937bb33d497 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Mon, 13 Oct 2008 12:15:58 +0000 Subject: [PATCH] Some small typos on design docs Reviewed-by: imsnah --- doc/design-2.0-commandline-parameters.rst | 3 +-- doc/design-2.0-rapi-changes.rst | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/design-2.0-commandline-parameters.rst b/doc/design-2.0-commandline-parameters.rst index 7964d6f66..216bee45b 100644 --- a/doc/design-2.0-commandline-parameters.rst +++ b/doc/design-2.0-commandline-parameters.rst @@ -104,7 +104,7 @@ Disk Device Options The generic format of the disk device option is: - --disk $DEVNUM:[$OPTION=$VALUE][,$OPTION=VALUE] + --disk $DEVNUM[:$OPTION=$VALUE][,$OPTION=VALUE] :$DEVNUM: device number, unsigned integer, starting at 0, :$OPTION: device option, string, @@ -260,4 +260,3 @@ The generic format of the hypervisor clusterwide default setting option is: to set, string :$OPTION: cluster default option, string, :$VALUE: cluster default option value, string. - diff --git a/doc/design-2.0-rapi-changes.rst b/doc/design-2.0-rapi-changes.rst index 26f16575f..dce31bc38 100644 --- a/doc/design-2.0-rapi-changes.rst +++ b/doc/design-2.0-rapi-changes.rst @@ -81,6 +81,7 @@ condition. Resource representation ~~~~~~~~~~~~~~~~~~~~~~~ + The key difference of REST approach from others API is instead having one URI for all our requests, REST demand separate service by resources with unique URI. Each of them should have limited amount of stateless and standard HTTP @@ -110,7 +111,8 @@ operations. Security -~~~~~~~~ +-------- + With the write functionality security becomes much bigger an issue. The Ganeti RAPI uses basic HTTP authentication on top of SSL connection to grant access to an exported resource. The password stores locally in Apache-style .htpasswd -- GitLab