Skip to content
Snippets Groups Projects
  1. Nov 17, 2011
  2. Nov 16, 2011
  3. Nov 15, 2011
  4. Nov 14, 2011
    • Andrea Spadaccini's avatar
      Use master IP address setup script in backend · 702eff21
      Andrea Spadaccini authored
      
      Replace the code in backend.ActivateMasterIp and
      backend.DeactivateMasterIp with the master IP address setup script,
      either the default one or the one provided by the user.
      
      - Convert to string the netmask parameter in _BuildMasterIpEnv
      - Add the _RunMasterSetupScript function and let ActivateMasterIp and
        DeactivateMasterIp become wrappers for it;
      - Change the failure model of DeactivateMasterIp, raising errors if the
        script fails instead of silently ignoring the failure
      
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      702eff21
Loading