VirtualBox

Changeset 75312 in vbox


Ignore:
Timestamp:
Nov 7, 2018 3:44:58 PM (6 years ago)
Author:
vboxsync
Message:

OCI: We now pass subnet, not VCN. Uncovered by better error handling
in the GUI.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ApplianceImplPrivate.h

    r73929 r75312  
    239239        Utf8Str strBootDiskSize;
    240240        Utf8Str strBucketId;
    241         Utf8Str strVCN;
     241        Utf8Str strSubnet;
    242242        bool    fPublicIP;
    243243        Utf8Str strUserId;
  • trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp

    r75038 r75312  
    961961            LogRel(("OCI bucket name: %s\n", m->m_OciExportData.strBucketId.c_str()));
    962962
    963             std::list<VirtualSystemDescriptionEntry*> vcn =
    964                 vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIVCN);
    965             if (vcn.empty())
     963            std::list<VirtualSystemDescriptionEntry*> subnet =
     964                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCISubnet);
     965            if (subnet.empty())
    966966                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    967                                     tr("OCI: VCN wasn't found"));
    968 
    969             m->m_OciExportData.strVCN = vcn.front()->strVBoxCurrent;
    970             LogRel(("OCI VCN name: %s\n", m->m_OciExportData.strVCN.c_str()));
     967                                    tr("OCI: Subnet wasn't found"));
     968
     969            m->m_OciExportData.strSubnet = subnet.front()->strVBoxCurrent;
     970            LogRel(("OCI Subnet name: %s\n", m->m_OciExportData.strSubnet.c_str()));
    971971
    972972            std::list<VirtualSystemDescriptionEntry*> publicIP =
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette