private void ProcessRecordIgmpSnoopingStatus(string pif)
        {
            RunApiCall(() =>
            {
                pif_igmp_status obj = XenAPI.PIF.get_igmp_snooping_status(session, pif);

                WriteObject(obj, true);
            });
        }
Пример #2
0
        public static string StringOf(this pif_igmp_status x)
        {
            switch (x)
            {
            case pif_igmp_status.enabled:
                return("enabled");

            case pif_igmp_status.disabled:
                return("disabled");

            default:
                return("unknown");
            }
        }
Пример #3
0
 public static string ToString(pif_igmp_status x)
 {
     return(x.StringOf());
 }