From a84b847a3409df445482674feffa2872a8cbae83 Mon Sep 17 00:00:00 2001
From: lj1412
+ * The following features are supported:
+ *
+ *
+ *
+ * If the meaning of the 'Url' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Url' attribute. + * @see #setUrl(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getHttpInstallationStep_Url() + * @model unique="false" + * @generated + */ + String getUrl(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.HttpInstallationStep#getUrl Url}' attribute. + * + * + * @param value the new value of the 'Url' attribute. + * @see #getUrl() + * @generated + */ + void setUrl(String value); + + /** + * Returns the value of the 'User Name' attribute. + * + *+ * If the meaning of the 'User Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'User Name' attribute. + * @see #setUserName(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getHttpInstallationStep_UserName() + * @model unique="false" + * @generated + */ + String getUserName(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.HttpInstallationStep#getUserName User Name}' attribute. + * + * + * @param value the new value of the 'User Name' attribute. + * @see #getUserName() + * @generated + */ + void setUserName(String value); + + /** + * Returns the value of the 'Password' attribute. + * + *+ * If the meaning of the 'Password' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Password' attribute. + * @see #setPassword(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getHttpInstallationStep_Password() + * @model unique="false" + * @generated + */ + String getPassword(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.HttpInstallationStep#getPassword Password}' attribute. + * + * + * @param value the new value of the 'Password' attribute. + * @see #getPassword() + * @generated + */ + void setPassword(String value); + + /** + * Returns the value of the 'Type' attribute. + * + *+ * If the meaning of the 'Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type' attribute. + * @see #setType(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getHttpInstallationStep_Type() + * @model unique="false" + * @generated + */ + String getType(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.HttpInstallationStep#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see #getType() + * @generated + */ + void setType(String value); + + /** + * Returns the value of the 'Artifact Id' attribute. + * + *+ * If the meaning of the 'Artifact Id' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Artifact Id' attribute. + * @see #setArtifactId(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getHttpInstallationStep_ArtifactId() + * @model unique="false" + * @generated + */ + String getArtifactId(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.HttpInstallationStep#getArtifactId Artifact Id}' attribute. + * + * + * @param value the new value of the 'Artifact Id' attribute. + * @see #getArtifactId() + * @generated + */ + void setArtifactId(String value); + +} // HttpInstallationStep diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/InstallationStep.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/InstallationStep.java new file mode 100644 index 0000000..7af4aad --- /dev/null +++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/InstallationStep.java @@ -0,0 +1,72 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.controller.service.vm; + +import org.openecomp.ncomp.core.NamedEntity; + +/** + * + * A representation of the model object 'Installation Step'. + * + * + *+ * The following features are supported: + *
"dcae"
.
+ *
+ * + * If the meaning of the 'Application Id' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Application Id' attribute. + * @see #setApplicationId(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getInstallationStep_ApplicationId() + * @model default="dcae" unique="false" + * @generated + */ + String getApplicationId(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.InstallationStep#getApplicationId Application Id}' attribute. + * + * + * @param value the new value of the 'Application Id' attribute. + * @see #getApplicationId() + * @generated + */ + void setApplicationId(String value); +} // InstallationStep diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/MavenArtifactInstallationStep.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/MavenArtifactInstallationStep.java new file mode 100644 index 0000000..6b01696 --- /dev/null +++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/MavenArtifactInstallationStep.java @@ -0,0 +1,178 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.controller.service.vm; + + +/** + * + * A representation of the model object 'Maven Artifact Installation Step'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Group Id' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Group Id' attribute. + * @see #setGroupId(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getMavenArtifactInstallationStep_GroupId() + * @model unique="false" + * @generated + */ + String getGroupId(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.MavenArtifactInstallationStep#getGroupId Group Id}' attribute. + * + * + * @param value the new value of the 'Group Id' attribute. + * @see #getGroupId() + * @generated + */ + void setGroupId(String value); + + /** + * Returns the value of the 'Artifact Id' attribute. + * + *+ * If the meaning of the 'Artifact Id' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Artifact Id' attribute. + * @see #setArtifactId(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getMavenArtifactInstallationStep_ArtifactId() + * @model unique="false" + * @generated + */ + String getArtifactId(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.MavenArtifactInstallationStep#getArtifactId Artifact Id}' attribute. + * + * + * @param value the new value of the 'Artifact Id' attribute. + * @see #getArtifactId() + * @generated + */ + void setArtifactId(String value); + + /** + * Returns the value of the 'Version' attribute. + * + *+ * If the meaning of the 'Version' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Version' attribute. + * @see #setVersion(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getMavenArtifactInstallationStep_Version() + * @model unique="false" + * @generated + */ + String getVersion(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.MavenArtifactInstallationStep#getVersion Version}' attribute. + * + * + * @param value the new value of the 'Version' attribute. + * @see #getVersion() + * @generated + */ + void setVersion(String value); + + /** + * Returns the value of the 'Type' attribute. + * + *+ * If the meaning of the 'Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type' attribute. + * @see #setType(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getMavenArtifactInstallationStep_Type() + * @model unique="false" + * @generated + */ + String getType(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.MavenArtifactInstallationStep#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see #getType() + * @generated + */ + void setType(String value); + + /** + * Returns the value of the 'Assembly Id' attribute. + * + *+ * If the meaning of the 'Assembly Id' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Assembly Id' attribute. + * @see #setAssemblyId(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getMavenArtifactInstallationStep_AssemblyId() + * @model unique="false" + * @generated + */ + String getAssemblyId(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.MavenArtifactInstallationStep#getAssemblyId Assembly Id}' attribute. + * + * + * @param value the new value of the 'Assembly Id' attribute. + * @see #getAssemblyId() + * @generated + */ + void setAssemblyId(String value); + +} // MavenArtifactInstallationStep diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/PhysicalMachine.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/PhysicalMachine.java new file mode 100644 index 0000000..f2ea0ed --- /dev/null +++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/PhysicalMachine.java @@ -0,0 +1,72 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.controller.service.vm; + +import org.openecomp.dcae.controller.core.server.DcaeBasicServer; + +/** + * + * A representation of the model object 'Physical Machine'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Manager Port Number' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Manager Port Number' attribute. + * @see #setManagerPortNumber(Integer) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getPhysicalMachine_ManagerPortNumber() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * @generated + */ + Integer getManagerPortNumber(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.PhysicalMachine#getManagerPortNumber Manager Port Number}' attribute. + * + * + * @param value the new value of the 'Manager Port Number' attribute. + * @see #getManagerPortNumber() + * @generated + */ + void setManagerPortNumber(Integer value); +} // PhysicalMachine diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/ShellInstallationStep.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/ShellInstallationStep.java new file mode 100644 index 0000000..85a6b2c --- /dev/null +++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/ShellInstallationStep.java @@ -0,0 +1,70 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.controller.service.vm; + + +/** + * + * A representation of the model object 'Shell Installation Step'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Command' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Command' attribute. + * @see #setCommand(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getShellInstallationStep_Command() + * @model unique="false" + * @generated + */ + String getCommand(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.ShellInstallationStep#getCommand Command}' attribute. + * + * + * @param value the new value of the 'Command' attribute. + * @see #getCommand() + * @generated + */ + void setCommand(String value); + +} // ShellInstallationStep diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachine.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachine.java new file mode 100644 index 0000000..5a96915 --- /dev/null +++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachine.java @@ -0,0 +1,152 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.controller.service.vm; + +import org.openecomp.dcae.controller.core.server.DcaeBasicServer; + +/** + * + * A representation of the model object 'Virtual Machine'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Function Index' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Function Index' attribute. + * @see #setFunctionIndex(int) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachine_FunctionIndex() + * @model unique="false" + * @generated + */ + int getFunctionIndex(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachine#getFunctionIndex Function Index}' attribute. + * + * + * @param value the new value of the 'Function Index' attribute. + * @see #getFunctionIndex() + * @generated + */ + void setFunctionIndex(int value); + + /** + * Returns the value of the 'Kvm Name' attribute. + * + *+ * If the meaning of the 'Kvm Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Kvm Name' attribute. + * @see #setKvmName(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachine_KvmName() + * @model unique="false" + * @generated + */ + String getKvmName(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachine#getKvmName Kvm Name}' attribute. + * + * + * @param value the new value of the 'Kvm Name' attribute. + * @see #getKvmName() + * @generated + */ + void setKvmName(String value); + + /** + * Returns the value of the 'Vnc' attribute. + * + *+ * If the meaning of the 'Vnc' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Vnc' attribute. + * @see #setVnc(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachine_Vnc() + * @model unique="false" + * @generated + */ + String getVnc(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachine#getVnc Vnc}' attribute. + * + * + * @param value the new value of the 'Vnc' attribute. + * @see #getVnc() + * @generated + */ + void setVnc(String value); + + /** + * Returns the value of the 'Gateway' attribute. + * + *+ * If the meaning of the 'Gateway' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Gateway' attribute. + * @see #setGateway(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachine_Gateway() + * @model unique="false" + * @generated + */ + String getGateway(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachine#getGateway Gateway}' attribute. + * + * + * @param value the new value of the 'Gateway' attribute. + * @see #getGateway() + * @generated + */ + void setGateway(String value); + +} // VirtualMachine diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachineService.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachineService.java new file mode 100644 index 0000000..9c73ebd --- /dev/null +++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachineService.java @@ -0,0 +1,102 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.controller.service.vm; + +import org.openecomp.dcae.controller.core.service.DcaeService; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Virtual Machine Service'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Instances' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Instances' containment reference list. + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineService_Instances() + * @see org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getService + * @model opposite="service" containment="true" + * @generated + */ + EList"9999"
.
+ *
+ * + * If the meaning of the 'Manager Port Number' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Manager Port Number' attribute. + * @see #setManagerPortNumber(int) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineService_ManagerPortNumber() + * @model default="9999" unique="false" + * annotation="http://openecomp.org type='configuration'" + * @generated + */ + int getManagerPortNumber(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineService#getManagerPortNumber Manager Port Number}' attribute. + * + * + * @param value the new value of the 'Manager Port Number' attribute. + * @see #getManagerPortNumber() + * @generated + */ + void setManagerPortNumber(int value); + + /** + * + * + * @model + * @generated + */ + void updateDeploymentStatus(); + +} // VirtualMachineService diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachineServiceConfiguration.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachineServiceConfiguration.java new file mode 100644 index 0000000..001bded --- /dev/null +++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachineServiceConfiguration.java @@ -0,0 +1,72 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.controller.service.vm; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Virtual Machine Service Configuration'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Configuration' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Configuration' attribute. + * @see #setConfiguration(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceConfiguration_Configuration() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * @generated + */ + String getConfiguration(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceConfiguration#getConfiguration Configuration}' attribute. + * + * + * @param value the new value of the 'Configuration' attribute. + * @see #getConfiguration() + * @generated + */ + void setConfiguration(String value); + +} // VirtualMachineServiceConfiguration diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachineServiceDescriptor.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachineServiceDescriptor.java new file mode 100644 index 0000000..5968258 --- /dev/null +++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/VirtualMachineServiceDescriptor.java @@ -0,0 +1,268 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.controller.service.vm; + +import org.openecomp.dcae.controller.core.service.DcaeServiceDescriptor; +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Virtual Machine Service Descriptor'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Service Package' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Service Package' attribute. + * @see #setServicePackage(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceDescriptor_ServicePackage() + * @model unique="false" + * @generated + */ + String getServicePackage(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceDescriptor#getServicePackage Service Package}' attribute. + * + * + * @param value the new value of the 'Service Package' attribute. + * @see #getServicePackage() + * @generated + */ + void setServicePackage(String value); + + /** + * Returns the value of the 'Service Class' attribute. + * + *+ * If the meaning of the 'Service Class' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Service Class' attribute. + * @see #setServiceClass(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceDescriptor_ServiceClass() + * @model unique="false" + * @generated + */ + String getServiceClass(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceDescriptor#getServiceClass Service Class}' attribute. + * + * + * @param value the new value of the 'Service Class' attribute. + * @see #getServiceClass() + * @generated + */ + void setServiceClass(String value); + + /** + * Returns the value of the 'Service Instance Class' attribute. + * + *+ * If the meaning of the 'Service Instance Class' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Service Instance Class' attribute. + * @see #setServiceInstanceClass(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceDescriptor_ServiceInstanceClass() + * @model unique="false" + * @generated + */ + String getServiceInstanceClass(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceDescriptor#getServiceInstanceClass Service Instance Class}' attribute. + * + * + * @param value the new value of the 'Service Instance Class' attribute. + * @see #getServiceInstanceClass() + * @generated + */ + void setServiceInstanceClass(String value); + + /** + * Returns the value of the 'Vm Type' attribute. + * + *+ * If the meaning of the 'Vm Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Vm Type' attribute. + * @see #setVmType(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceDescriptor_VmType() + * @model unique="false" + * @generated + */ + String getVmType(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceDescriptor#getVmType Vm Type}' attribute. + * + * + * @param value the new value of the 'Vm Type' attribute. + * @see #getVmType() + * @generated + */ + void setVmType(String value); + + /** + * Returns the value of the 'Manager Port Number' attribute. + * + *+ * If the meaning of the 'Manager Port Number' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Manager Port Number' attribute. + * @see #setManagerPortNumber(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceDescriptor_ManagerPortNumber() + * @model unique="false" + * @generated + */ + String getManagerPortNumber(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceDescriptor#getManagerPortNumber Manager Port Number}' attribute. + * + * + * @param value the new value of the 'Manager Port Number' attribute. + * @see #getManagerPortNumber() + * @generated + */ + void setManagerPortNumber(String value); + + /** + * Returns the value of the 'Manager User' attribute. + * + *+ * If the meaning of the 'Manager User' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Manager User' attribute. + * @see #setManagerUser(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceDescriptor_ManagerUser() + * @model unique="false" + * @generated + */ + String getManagerUser(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceDescriptor#getManagerUser Manager User}' attribute. + * + * + * @param value the new value of the 'Manager User' attribute. + * @see #getManagerUser() + * @generated + */ + void setManagerUser(String value); + + /** + * Returns the value of the 'Encrypted Password' attribute. + * + *+ * If the meaning of the 'Encrypted Password' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Encrypted Password' attribute. + * @see #setEncryptedPassword(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceDescriptor_EncryptedPassword() + * @model unique="false" + * @generated + */ + String getEncryptedPassword(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceDescriptor#getEncryptedPassword Encrypted Password}' attribute. + * + * + * @param value the new value of the 'Encrypted Password' attribute. + * @see #getEncryptedPassword() + * @generated + */ + void setEncryptedPassword(String value); + + /** + * Returns the value of the 'Users' attribute list. + * The list contents are of type {@link java.lang.String}. + * + *+ * If the meaning of the 'Users' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Users' attribute list. + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceDescriptor_Users() + * @model unique="false" + * @generated + */ + EList+ * If the meaning of the 'Admin Users' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Admin Users' attribute list. + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceDescriptor_AdminUsers() + * @model unique="false" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Location' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Location' reference. + * @see #setLocation(DcaeLocation) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_Location() + * @model + * @generated + */ + DcaeLocation getLocation(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getLocation Location}' reference. + * + * + * @param value the new value of the 'Location' reference. + * @see #getLocation() + * @generated + */ + void setLocation(DcaeLocation value); + + /** + * Returns the value of the 'Vm Type' reference. + * + *+ * If the meaning of the 'Vm Type' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Vm Type' reference. + * @see #setVmType(VirtualMachineType) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_VmType() + * @model annotation="http://openecomp.org type='service'" + * @generated + */ + VirtualMachineType getVmType(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getVmType Vm Type}' reference. + * + * + * @param value the new value of the 'Vm Type' reference. + * @see #getVmType() + * @generated + */ + void setVmType(VirtualMachineType value); + + /** + * Returns the value of the 'Users' reference list. + * The list contents are of type {@link org.openecomp.ncomp.core.User}. + * + *+ * If the meaning of the 'Users' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Users' reference list. + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_Users() + * @model annotation="http://openecomp.org type='service'" + * @generated + */ + EList+ * If the meaning of the 'Admin Users' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Admin Users' reference list. + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_AdminUsers() + * @model annotation="http://openecomp.org type='service'" + * @generated + */ + EList+ * If the meaning of the 'Application Ids' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Application Ids' attribute list. + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_ApplicationIds() + * @model unique="false" + * @generated + */ + EList+ * If the meaning of the 'Admin Id' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Admin Id' attribute. + * @see #setAdminId(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_AdminId() + * @model unique="false" + * @generated + */ + String getAdminId(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getAdminId Admin Id}' attribute. + * + * + * @param value the new value of the 'Admin Id' attribute. + * @see #getAdminId() + * @generated + */ + void setAdminId(String value); + + /** + * Returns the value of the 'Number Of Servers' attribute. + * The default value is"1"
.
+ *
+ * + * If the meaning of the 'Number Of Servers' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Number Of Servers' attribute. + * @see #setNumberOfServers(int) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_NumberOfServers() + * @model default="1" unique="false" + * annotation="http://openecomp.org type='service'" + * @generated + */ + int getNumberOfServers(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getNumberOfServers Number Of Servers}' attribute. + * + * + * @param value the new value of the 'Number Of Servers' attribute. + * @see #getNumberOfServers() + * @generated + */ + void setNumberOfServers(int value); + + /** + * Returns the value of the 'Availability Zone' attribute. + * + *+ * If the meaning of the 'Availability Zone' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Availability Zone' attribute. + * @see #setAvailabilityZone(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_AvailabilityZone() + * @model unique="false" + * annotation="http://openecomp.org type='service'" + * @generated + */ + String getAvailabilityZone(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getAvailabilityZone Availability Zone}' attribute. + * + * + * @param value the new value of the 'Availability Zone' attribute. + * @see #getAvailabilityZone() + * @generated + */ + void setAvailabilityZone(String value); + + /** + * Returns the value of the 'Manager Port Number' attribute. + * + *+ * If the meaning of the 'Manager Port Number' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Manager Port Number' attribute. + * @see #setManagerPortNumber(Integer) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_ManagerPortNumber() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * @generated + */ + Integer getManagerPortNumber(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getManagerPortNumber Manager Port Number}' attribute. + * + * + * @param value the new value of the 'Manager Port Number' attribute. + * @see #getManagerPortNumber() + * @generated + */ + void setManagerPortNumber(Integer value); + + /** + * Returns the value of the 'Servers' containment reference list. + * The list contents are of type {@link org.openecomp.dcae.controller.core.server.DcaeBasicServer}. + * + *+ * If the meaning of the 'Servers' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Servers' containment reference list. + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_Servers() + * @model containment="true" + * annotation="http://openecomp.org type='operational'" + * @generated + */ + EList+ * If the meaning of the 'Leader Server' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Leader Server' reference. + * @see #setLeaderServer(DcaeBasicServer) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_LeaderServer() + * @model + * @generated + */ + DcaeBasicServer getLeaderServer(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getLeaderServer Leader Server}' reference. + * + * + * @param value the new value of the 'Leader Server' reference. + * @see #getLeaderServer() + * @generated + */ + void setLeaderServer(DcaeBasicServer value); + + /** + * Returns the value of the 'Service' container reference. + * It is bidirectional and its opposite is '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineService#getInstances Instances}'. + * + *+ * If the meaning of the 'Service' container reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Service' container reference. + * @see #setService(VirtualMachineService) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_Service() + * @see org.openecomp.dcae.controller.service.vm.VirtualMachineService#getInstances + * @model opposite="instances" transient="false" + * annotation="http://openecomp.org type='operational'" + * @generated + */ + VirtualMachineService getService(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getService Service}' container reference. + * + * + * @param value the new value of the 'Service' container reference. + * @see #getService() + * @generated + */ + void setService(VirtualMachineService value); + + /** + * Returns the value of the 'Ieds Admin' attribute. + * + *+ * If the meaning of the 'Ieds Admin' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Ieds Admin' attribute. + * @see #setIedsAdmin(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_IedsAdmin() + * @model unique="false" + * @generated + */ + String getIedsAdmin(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getIedsAdmin Ieds Admin}' attribute. + * + * + * @param value the new value of the 'Ieds Admin' attribute. + * @see #getIedsAdmin() + * @generated + */ + void setIedsAdmin(String value); + + /** + * Returns the value of the 'Chef User' attribute. + * + *+ * If the meaning of the 'Chef User' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Chef User' attribute. + * @see #setChefUser(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_ChefUser() + * @model unique="false" + * @generated + */ + String getChefUser(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getChefUser Chef User}' attribute. + * + * + * @param value the new value of the 'Chef User' attribute. + * @see #getChefUser() + * @generated + */ + void setChefUser(String value); + + /** + * Returns the value of the 'Chef Org' attribute. + * + *+ * If the meaning of the 'Chef Org' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Chef Org' attribute. + * @see #setChefOrg(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_ChefOrg() + * @model unique="false" + * @generated + */ + String getChefOrg(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getChefOrg Chef Org}' attribute. + * + * + * @param value the new value of the 'Chef Org' attribute. + * @see #getChefOrg() + * @generated + */ + void setChefOrg(String value); + + /** + * Returns the value of the 'Chef Topology' attribute. + * + *+ * If the meaning of the 'Chef Topology' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Chef Topology' attribute. + * @see #setChefTopology(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_ChefTopology() + * @model unique="false" + * @generated + */ + String getChefTopology(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getChefTopology Chef Topology}' attribute. + * + * + * @param value the new value of the 'Chef Topology' attribute. + * @see #getChefTopology() + * @generated + */ + void setChefTopology(String value); + + /** + * Returns the value of the 'Openstack Flavor' attribute. + * + *+ * If the meaning of the 'Openstack Flavor' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Openstack Flavor' attribute. + * @see #setOpenstackFlavor(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_OpenstackFlavor() + * @model unique="false" + * @generated + */ + String getOpenstackFlavor(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getOpenstackFlavor Openstack Flavor}' attribute. + * + * + * @param value the new value of the 'Openstack Flavor' attribute. + * @see #getOpenstackFlavor() + * @generated + */ + void setOpenstackFlavor(String value); + + /** + * Returns the value of the 'Service Fqdn' attribute. + * + *+ * If the meaning of the 'Service Fqdn' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Service Fqdn' attribute. + * @see #setServiceFqdn(String) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_ServiceFqdn() + * @model unique="false" + * @generated + */ + String getServiceFqdn(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getServiceFqdn Service Fqdn}' attribute. + * + * + * @param value the new value of the 'Service Fqdn' attribute. + * @see #getServiceFqdn() + * @generated + */ + void setServiceFqdn(String value); + + /** + * Returns the value of the 'Deployment Timeout Minutes' attribute. + * The default value is"90"
.
+ *
+ * + * If the meaning of the 'Deployment Timeout Minutes' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Deployment Timeout Minutes' attribute. + * @see #setDeploymentTimeoutMinutes(int) + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_DeploymentTimeoutMinutes() + * @model default="90" unique="false" + * @generated + */ + int getDeploymentTimeoutMinutes(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance#getDeploymentTimeoutMinutes Deployment Timeout Minutes}' attribute. + * + * + * @param value the new value of the 'Deployment Timeout Minutes' attribute. + * @see #getDeploymentTimeoutMinutes() + * @generated + */ + void setDeploymentTimeoutMinutes(int value); + + /** + * Returns the value of the 'Steps' containment reference list. + * The list contents are of type {@link org.openecomp.dcae.controller.service.vm.InstallationStep}. + * + *+ * If the meaning of the 'Steps' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Steps' containment reference list. + * @see org.openecomp.dcae.controller.service.vm.VmPackage#getVirtualMachineServiceInstance_Steps() + * @model containment="true" + * @generated + */ + EList+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.openecomp.dcae.controller.service.vm.VmPackage#eNS_URI + * @see #init() + * @generated + */ + private VmPackageImpl() { + super(eNS_URI, VmFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link VmPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ *
+ *
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static VmPackage init() {
+ if (isInited) return (VmPackage)EPackage.Registry.INSTANCE.getEPackage(VmPackage.eNS_URI);
+
+ // Obtain or create and register package
+ VmPackageImpl theVmPackage = (VmPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof VmPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new VmPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ ServicePackage.eINSTANCE.eClass();
+ ServerPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theVmPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theVmPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theVmPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(VmPackage.eNS_URI, theVmPackage);
+ return theVmPackage;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getVirtualMachineService() {
+ return virtualMachineServiceEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVirtualMachineService_Instances() {
+ return (EReference)virtualMachineServiceEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineService_ManagerPortNumber() {
+ return (EAttribute)virtualMachineServiceEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EOperation getVirtualMachineService__UpdateDeploymentStatus() {
+ return virtualMachineServiceEClass.getEOperations().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getVirtualMachineServiceInstance() {
+ return virtualMachineServiceInstanceEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVirtualMachineServiceInstance_Location() {
+ return (EReference)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVirtualMachineServiceInstance_VmType() {
+ return (EReference)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVirtualMachineServiceInstance_Users() {
+ return (EReference)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVirtualMachineServiceInstance_AdminUsers() {
+ return (EReference)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_ApplicationIds() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_AdminId() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_NumberOfServers() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_AvailabilityZone() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_ManagerPortNumber() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVirtualMachineServiceInstance_Servers() {
+ return (EReference)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVirtualMachineServiceInstance_LeaderServer() {
+ return (EReference)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVirtualMachineServiceInstance_Service() {
+ return (EReference)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(11);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_IedsAdmin() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(12);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_ChefUser() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(13);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_ChefOrg() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(14);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_ChefTopology() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(15);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_OpenstackFlavor() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(16);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_ServiceFqdn() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(17);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceInstance_DeploymentTimeoutMinutes() {
+ return (EAttribute)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(18);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EReference getVirtualMachineServiceInstance_Steps() {
+ return (EReference)virtualMachineServiceInstanceEClass.getEStructuralFeatures().get(19);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getVirtualMachineServiceConfiguration() {
+ return virtualMachineServiceConfigurationEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceConfiguration_Configuration() {
+ return (EAttribute)virtualMachineServiceConfigurationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getVirtualMachineServiceDescriptor() {
+ return virtualMachineServiceDescriptorEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceDescriptor_ServicePackage() {
+ return (EAttribute)virtualMachineServiceDescriptorEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceDescriptor_ServiceClass() {
+ return (EAttribute)virtualMachineServiceDescriptorEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceDescriptor_ServiceInstanceClass() {
+ return (EAttribute)virtualMachineServiceDescriptorEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceDescriptor_VmType() {
+ return (EAttribute)virtualMachineServiceDescriptorEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceDescriptor_ManagerPortNumber() {
+ return (EAttribute)virtualMachineServiceDescriptorEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceDescriptor_ManagerUser() {
+ return (EAttribute)virtualMachineServiceDescriptorEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceDescriptor_EncryptedPassword() {
+ return (EAttribute)virtualMachineServiceDescriptorEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceDescriptor_Users() {
+ return (EAttribute)virtualMachineServiceDescriptorEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachineServiceDescriptor_AdminUsers() {
+ return (EAttribute)virtualMachineServiceDescriptorEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getPhysicalMachine() {
+ return physicalMachineEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getPhysicalMachine_ManagerPortNumber() {
+ return (EAttribute)physicalMachineEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getVirtualMachine() {
+ return virtualMachineEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachine_FunctionIndex() {
+ return (EAttribute)virtualMachineEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachine_KvmName() {
+ return (EAttribute)virtualMachineEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachine_Vnc() {
+ return (EAttribute)virtualMachineEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getVirtualMachine_Gateway() {
+ return (EAttribute)virtualMachineEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getInstallationStep() {
+ return installationStepEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getInstallationStep_ApplicationId() {
+ return (EAttribute)installationStepEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getShellInstallationStep() {
+ return shellInstallationStepEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getShellInstallationStep_Command() {
+ return (EAttribute)shellInstallationStepEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getMavenArtifactInstallationStep() {
+ return mavenArtifactInstallationStepEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getMavenArtifactInstallationStep_GroupId() {
+ return (EAttribute)mavenArtifactInstallationStepEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getMavenArtifactInstallationStep_ArtifactId() {
+ return (EAttribute)mavenArtifactInstallationStepEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getMavenArtifactInstallationStep_Version() {
+ return (EAttribute)mavenArtifactInstallationStepEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getMavenArtifactInstallationStep_Type() {
+ return (EAttribute)mavenArtifactInstallationStepEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getMavenArtifactInstallationStep_AssemblyId() {
+ return (EAttribute)mavenArtifactInstallationStepEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getHttpInstallationStep() {
+ return httpInstallationStepEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getHttpInstallationStep_Url() {
+ return (EAttribute)httpInstallationStepEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getHttpInstallationStep_UserName() {
+ return (EAttribute)httpInstallationStepEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getHttpInstallationStep_Password() {
+ return (EAttribute)httpInstallationStepEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getHttpInstallationStep_Type() {
+ return (EAttribute)httpInstallationStepEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getHttpInstallationStep_ArtifactId() {
+ return (EAttribute)httpInstallationStepEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public VmFactory getVmFactory() {
+ return (VmFactory)getEFactoryInstance();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ *
+ *
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ virtualMachineServiceEClass = createEClass(VIRTUAL_MACHINE_SERVICE);
+ createEReference(virtualMachineServiceEClass, VIRTUAL_MACHINE_SERVICE__INSTANCES);
+ createEAttribute(virtualMachineServiceEClass, VIRTUAL_MACHINE_SERVICE__MANAGER_PORT_NUMBER);
+ createEOperation(virtualMachineServiceEClass, VIRTUAL_MACHINE_SERVICE___UPDATE_DEPLOYMENT_STATUS);
+
+ virtualMachineServiceInstanceEClass = createEClass(VIRTUAL_MACHINE_SERVICE_INSTANCE);
+ createEReference(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__LOCATION);
+ createEReference(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__VM_TYPE);
+ createEReference(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__USERS);
+ createEReference(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__ADMIN_USERS);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__APPLICATION_IDS);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__ADMIN_ID);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__NUMBER_OF_SERVERS);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__AVAILABILITY_ZONE);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__MANAGER_PORT_NUMBER);
+ createEReference(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__SERVERS);
+ createEReference(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__LEADER_SERVER);
+ createEReference(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__SERVICE);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__IEDS_ADMIN);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__CHEF_USER);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__CHEF_ORG);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__CHEF_TOPOLOGY);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__OPENSTACK_FLAVOR);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__SERVICE_FQDN);
+ createEAttribute(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__DEPLOYMENT_TIMEOUT_MINUTES);
+ createEReference(virtualMachineServiceInstanceEClass, VIRTUAL_MACHINE_SERVICE_INSTANCE__STEPS);
+
+ virtualMachineServiceConfigurationEClass = createEClass(VIRTUAL_MACHINE_SERVICE_CONFIGURATION);
+ createEAttribute(virtualMachineServiceConfigurationEClass, VIRTUAL_MACHINE_SERVICE_CONFIGURATION__CONFIGURATION);
+
+ virtualMachineServiceDescriptorEClass = createEClass(VIRTUAL_MACHINE_SERVICE_DESCRIPTOR);
+ createEAttribute(virtualMachineServiceDescriptorEClass, VIRTUAL_MACHINE_SERVICE_DESCRIPTOR__SERVICE_PACKAGE);
+ createEAttribute(virtualMachineServiceDescriptorEClass, VIRTUAL_MACHINE_SERVICE_DESCRIPTOR__SERVICE_CLASS);
+ createEAttribute(virtualMachineServiceDescriptorEClass, VIRTUAL_MACHINE_SERVICE_DESCRIPTOR__SERVICE_INSTANCE_CLASS);
+ createEAttribute(virtualMachineServiceDescriptorEClass, VIRTUAL_MACHINE_SERVICE_DESCRIPTOR__VM_TYPE);
+ createEAttribute(virtualMachineServiceDescriptorEClass, VIRTUAL_MACHINE_SERVICE_DESCRIPTOR__MANAGER_PORT_NUMBER);
+ createEAttribute(virtualMachineServiceDescriptorEClass, VIRTUAL_MACHINE_SERVICE_DESCRIPTOR__MANAGER_USER);
+ createEAttribute(virtualMachineServiceDescriptorEClass, VIRTUAL_MACHINE_SERVICE_DESCRIPTOR__ENCRYPTED_PASSWORD);
+ createEAttribute(virtualMachineServiceDescriptorEClass, VIRTUAL_MACHINE_SERVICE_DESCRIPTOR__USERS);
+ createEAttribute(virtualMachineServiceDescriptorEClass, VIRTUAL_MACHINE_SERVICE_DESCRIPTOR__ADMIN_USERS);
+
+ physicalMachineEClass = createEClass(PHYSICAL_MACHINE);
+ createEAttribute(physicalMachineEClass, PHYSICAL_MACHINE__MANAGER_PORT_NUMBER);
+
+ virtualMachineEClass = createEClass(VIRTUAL_MACHINE);
+ createEAttribute(virtualMachineEClass, VIRTUAL_MACHINE__FUNCTION_INDEX);
+ createEAttribute(virtualMachineEClass, VIRTUAL_MACHINE__KVM_NAME);
+ createEAttribute(virtualMachineEClass, VIRTUAL_MACHINE__VNC);
+ createEAttribute(virtualMachineEClass, VIRTUAL_MACHINE__GATEWAY);
+
+ installationStepEClass = createEClass(INSTALLATION_STEP);
+ createEAttribute(installationStepEClass, INSTALLATION_STEP__APPLICATION_ID);
+
+ shellInstallationStepEClass = createEClass(SHELL_INSTALLATION_STEP);
+ createEAttribute(shellInstallationStepEClass, SHELL_INSTALLATION_STEP__COMMAND);
+
+ mavenArtifactInstallationStepEClass = createEClass(MAVEN_ARTIFACT_INSTALLATION_STEP);
+ createEAttribute(mavenArtifactInstallationStepEClass, MAVEN_ARTIFACT_INSTALLATION_STEP__GROUP_ID);
+ createEAttribute(mavenArtifactInstallationStepEClass, MAVEN_ARTIFACT_INSTALLATION_STEP__ARTIFACT_ID);
+ createEAttribute(mavenArtifactInstallationStepEClass, MAVEN_ARTIFACT_INSTALLATION_STEP__VERSION);
+ createEAttribute(mavenArtifactInstallationStepEClass, MAVEN_ARTIFACT_INSTALLATION_STEP__TYPE);
+ createEAttribute(mavenArtifactInstallationStepEClass, MAVEN_ARTIFACT_INSTALLATION_STEP__ASSEMBLY_ID);
+
+ httpInstallationStepEClass = createEClass(HTTP_INSTALLATION_STEP);
+ createEAttribute(httpInstallationStepEClass, HTTP_INSTALLATION_STEP__URL);
+ createEAttribute(httpInstallationStepEClass, HTTP_INSTALLATION_STEP__USER_NAME);
+ createEAttribute(httpInstallationStepEClass, HTTP_INSTALLATION_STEP__PASSWORD);
+ createEAttribute(httpInstallationStepEClass, HTTP_INSTALLATION_STEP__TYPE);
+ createEAttribute(httpInstallationStepEClass, HTTP_INSTALLATION_STEP__ARTIFACT_ID);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ *
+ *
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ ServicePackage theServicePackage = (ServicePackage)EPackage.Registry.INSTANCE.getEPackage(ServicePackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
+ org.openecomp.ncomp.core.CorePackage theCorePackage_1 = (org.openecomp.ncomp.core.CorePackage)EPackage.Registry.INSTANCE.getEPackage(org.openecomp.ncomp.core.CorePackage.eNS_URI);
+ ServerPackage theServerPackage = (ServerPackage)EPackage.Registry.INSTANCE.getEPackage(ServerPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ virtualMachineServiceEClass.getESuperTypes().add(theServicePackage.getDcaeService());
+ virtualMachineServiceInstanceEClass.getESuperTypes().add(theServicePackage.getDcaeServiceInstance());
+ virtualMachineServiceInstanceEClass.getESuperTypes().add(this.getVirtualMachineServiceConfiguration());
+ virtualMachineServiceDescriptorEClass.getESuperTypes().add(theServicePackage.getDcaeServiceDescriptor());
+ physicalMachineEClass.getESuperTypes().add(theServerPackage.getDcaeBasicServer());
+ virtualMachineEClass.getESuperTypes().add(theServerPackage.getDcaeBasicServer());
+ installationStepEClass.getESuperTypes().add(theCorePackage_1.getNamedEntity());
+ shellInstallationStepEClass.getESuperTypes().add(this.getInstallationStep());
+ mavenArtifactInstallationStepEClass.getESuperTypes().add(this.getInstallationStep());
+ httpInstallationStepEClass.getESuperTypes().add(this.getInstallationStep());
+
+ // Initialize classes, features, and operations; add parameters
+ initEClass(virtualMachineServiceEClass, VirtualMachineService.class, "VirtualMachineService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getVirtualMachineService_Instances(), this.getVirtualMachineServiceInstance(), this.getVirtualMachineServiceInstance_Service(), "instances", null, 0, -1, VirtualMachineService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineService_ManagerPortNumber(), theEcorePackage.getEInt(), "managerPortNumber", "9999", 0, 1, VirtualMachineService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEOperation(getVirtualMachineService__UpdateDeploymentStatus(), null, "updateDeploymentStatus", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ initEClass(virtualMachineServiceInstanceEClass, VirtualMachineServiceInstance.class, "VirtualMachineServiceInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getVirtualMachineServiceInstance_Location(), theServicePackage.getDcaeLocation(), null, "location", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getVirtualMachineServiceInstance_VmType(), theCorePackage.getVirtualMachineType(), null, "vmType", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getVirtualMachineServiceInstance_Users(), theCorePackage_1.getUser(), null, "users", null, 0, -1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getVirtualMachineServiceInstance_AdminUsers(), theCorePackage_1.getUser(), null, "adminUsers", null, 0, -1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_ApplicationIds(), theEcorePackage.getEString(), "applicationIds", null, 0, -1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_AdminId(), theEcorePackage.getEString(), "adminId", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_NumberOfServers(), theEcorePackage.getEInt(), "numberOfServers", "1", 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_AvailabilityZone(), theEcorePackage.getEString(), "availabilityZone", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_ManagerPortNumber(), theEcorePackage.getEIntegerObject(), "managerPortNumber", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getVirtualMachineServiceInstance_Servers(), theServerPackage.getDcaeBasicServer(), null, "servers", null, 0, -1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getVirtualMachineServiceInstance_LeaderServer(), theServerPackage.getDcaeBasicServer(), null, "leaderServer", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getVirtualMachineServiceInstance_Service(), this.getVirtualMachineService(), this.getVirtualMachineService_Instances(), "service", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_IedsAdmin(), theEcorePackage.getEString(), "iedsAdmin", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_ChefUser(), theEcorePackage.getEString(), "chefUser", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_ChefOrg(), theEcorePackage.getEString(), "chefOrg", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_ChefTopology(), theEcorePackage.getEString(), "chefTopology", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_OpenstackFlavor(), theEcorePackage.getEString(), "openstackFlavor", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_ServiceFqdn(), theEcorePackage.getEString(), "serviceFqdn", null, 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceInstance_DeploymentTimeoutMinutes(), theEcorePackage.getEInt(), "deploymentTimeoutMinutes", "90", 0, 1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getVirtualMachineServiceInstance_Steps(), this.getInstallationStep(), null, "steps", null, 0, -1, VirtualMachineServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(virtualMachineServiceConfigurationEClass, VirtualMachineServiceConfiguration.class, "VirtualMachineServiceConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getVirtualMachineServiceConfiguration_Configuration(), theEcorePackage.getEString(), "configuration", null, 0, 1, VirtualMachineServiceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(virtualMachineServiceDescriptorEClass, VirtualMachineServiceDescriptor.class, "VirtualMachineServiceDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getVirtualMachineServiceDescriptor_ServicePackage(), theEcorePackage.getEString(), "servicePackage", null, 0, 1, VirtualMachineServiceDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceDescriptor_ServiceClass(), theEcorePackage.getEString(), "serviceClass", null, 0, 1, VirtualMachineServiceDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceDescriptor_ServiceInstanceClass(), theEcorePackage.getEString(), "serviceInstanceClass", null, 0, 1, VirtualMachineServiceDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceDescriptor_VmType(), theEcorePackage.getEString(), "vmType", null, 0, 1, VirtualMachineServiceDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceDescriptor_ManagerPortNumber(), theEcorePackage.getEString(), "managerPortNumber", null, 0, 1, VirtualMachineServiceDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceDescriptor_ManagerUser(), theEcorePackage.getEString(), "managerUser", null, 0, 1, VirtualMachineServiceDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceDescriptor_EncryptedPassword(), theEcorePackage.getEString(), "encryptedPassword", null, 0, 1, VirtualMachineServiceDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceDescriptor_Users(), theEcorePackage.getEString(), "users", null, 0, -1, VirtualMachineServiceDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachineServiceDescriptor_AdminUsers(), theEcorePackage.getEString(), "adminUsers", null, 0, -1, VirtualMachineServiceDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(physicalMachineEClass, PhysicalMachine.class, "PhysicalMachine", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPhysicalMachine_ManagerPortNumber(), theEcorePackage.getEIntegerObject(), "managerPortNumber", null, 0, 1, PhysicalMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(virtualMachineEClass, VirtualMachine.class, "VirtualMachine", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getVirtualMachine_FunctionIndex(), theEcorePackage.getEInt(), "functionIndex", null, 0, 1, VirtualMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachine_KvmName(), theEcorePackage.getEString(), "kvmName", null, 0, 1, VirtualMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachine_Vnc(), theEcorePackage.getEString(), "vnc", null, 0, 1, VirtualMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getVirtualMachine_Gateway(), theEcorePackage.getEString(), "gateway", null, 0, 1, VirtualMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(installationStepEClass, InstallationStep.class, "InstallationStep", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getInstallationStep_ApplicationId(), theEcorePackage.getEString(), "applicationId", "dcae", 0, 1, InstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(shellInstallationStepEClass, ShellInstallationStep.class, "ShellInstallationStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getShellInstallationStep_Command(), theEcorePackage.getEString(), "command", null, 0, 1, ShellInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(mavenArtifactInstallationStepEClass, MavenArtifactInstallationStep.class, "MavenArtifactInstallationStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getMavenArtifactInstallationStep_GroupId(), theEcorePackage.getEString(), "groupId", null, 0, 1, MavenArtifactInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMavenArtifactInstallationStep_ArtifactId(), theEcorePackage.getEString(), "artifactId", null, 0, 1, MavenArtifactInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMavenArtifactInstallationStep_Version(), theEcorePackage.getEString(), "version", null, 0, 1, MavenArtifactInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMavenArtifactInstallationStep_Type(), theEcorePackage.getEString(), "type", null, 0, 1, MavenArtifactInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMavenArtifactInstallationStep_AssemblyId(), theEcorePackage.getEString(), "assemblyId", null, 0, 1, MavenArtifactInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(httpInstallationStepEClass, HttpInstallationStep.class, "HttpInstallationStep", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getHttpInstallationStep_Url(), theEcorePackage.getEString(), "url", null, 0, 1, HttpInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getHttpInstallationStep_UserName(), theEcorePackage.getEString(), "userName", null, 0, 1, HttpInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getHttpInstallationStep_Password(), theEcorePackage.getEString(), "password", null, 0, 1, HttpInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getHttpInstallationStep_Type(), theEcorePackage.getEString(), "type", null, 0, 1, HttpInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getHttpInstallationStep_ArtifactId(), theEcorePackage.getEString(), "artifactId", null, 0, 1, HttpInstallationStep.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http://www.eclipse.org/emf/2011/Xcore
+ createXcoreAnnotations();
+ // http://openecomp.org
+ createEcompAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for http://www.eclipse.org/emf/2011/Xcore.
+ *
+ *
+ * @generated
+ */
+ protected void createXcoreAnnotations() {
+ String source = "http://www.eclipse.org/emf/2011/Xcore";
+ addAnnotation
+ (this,
+ source,
+ new String[] {
+ "ecomp", "http://openecomp.org"
+ });
+ }
+
+ /**
+ * Initializes the annotations for http://openecomp.org.
+ *
+ *
+ * @generated
+ */
+ protected void createEcompAnnotations() {
+ String source = "http://openecomp.org";
+ addAnnotation
+ (getVirtualMachineService_ManagerPortNumber(),
+ source,
+ new String[] {
+ "type", "configuration"
+ });
+ addAnnotation
+ (getVirtualMachineServiceInstance_VmType(),
+ source,
+ new String[] {
+ "type", "service"
+ });
+ addAnnotation
+ (getVirtualMachineServiceInstance_Users(),
+ source,
+ new String[] {
+ "type", "service"
+ });
+ addAnnotation
+ (getVirtualMachineServiceInstance_AdminUsers(),
+ source,
+ new String[] {
+ "type", "service"
+ });
+ addAnnotation
+ (getVirtualMachineServiceInstance_NumberOfServers(),
+ source,
+ new String[] {
+ "type", "service"
+ });
+ addAnnotation
+ (getVirtualMachineServiceInstance_AvailabilityZone(),
+ source,
+ new String[] {
+ "type", "service"
+ });
+ addAnnotation
+ (getVirtualMachineServiceInstance_ManagerPortNumber(),
+ source,
+ new String[] {
+ "type", "configuration"
+ });
+ addAnnotation
+ (getVirtualMachineServiceInstance_Servers(),
+ source,
+ new String[] {
+ "type", "operational"
+ });
+ addAnnotation
+ (getVirtualMachineServiceInstance_Service(),
+ source,
+ new String[] {
+ "type", "operational"
+ });
+ addAnnotation
+ (getVirtualMachineServiceConfiguration_Configuration(),
+ source,
+ new String[] {
+ "type", "configuration"
+ });
+ addAnnotation
+ (getPhysicalMachine_ManagerPortNumber(),
+ source,
+ new String[] {
+ "type", "configuration"
+ });
+ }
+
+} //VmPackageImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/util/VmAdapterFactory.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/util/VmAdapterFactory.java
new file mode 100644
index 0000000..e7818a4
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/util/VmAdapterFactory.java
@@ -0,0 +1,440 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.vm.util;
+
+import org.openecomp.dcae.controller.core.server.DcaeBasicServer;
+
+import org.openecomp.dcae.controller.core.service.DcaeService;
+
+import org.openecomp.dcae.controller.core.service.DcaeServiceDescriptor;
+import org.openecomp.dcae.controller.core.service.DcaeServiceInstance;
+import org.openecomp.dcae.controller.service.vm.*;
+
+import org.openecomp.ncomp.core.HasOperationalState;
+import org.openecomp.ncomp.core.NamedEntity;
+
+import org.openecomp.ncomp.core.logs.LogMessageContainer;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ *
+ * The Adapter Factory for the model.
+ * It provides an adapter
+ * The following features are implemented:
+ * createXXX
method for each class of the model.
+ *
+ * @see org.openecomp.dcae.controller.service.vm.VmPackage
+ * @generated
+ */
+public class VmAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static VmPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public VmAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = VmPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected VmSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineService Virtual Machine Service}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.VirtualMachineService
+ * @generated
+ */
+ public Adapter createVirtualMachineServiceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance Virtual Machine Service Instance}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance
+ * @generated
+ */
+ public Adapter createVirtualMachineServiceInstanceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceConfiguration Virtual Machine Service Configuration}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.VirtualMachineServiceConfiguration
+ * @generated
+ */
+ public Adapter createVirtualMachineServiceConfigurationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceDescriptor Virtual Machine Service Descriptor}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.VirtualMachineServiceDescriptor
+ * @generated
+ */
+ public Adapter createVirtualMachineServiceDescriptorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.PhysicalMachine Physical Machine}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.PhysicalMachine
+ * @generated
+ */
+ public Adapter createPhysicalMachineAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.VirtualMachine Virtual Machine}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.VirtualMachine
+ * @generated
+ */
+ public Adapter createVirtualMachineAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.InstallationStep Installation Step}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.InstallationStep
+ * @generated
+ */
+ public Adapter createInstallationStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.ShellInstallationStep Shell Installation Step}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.ShellInstallationStep
+ * @generated
+ */
+ public Adapter createShellInstallationStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.MavenArtifactInstallationStep Maven Artifact Installation Step}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.MavenArtifactInstallationStep
+ * @generated
+ */
+ public Adapter createMavenArtifactInstallationStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.HttpInstallationStep Http Installation Step}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.HttpInstallationStep
+ * @generated
+ */
+ public Adapter createHttpInstallationStepAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.core.NamedEntity Named Entity}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.core.NamedEntity
+ * @generated
+ */
+ public Adapter createNamedEntityAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.core.service.DcaeService Dcae Service}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.core.service.DcaeService
+ * @generated
+ */
+ public Adapter createDcaeServiceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.core.service.DcaeServiceInstance Dcae Service Instance}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.core.service.DcaeServiceInstance
+ * @generated
+ */
+ public Adapter createDcaeServiceInstanceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.core.service.DcaeServiceDescriptor Dcae Service Descriptor}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.core.service.DcaeServiceDescriptor
+ * @generated
+ */
+ public Adapter createDcaeServiceDescriptorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.core.HasOperationalState Has Operational State}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.core.HasOperationalState
+ * @generated
+ */
+ public Adapter createHasOperationalStateAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.core.logs.LogMessageContainer Log Message Container}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.core.logs.LogMessageContainer
+ * @generated
+ */
+ public Adapter createLogMessageContainerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.core.server.DcaeBasicServer Dcae Basic Server}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.core.server.DcaeBasicServer
+ * @generated
+ */
+ public Adapter createDcaeBasicServerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //VmAdapterFactory
diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/util/VmSwitch.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/util/VmSwitch.java
new file mode 100644
index 0000000..a8baa5a
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vm/util/VmSwitch.java
@@ -0,0 +1,458 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.vm.util;
+
+import org.openecomp.dcae.controller.core.server.DcaeBasicServer;
+
+import org.openecomp.dcae.controller.core.service.DcaeService;
+
+import org.openecomp.dcae.controller.core.service.DcaeServiceDescriptor;
+import org.openecomp.dcae.controller.core.service.DcaeServiceInstance;
+import org.openecomp.dcae.controller.service.vm.*;
+
+import org.openecomp.ncomp.core.HasOperationalState;
+import org.openecomp.ncomp.core.NamedEntity;
+
+import org.openecomp.ncomp.core.logs.LogMessageContainer;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.Switch;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ *
+ * @see org.openecomp.dcae.controller.service.vm.VmPackage
+ * @generated
+ */
+public class VmSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case VmPackage.VIRTUAL_MACHINE_SERVICE: {
+ VirtualMachineService virtualMachineService = (VirtualMachineService)theEObject;
+ T result = caseVirtualMachineService(virtualMachineService);
+ if (result == null) result = caseDcaeService(virtualMachineService);
+ if (result == null) result = caseNamedEntity(virtualMachineService);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE: {
+ VirtualMachineServiceInstance virtualMachineServiceInstance = (VirtualMachineServiceInstance)theEObject;
+ T result = caseVirtualMachineServiceInstance(virtualMachineServiceInstance);
+ if (result == null) result = caseDcaeServiceInstance(virtualMachineServiceInstance);
+ if (result == null) result = caseVirtualMachineServiceConfiguration(virtualMachineServiceInstance);
+ if (result == null) result = caseNamedEntity(virtualMachineServiceInstance);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case VmPackage.VIRTUAL_MACHINE_SERVICE_CONFIGURATION: {
+ VirtualMachineServiceConfiguration virtualMachineServiceConfiguration = (VirtualMachineServiceConfiguration)theEObject;
+ T result = caseVirtualMachineServiceConfiguration(virtualMachineServiceConfiguration);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case VmPackage.VIRTUAL_MACHINE_SERVICE_DESCRIPTOR: {
+ VirtualMachineServiceDescriptor virtualMachineServiceDescriptor = (VirtualMachineServiceDescriptor)theEObject;
+ T result = caseVirtualMachineServiceDescriptor(virtualMachineServiceDescriptor);
+ if (result == null) result = caseDcaeServiceDescriptor(virtualMachineServiceDescriptor);
+ if (result == null) result = caseNamedEntity(virtualMachineServiceDescriptor);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case VmPackage.PHYSICAL_MACHINE: {
+ PhysicalMachine physicalMachine = (PhysicalMachine)theEObject;
+ T result = casePhysicalMachine(physicalMachine);
+ if (result == null) result = caseDcaeBasicServer(physicalMachine);
+ if (result == null) result = caseNamedEntity(physicalMachine);
+ if (result == null) result = caseHasOperationalState(physicalMachine);
+ if (result == null) result = caseLogMessageContainer(physicalMachine);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case VmPackage.VIRTUAL_MACHINE: {
+ VirtualMachine virtualMachine = (VirtualMachine)theEObject;
+ T result = caseVirtualMachine(virtualMachine);
+ if (result == null) result = caseDcaeBasicServer(virtualMachine);
+ if (result == null) result = caseNamedEntity(virtualMachine);
+ if (result == null) result = caseHasOperationalState(virtualMachine);
+ if (result == null) result = caseLogMessageContainer(virtualMachine);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case VmPackage.INSTALLATION_STEP: {
+ InstallationStep installationStep = (InstallationStep)theEObject;
+ T result = caseInstallationStep(installationStep);
+ if (result == null) result = caseNamedEntity(installationStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case VmPackage.SHELL_INSTALLATION_STEP: {
+ ShellInstallationStep shellInstallationStep = (ShellInstallationStep)theEObject;
+ T result = caseShellInstallationStep(shellInstallationStep);
+ if (result == null) result = caseInstallationStep(shellInstallationStep);
+ if (result == null) result = caseNamedEntity(shellInstallationStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case VmPackage.MAVEN_ARTIFACT_INSTALLATION_STEP: {
+ MavenArtifactInstallationStep mavenArtifactInstallationStep = (MavenArtifactInstallationStep)theEObject;
+ T result = caseMavenArtifactInstallationStep(mavenArtifactInstallationStep);
+ if (result == null) result = caseInstallationStep(mavenArtifactInstallationStep);
+ if (result == null) result = caseNamedEntity(mavenArtifactInstallationStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case VmPackage.HTTP_INSTALLATION_STEP: {
+ HttpInstallationStep httpInstallationStep = (HttpInstallationStep)theEObject;
+ T result = caseHttpInstallationStep(httpInstallationStep);
+ if (result == null) result = caseInstallationStep(httpInstallationStep);
+ if (result == null) result = caseNamedEntity(httpInstallationStep);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Virtual Machine Service'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Virtual Machine Service'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVirtualMachineService(VirtualMachineService object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Virtual Machine Service Instance'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Virtual Machine Service Instance'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVirtualMachineServiceInstance(VirtualMachineServiceInstance object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Virtual Machine Service Configuration'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Virtual Machine Service Configuration'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVirtualMachineServiceConfiguration(VirtualMachineServiceConfiguration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Virtual Machine Service Descriptor'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Virtual Machine Service Descriptor'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVirtualMachineServiceDescriptor(VirtualMachineServiceDescriptor object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Physical Machine'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Physical Machine'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePhysicalMachine(PhysicalMachine object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Virtual Machine'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Virtual Machine'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVirtualMachine(VirtualMachine object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Installation Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Installation Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInstallationStep(InstallationStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Shell Installation Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Shell Installation Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseShellInstallationStep(ShellInstallationStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Maven Artifact Installation Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Maven Artifact Installation Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMavenArtifactInstallationStep(MavenArtifactInstallationStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Http Installation Step'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Http Installation Step'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseHttpInstallationStep(HttpInstallationStep object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Named Entity'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Named Entity'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNamedEntity(NamedEntity object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Dcae Service'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Dcae Service'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDcaeService(DcaeService object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Dcae Service Instance'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Dcae Service Instance'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDcaeServiceInstance(DcaeServiceInstance object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Dcae Service Descriptor'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Dcae Service Descriptor'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDcaeServiceDescriptor(DcaeServiceDescriptor object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Has Operational State'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Has Operational State'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseHasOperationalState(HasOperationalState object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Log Message Container'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Log Message Container'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLogMessageContainer(LogMessageContainer object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Dcae Basic Server'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Dcae Basic Server'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDcaeBasicServer(DcaeBasicServer object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //VmSwitch
diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/VirtualMachineManager.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/VirtualMachineManager.java
new file mode 100644
index 0000000..ec06281
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/VirtualMachineManager.java
@@ -0,0 +1,40 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.vmmanager;
+
+import org.openecomp.dcae.controller.core.manager.DcaeManager;
+import org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer;
+
+/**
+ *
+ * A representation of the model object 'Virtual Machine Manager'.
+ *
+ *
+ *
+ * @see org.openecomp.dcae.controller.service.vmmanager.VmmanagerPackage#getVirtualMachineManager()
+ * @model
+ * @generated
+ */
+public interface VirtualMachineManager extends DcaeManager, AbstractManagementServer {
+} // VirtualMachineManager
diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/VmmanagerFactory.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/VmmanagerFactory.java
new file mode 100644
index 0000000..823a4b1
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/VmmanagerFactory.java
@@ -0,0 +1,63 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.vmmanager;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ *
+ * The Factory for the model.
+ * It provides a create method for each non-abstract class of the model.
+ *
+ * @see org.openecomp.dcae.controller.service.vmmanager.VmmanagerPackage
+ * @generated
+ */
+public interface VmmanagerFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ *
+ *
+ * @generated
+ */
+ VmmanagerFactory eINSTANCE = org.openecomp.dcae.controller.service.vmmanager.impl.VmmanagerFactoryImpl.init();
+
+ /**
+ * Returns a new object of class 'Virtual Machine Manager'.
+ *
+ *
+ * @return a new object of class 'Virtual Machine Manager'.
+ * @generated
+ */
+ VirtualMachineManager createVirtualMachineManager();
+
+ /**
+ * Returns the package supported by this factory.
+ *
+ *
+ * @return the package supported by this factory.
+ * @generated
+ */
+ VmmanagerPackage getVmmanagerPackage();
+
+} //VmmanagerFactory
diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/VmmanagerPackage.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/VmmanagerPackage.java
new file mode 100644
index 0000000..ebb15f5
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/VmmanagerPackage.java
@@ -0,0 +1,336 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.vmmanager;
+
+import org.openecomp.dcae.controller.core.manager.ManagerPackage;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+
+/**
+ *
+ * The Package for the model.
+ * It contains accessors for the meta objects to represent
+ *
+ *
+ *
+ * @see org.openecomp.dcae.controller.service.vmmanager.VmmanagerFactory
+ * @model kind="package"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel modelDirectory='/dcae-controller-service-vm-model/src/main/xcore-gen' basePackage='org.openecomp.dcae.controller.service'"
+ * annotation="http://www.eclipse.org/emf/2011/Xcore ecomp='http://openecomp.org'"
+ * @generated
+ */
+public interface VmmanagerPackage extends EPackage {
+ /**
+ * The package name.
+ *
+ *
+ * @generated
+ */
+ String eNAME = "vmmanager";
+
+ /**
+ * The package namespace URI.
+ *
+ *
+ * @generated
+ */
+ String eNS_URI = "org.openecomp.dcae.controller.service.vmmanager";
+
+ /**
+ * The package namespace name.
+ *
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "vmmanager";
+
+ /**
+ * The singleton instance of the package.
+ *
+ *
+ * @generated
+ */
+ VmmanagerPackage eINSTANCE = org.openecomp.dcae.controller.service.vmmanager.impl.VmmanagerPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.openecomp.dcae.controller.service.vmmanager.impl.VirtualMachineManagerImpl Virtual Machine Manager}' class.
+ *
+ *
+ * @see org.openecomp.dcae.controller.service.vmmanager.impl.VirtualMachineManagerImpl
+ * @see org.openecomp.dcae.controller.service.vmmanager.impl.VmmanagerPackageImpl#getVirtualMachineManager()
+ * @generated
+ */
+ int VIRTUAL_MACHINE_MANAGER = 0;
+
+ /**
+ * The feature id for the 'Input Streams' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER__INPUT_STREAMS = ManagerPackage.DCAE_MANAGER__INPUT_STREAMS;
+
+ /**
+ * The feature id for the 'Output Streams' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER__OUTPUT_STREAMS = ManagerPackage.DCAE_MANAGER__OUTPUT_STREAMS;
+
+ /**
+ * The feature id for the 'Configuration' containment reference.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER__CONFIGURATION = ManagerPackage.DCAE_MANAGER_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the 'Component' containment reference.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER__COMPONENT = ManagerPackage.DCAE_MANAGER_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the 'Virtual Machine Manager' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER_FEATURE_COUNT = ManagerPackage.DCAE_MANAGER_FEATURE_COUNT + 2;
+
+ /**
+ * The operation id for the 'Test' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___TEST = ManagerPackage.DCAE_MANAGER___TEST;
+
+ /**
+ * The operation id for the 'Suspend' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___SUSPEND = ManagerPackage.DCAE_MANAGER___SUSPEND;
+
+ /**
+ * The operation id for the 'Resume' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___RESUME = ManagerPackage.DCAE_MANAGER___RESUME;
+
+ /**
+ * The operation id for the 'Public Key' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___PUBLIC_KEY = ManagerPackage.DCAE_MANAGER___PUBLIC_KEY;
+
+ /**
+ * The operation id for the 'Configuration Changed' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___CONFIGURATION_CHANGED = ManagerPackage.DCAE_MANAGER___CONFIGURATION_CHANGED;
+
+ /**
+ * The operation id for the 'Update Streams' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___UPDATE_STREAMS__ELIST_ELIST = ManagerPackage.DCAE_MANAGER___UPDATE_STREAMS__ELIST_ELIST;
+
+ /**
+ * The operation id for the 'Logs' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___LOGS__JSONOBJECT_ELIST = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 0;
+
+ /**
+ * The operation id for the 'Metrics' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___METRICS__JSONOBJECT_ELIST = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 1;
+
+ /**
+ * The operation id for the 'Properties' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___PROPERTIES__JSONOBJECT_ELIST = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 2;
+
+ /**
+ * The operation id for the 'Upload Info' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___UPLOAD_INFO__JSONOBJECT_ELIST = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 3;
+
+ /**
+ * The operation id for the 'Get Values' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___GET_VALUES__JSONOBJECT_STRING_LONG_LONG_METRICVALUEOPTION_BOOLEAN = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 4;
+
+ /**
+ * The operation id for the 'Get Values All' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___GET_VALUES_ALL__JSONOBJECT_STRING_ELIST_LONG_LONG_METRICVALUEOPTION_BOOLEAN = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 5;
+
+ /**
+ * The operation id for the 'Get Messages' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___GET_MESSAGES__JSONOBJECT_STRING_LONG_LONG = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 6;
+
+ /**
+ * The operation id for the 'Get Request Logger' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___GET_REQUEST_LOGGER__STRING_STRING_STRING_JSONOBJECT = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 7;
+
+ /**
+ * The operation id for the 'Evaluate' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___EVALUATE__STRING_FUNCTION = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 8;
+
+ /**
+ * The operation id for the 'Update' operation.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER___UPDATE__STRING_FUNCTION = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 9;
+
+ /**
+ * The number of operations of the 'Virtual Machine Manager' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int VIRTUAL_MACHINE_MANAGER_OPERATION_COUNT = ManagerPackage.DCAE_MANAGER_OPERATION_COUNT + 10;
+
+
+ /**
+ * Returns the meta object for class '{@link org.openecomp.dcae.controller.service.vmmanager.VirtualMachineManager Virtual Machine Manager}'.
+ *
+ *
+ * @return the meta object for class 'Virtual Machine Manager'.
+ * @see org.openecomp.dcae.controller.service.vmmanager.VirtualMachineManager
+ * @generated
+ */
+ EClass getVirtualMachineManager();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ *
+ *
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ VmmanagerFactory getVmmanagerFactory();
+
+ /**
+ *
+ * Defines literals for the meta objects that represent
+ *
+ *
+ *
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.openecomp.dcae.controller.service.vmmanager.impl.VirtualMachineManagerImpl Virtual Machine Manager}' class.
+ *
+ *
+ * @see org.openecomp.dcae.controller.service.vmmanager.impl.VirtualMachineManagerImpl
+ * @see org.openecomp.dcae.controller.service.vmmanager.impl.VmmanagerPackageImpl#getVirtualMachineManager()
+ * @generated
+ */
+ EClass VIRTUAL_MACHINE_MANAGER = eINSTANCE.getVirtualMachineManager();
+
+ }
+
+} //VmmanagerPackage
diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/impl/VirtualMachineManagerImpl.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/impl/VirtualMachineManagerImpl.java
new file mode 100644
index 0000000..0eef01d
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/impl/VirtualMachineManagerImpl.java
@@ -0,0 +1,515 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.vmmanager.impl;
+
+import org.openecomp.dcae.controller.core.manager.impl.DcaeManagerImpl;
+
+import org.openecomp.dcae.controller.service.vmmanager.VirtualMachineManager;
+import org.openecomp.dcae.controller.service.vmmanager.VmmanagerPackage;
+
+import org.openecomp.ncomp.component.Component;
+import org.openecomp.ncomp.core.function.Function;
+import org.openecomp.ncomp.core.function.ValuePair;
+import org.openecomp.ncomp.core.logs.LogMessage;
+import org.openecomp.ncomp.core.metrics.DoubleMetric;
+import org.openecomp.ncomp.core.metrics.Metric;
+import org.openecomp.ncomp.core.metrics.MetricValueOption;
+import org.openecomp.ncomp.sirius.manager.properties.AbstractProperty;
+import org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer;
+import org.openecomp.ncomp.sirius.manager.server.AbstractManagementServerConfiguration;
+import org.openecomp.ncomp.sirius.manager.server.LoggerInfo;
+import org.openecomp.ncomp.sirius.manager.server.ManagementInfo;
+import org.openecomp.ncomp.sirius.manager.server.ServerPackage;
+import org.openecomp.ncomp.sirius.manager.server.SouthBoundApi;
+import org.openecomp.ncomp.sirius.manager.server.SouthBoundApiWithProxy;
+import java.lang.reflect.InvocationTargetException;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.json.JSONObject;
+
+/**
+ *
+ * An implementation of the model object 'Virtual Machine Manager'.
+ *
+ *
+ *
+ *
Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.openecomp.dcae.controller.service.vmmanager.VmmanagerPackage#eNS_URI + * @see #init() + * @generated + */ + private VmmanagerPackageImpl() { + super(eNS_URI, VmmanagerFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link VmmanagerPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ *
+ *
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static VmmanagerPackage init() {
+ if (isInited) return (VmmanagerPackage)EPackage.Registry.INSTANCE.getEPackage(VmmanagerPackage.eNS_URI);
+
+ // Obtain or create and register package
+ VmmanagerPackageImpl theVmmanagerPackage = (VmmanagerPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof VmmanagerPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new VmmanagerPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ ServerPackage.eINSTANCE.eClass();
+ ManagerPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theVmmanagerPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theVmmanagerPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theVmmanagerPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(VmmanagerPackage.eNS_URI, theVmmanagerPackage);
+ return theVmmanagerPackage;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getVirtualMachineManager() {
+ return virtualMachineManagerEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public VmmanagerFactory getVmmanagerFactory() {
+ return (VmmanagerFactory)getEFactoryInstance();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ *
+ *
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ virtualMachineManagerEClass = createEClass(VIRTUAL_MACHINE_MANAGER);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ *
+ *
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ ManagerPackage theManagerPackage = (ManagerPackage)EPackage.Registry.INSTANCE.getEPackage(ManagerPackage.eNS_URI);
+ ServerPackage theServerPackage = (ServerPackage)EPackage.Registry.INSTANCE.getEPackage(ServerPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ virtualMachineManagerEClass.getESuperTypes().add(theManagerPackage.getDcaeManager());
+ virtualMachineManagerEClass.getESuperTypes().add(theServerPackage.getAbstractManagementServer());
+
+ // Initialize classes, features, and operations; add parameters
+ initEClass(virtualMachineManagerEClass, VirtualMachineManager.class, "VirtualMachineManager", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http://www.eclipse.org/emf/2011/Xcore
+ createXcoreAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for http://www.eclipse.org/emf/2011/Xcore.
+ *
+ *
+ * @generated
+ */
+ protected void createXcoreAnnotations() {
+ String source = "http://www.eclipse.org/emf/2011/Xcore";
+ addAnnotation
+ (this,
+ source,
+ new String[] {
+ "ecomp", "http://openecomp.org"
+ });
+ }
+
+} //VmmanagerPackageImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/util/VmmanagerAdapterFactory.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/util/VmmanagerAdapterFactory.java
new file mode 100644
index 0000000..2be21cd
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/util/VmmanagerAdapterFactory.java
@@ -0,0 +1,218 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.vmmanager.util;
+
+import org.openecomp.dcae.controller.core.manager.DcaeManager;
+
+import org.openecomp.dcae.controller.service.vmmanager.*;
+
+import org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer;
+import org.openecomp.ncomp.sirius.manager.server.SouthBoundApi;
+import org.openecomp.ncomp.sirius.manager.server.SouthBoundApiWithProxy;
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ *
+ * The Adapter Factory for the model.
+ * It provides an adapter createXXX
method for each class of the model.
+ *
+ * @see org.openecomp.dcae.controller.service.vmmanager.VmmanagerPackage
+ * @generated
+ */
+public class VmmanagerAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static VmmanagerPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public VmmanagerAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = VmmanagerPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected VmmanagerSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vmmanager.VirtualMachineManager Virtual Machine Manager}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vmmanager.VirtualMachineManager
+ * @generated
+ */
+ public Adapter createVirtualMachineManagerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.core.manager.DcaeManager Dcae Manager}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.core.manager.DcaeManager
+ * @generated
+ */
+ public Adapter createDcaeManagerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.sirius.manager.server.SouthBoundApi South Bound Api}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.sirius.manager.server.SouthBoundApi
+ * @generated
+ */
+ public Adapter createSouthBoundApiAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.sirius.manager.server.SouthBoundApiWithProxy South Bound Api With Proxy}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.sirius.manager.server.SouthBoundApiWithProxy
+ * @generated
+ */
+ public Adapter createSouthBoundApiWithProxyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer Abstract Management Server}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer
+ * @generated
+ */
+ public Adapter createAbstractManagementServerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //VmmanagerAdapterFactory
diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/util/VmmanagerSwitch.java b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/util/VmmanagerSwitch.java
new file mode 100644
index 0000000..afcc7b5
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/vmmanager/util/VmmanagerSwitch.java
@@ -0,0 +1,200 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.vmmanager.util;
+
+import org.openecomp.dcae.controller.core.manager.DcaeManager;
+
+import org.openecomp.dcae.controller.service.vmmanager.*;
+
+import org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer;
+import org.openecomp.ncomp.sirius.manager.server.SouthBoundApi;
+import org.openecomp.ncomp.sirius.manager.server.SouthBoundApiWithProxy;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.Switch;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ *
+ * @see org.openecomp.dcae.controller.service.vmmanager.VmmanagerPackage
+ * @generated
+ */
+public class VmmanagerSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case VmmanagerPackage.VIRTUAL_MACHINE_MANAGER: {
+ VirtualMachineManager virtualMachineManager = (VirtualMachineManager)theEObject;
+ T result = caseVirtualMachineManager(virtualMachineManager);
+ if (result == null) result = caseDcaeManager(virtualMachineManager);
+ if (result == null) result = caseAbstractManagementServer(virtualMachineManager);
+ if (result == null) result = caseSouthBoundApiWithProxy(virtualMachineManager);
+ if (result == null) result = caseSouthBoundApi(virtualMachineManager);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Virtual Machine Manager'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Virtual Machine Manager'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVirtualMachineManager(VirtualMachineManager object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Dcae Manager'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Dcae Manager'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDcaeManager(DcaeManager object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'South Bound Api'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'South Bound Api'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSouthBoundApi(SouthBoundApi object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'South Bound Api With Proxy'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'South Bound Api With Proxy'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSouthBoundApiWithProxy(SouthBoundApiWithProxy object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Abstract Management Server'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Abstract Management Server'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractManagementServer(AbstractManagementServer object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //VmmanagerSwitch
diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore/manager.xcore b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore/manager.xcore
new file mode 100644
index 0000000..5306afe
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore/manager.xcore
@@ -0,0 +1,34 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+
+@GenModel(modelDirectory="/dcae-controller-service-vm-model/src/main/xcore-gen")
+package org.openecomp.dcae.controller.service.vmmanager
+
+import org.openecomp.dcae.controller.core.manager.DcaeManager
+import org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer
+
+annotation "http://openecomp.org" as ecomp
+
+// correspond to a BsaApplication
+class VirtualMachineManager extends DcaeManager, AbstractManagementServer {
+}
+
diff --git a/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore/service.xcore b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore/service.xcore
new file mode 100644
index 0000000..44dea74
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-vm-model/src/main/xcore/service.xcore
@@ -0,0 +1,132 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+
+@GenModel(modelDirectory="/dcae-controller-service-vm-model/src/main/xcore-gen")
+package org.openecomp.dcae.controller.service.vm
+
+import org.openecomp.dcae.controller.core.server.DcaeBasicServer
+import org.openecomp.dcae.controller.core.service.DcaeLocation
+import org.openecomp.dcae.controller.core.service.DcaeService
+import org.openecomp.dcae.controller.core.service.DcaeServiceDescriptor
+import org.openecomp.dcae.controller.core.service.DcaeServiceInstance
+import org.openecomp.ncomp.core.User
+import org.openecomp.ncomp.openstack.core.VirtualMachineType
+import org.openecomp.ncomp.core.NamedEntity
+
+annotation "http://openecomp.org" as ecomp
+
+// correspond to a BsaApplication
+class VirtualMachineService extends DcaeService {
+ contains VirtualMachineServiceInstance[] instances opposite service
+ @ecomp(^type = "configuration")
+ int managerPortNumber = "9999"
+ op void updateDeploymentStatus()
+}
+
+class VirtualMachineServiceInstance extends DcaeServiceInstance, VirtualMachineServiceConfiguration {
+ refers DcaeLocation location
+ @ecomp(^type = "service")
+ refers VirtualMachineType vmType
+ @ecomp(^type = "service")
+ refers User[] users
+ @ecomp(^type = "service")
+ refers User[] adminUsers
+ String[] applicationIds
+ String adminId
+ @ecomp(^type = "service")
+ int numberOfServers = "1"
+ @ecomp(^type = "service")
+ String availabilityZone
+ @ecomp(^type = "configuration")
+ Integer managerPortNumber
+ // @ecomp(^type = "operational")
+ // contains SecurityRule[] incomingSecurityRules
+ // @ecomp(^type = "operational")
+ // contains SecurityRule[] outboundSecurityRules
+ @ecomp(^type = "operational")
+ contains DcaeBasicServer[] servers
+ refers DcaeBasicServer leaderServer
+ @ecomp(^type = "operational")
+ refers VirtualMachineService service opposite instances
+ String iedsAdmin
+ String chefUser
+ String chefOrg
+ String chefTopology
+ String openstackFlavor
+ String serviceFqdn
+ int deploymentTimeoutMinutes = "90"
+ contains InstallationStep[] steps
+}
+
+class VirtualMachineServiceConfiguration {
+ @ecomp(^type = "configuration")
+ String configuration
+}
+
+class VirtualMachineServiceDescriptor extends DcaeServiceDescriptor {
+ String servicePackage // "org.openecomp.dcae.controller.service.sample.sdnl.service",
+ String serviceClass // "ControllerServiceSampleSdnlService",
+ String serviceInstanceClass // "ControllerServiceSampleSdnlServiceInstance",
+ String vmType // "sample-sdnl",
+ String managerPortNumber // "9996",
+ String managerUser // "console",
+ String encryptedPassword // "rsa:asfdsf"
+ String[] users
+ String[] adminUsers
+}
+
+class PhysicalMachine extends DcaeBasicServer {
+ @ecomp(^type = "configuration")
+ Integer managerPortNumber
+}
+
+class VirtualMachine extends DcaeBasicServer {
+ int functionIndex
+ String kvmName
+ String vnc // 1.2.3.4:4005 IP:PORT
+ String gateway
+}
+
+abstract class InstallationStep extends NamedEntity {
+ String applicationId = "dcae"
+}
+
+class ShellInstallationStep extends InstallationStep {
+ String command
+}
+
+class MavenArtifactInstallationStep extends InstallationStep {
+ String groupId
+ String artifactId
+ String version
+ String ^type
+ String assemblyId
+}
+
+class HttpInstallationStep extends InstallationStep {
+ String url
+ String userName
+ String password
+ String ^type
+ String artifactId
+}
+
--
cgit 1.2.3-korg