Revision 0730eeb8

View differences:

src/scheduler/src/pool/VirtualMachinePoolXML.cc
112 112

  
113 113
    try
114 114
    {
115
        //TODO Get live migration from config file
116 115
        if (resched == true)
117 116
        {
118 117
            client->call(client->get_endpoint(),           // serverUrl
119 118
                         "one.vm.migrate",                 // methodName
120
                         "siib",                           // arguments format
119
                         "siibb",                          // arguments format
121 120
                         &deploy_result,                   // resultP
122 121
                         client->get_oneauth().c_str(),    // argument 0 (AUTH)
123 122
                         vid,                              // argument 1 (VM)
124 123
                         hid,                              // argument 2 (HOST)
125
                         live_resched);                    // argument 3 (LIVE)
124
                         live_resched,                     // argument 3 (LIVE)
125
                         false);                           // argument 4 (ENFORCE)
126 126
        }
127 127
        else
128 128
        {
129 129
            client->call(client->get_endpoint(),           // serverUrl
130 130
                         "one.vm.deploy",                  // methodName
131
                         "sii",                            // arguments format
131
                         "siib",                           // arguments format
132 132
                         &deploy_result,                   // resultP
133 133
                         client->get_oneauth().c_str(),    // argument 0 (AUTH)
134 134
                         vid,                              // argument 1 (VM)
135
                         hid);                             // argument 2 (HOST)
135
                         hid,                              // argument 2 (HOST)
136
                         false);                           // argument 3 (ENFORCE)
136 137
        }
137 138
    }
138 139
    catch (exception const& e)

Also available in: Unified diff