Exemplo n.º 1
0
 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);
         }
     });
 }
Exemplo n.º 2
0
 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);
     });
 }