Added validate_edp method to Plugin SPI doc

Change-Id: Ie14b914e15139396740573daf5b7a19592145d47
Closes-Bug: #1316219
(cherry picked from commit a99115c89f)
This commit is contained in:
Andrew Lazarev 2014-05-29 15:26:10 -07:00 committed by Sergey Lukjanov
parent a61a061603
commit 5f69b36d31
1 changed files with 9 additions and 1 deletions

View File

@ -45,7 +45,7 @@ Lists tags, that should be added to OpenStack Image via Image Registry. Tags are
*Example return value*: ["tag1", "some_other_tag", ...]
validate(cluster)
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~
Validates a given cluster object. Raises *SaharaException* with meaningful message.
@ -53,6 +53,14 @@ Validates a given cluster object. Raises *SaharaException* with meaningful messa
*Example exception*: <NotSingleNameNodeException {code='NOT_SINGLE_NAME_NODE', message='Hadoop cluster should contain only 1 NameNode instance. Actual NN count is 2' }>
validate_edp(cluster)
~~~~~~~~~~~~~~~~~~~~~
Validates that given cluster can be used to run EDP jobs. In case of
incompatibility raises *SaharaException* with meaningful message.
*Returns*: None
validate_scaling(cluster, existing, additional)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~