private void Reconfigure(PIF pif, bool up, bool this_host, int hi) { NetworkingActionHelpers.ForSomeHosts(this, pif, this_host, true, hi, delegate(AsyncAction a, PIF p, int h) { if (up) { BringUp(pif, p, h); } else { NetworkingActionHelpers.BringDown(a, p, h); } }); }
private void Reconfigure(PIF pif, bool up, bool this_host, int hi) { NetworkingActionHelpers.ForSomeHosts(this, pif, this_host, true, hi, delegate(AsyncAction a, PIF p, int h) { List <PBD> gfs2Pbds; DisableClustering(p, out gfs2Pbds); if (up) { BringUp(pif, p, h); } else { NetworkingActionHelpers.BringDown(a, p, h); } EnableClustering(p, gfs2Pbds); }); }