mirror of https://github.com/apache/cloudstack.git
marvin_refactor: base classes for entity and factory
CloudStackEntity : represents the base entity. This is a placeholder for future use. Right now it only implements version info CloudStackBaseFactory: overloads AbstractFactory to provide custom hooks for CloudStackEntity creation. The current creators for cloudstack entities are any api actions that begin as create, deploy or register Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
03bb70904c
commit
8d16f03058
|
|
@ -15,7 +15,7 @@
|
|||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
cloudstack_version = "4.1.0"
|
||||
cloudstack_version = "4.2.0"
|
||||
|
||||
class CloudStackEntity(object):
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
import factory
|
||||
import inspect
|
||||
|
||||
CREATORS = ["create", "deploy"]
|
||||
CREATORS = ["create", "deploy", "register"]
|
||||
|
||||
|
||||
class CloudStackBaseFactory(factory.Factory):
|
||||
|
|
|
|||
Loading…
Reference in New Issue