public FeatureStaticIpSetting(IExceptionHandler exceptionhandler) : base("StaticIpSetting", "control/feature-static-ip-setting", "xenserver/device/vif", false, exceptionhandler) { IpSettings.load(); staticIpSetting = wmisession.GetXenStoreItem("xenserver/device/vif"); }
/// <summary> /// Constructor /// </summary> /// <param name="name">Name of the feature </param> /// <param name="advertise">Advertise key to xapi</param> /// <param name="controlKey">Watch the control key and perform feature when update</param> /// <param name="controlmustexist"></param> /// <param name="exceptionhandler"></param> public FeatureStaticIpSetting(string name, string advertise, string controlKey, bool controlmustexist, IExceptionHandler exceptionhandler) : base(name, advertise, controlKey, controlmustexist, exceptionhandler) { IpSettings.load(); staticIpSetting = wmisession.GetXenStoreItem(controlKey); }