diff --git a/lib/miq_automation_engine/service_models/miq_ae_service_container_deployment.rb b/lib/miq_automation_engine/service_models/miq_ae_service_container_deployment.rb new file mode 100644 index 000000000..129c820c0 --- /dev/null +++ b/lib/miq_automation_engine/service_models/miq_ae_service_container_deployment.rb @@ -0,0 +1,27 @@ +require 'net/scp' + +module MiqAeMethodService + class MiqAeServiceContainerDeployment < MiqAeServiceModelBase + expose :run_playbook_command + expose :analyze_ansible_output + expose :provision_vms_status + expose :find_vm_by_type + expose :assign_container_deployment_nodes + expose :assign_container_deployment_node + expose :provisioned_ips_set? + expose :roles_addresses + expose :generate_ansible_yaml + expose :generate_ansible_inventory_for_subscription + expose :check_connection + expose :subscribe_deployment_master + expose :subscribe_cluster + expose :provision_started? + expose :nodes_subscription_needed? + expose :ssh_user + expose :add_automation_task + expose :perform_scp + expose :perform_agent_commands + expose :playbook_running? + expose :add_deployment_provider + end +end diff --git a/lib/miq_automation_engine/service_models/miq_ae_service_container_deployment_node.rb b/lib/miq_automation_engine/service_models/miq_ae_service_container_deployment_node.rb new file mode 100644 index 000000000..79bb6ebbd --- /dev/null +++ b/lib/miq_automation_engine/service_models/miq_ae_service_container_deployment_node.rb @@ -0,0 +1,8 @@ +module MiqAeMethodService + class MiqAeServiceContainerDeploymentNode < MiqAeServiceModelBase + expose :vm_id + expose :is_tagged_with? + expose :tags + expose :node_address + end +end