Bug 1971326

Summary: [DOC][MTV][API] Update custom resource creation example for Plan CR
Product: Migration Toolkit for Virtualization Reporter: Maayan Hadasi <mguetta>
Component: DocumentationAssignee: Avital Pinnick <apinnick>
Status: CLOSED CURRENTRELEASE QA Contact: Maayan Hadasi <mguetta>
Severity: high Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 2.0.0CC: apinnick, fdupont, istein
Target Milestone: ---   
Target Release: 2.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-15 08:49:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Maayan Hadasi 2021-06-13 16:28:17 UTC
Description of problem:

Documentation link: https://access.redhat.com/documentation/en-us/migration_toolkit_for_virtualization/2.0/html-single/installing_and_using_the_migration_toolkit_for_virtualization/index?lb_target=stage

Section to update:
------------------
3.3. Migrating virtual machines from the command line interface

What to Change:
---------------
Update the CR creation example for Plan:

cat << EOF | oc apply -f -
---
apiVersion: forklift.konveyor.io/v1beta1
kind: Plan
metadata:
  name: <plan_name>
  namespace: openshift-mtv
spec:
  provider:
    source:
      name: vmware-provider
      namespace: openshift-mtv
    destination:
      name: destination-cluster
      namespace: openshift-mtv
  warm: true
  map:
    network:
      name: <networkmap_name>
      namespace: openshift-mtv
    storage:
      name: <storagemap_name>
      namespace: openshift-mtv
  targetNamespace: openshift-mtv
  vms: 
    - id: <source_vm_mor> 
    - name: <source_vm_name>
EOF

Comment 2 Avital Pinnick 2021-06-15 08:49:43 UTC
Changes merged.