def radius_provider_group_create(handle, name, descr=None, **kwargs): """ creates a radius provider group Args: handle (UcsHandle) name (string): radius provider group name descr (string): description **kwargs: Any additional key-value pair of managed object(MO)'s property and value, which are not part of regular args. This should be used for future version compatibility. Returns: AaaProviderGroup: managed object Raises: None Example: radius_provider_group_create(handle, name="test_prov_grp") """ from ucsmsdk.mometa.aaa.AaaProviderGroup import AaaProviderGroup mo = AaaProviderGroup(parent_mo_or_dn=_radius_dn, name=name, descr=descr) mo.set_prop_multiple(**kwargs) handle.add_mo(mo, modify_present=True) handle.commit() return mo
def ldap_provider_group_create(handle, name, descr=""): from ucsmsdk.mometa.aaa.AaaProviderGroup import AaaProviderGroup mo = AaaProviderGroup(parent_mo_or_dn="sys/ldap-ext", name=name, descr=descr) handle.add_mo(mo) handle.commit()
def radius_provider_group_create(handle, name, descr=""): """ Creates a radius provider group Args: handle (UcsHandle) name (string): name descr (string): description Returns: AaaProviderGroup: Managed Object Example: radius_provider_group_create(handle, name="test_radius_provider_group") """ from ucsmsdk.mometa.aaa.AaaProviderGroup import AaaProviderGroup mo = AaaProviderGroup(parent_mo_or_dn="sys/radius-ext", name=name, descr=descr) handle.add_mo(mo, True) handle.commit() return mo
def tacacsplus_provider_group_create(handle, name, descr=""): """ Creates a tacacsplus provider group Args: handle (UcsHandle) name (string): name of tacacsplus provider group descr (string): descr Returns: AaaTacacsPlusProvider: Managed Object Example: tacacsplus_provider_create(handle, name="tacacsplus_provider") """ from ucsmsdk.mometa.aaa.AaaProviderGroup import AaaProviderGroup mo = AaaProviderGroup(parent_mo_or_dn="sys/tacacs-ext", name=name, descr=descr) handle.add_mo(mo, True) handle.commit() return mo
def ldap_provider_group_create(handle, name, descr=""): """ creates ldap provider group Args: handle (UcsHandle) name (string): name descr (string): descr Returns: AaaProviderGroup : Managed Object Example: ldap_provider_group_create(handle, name="test_ldap_group_map") """ from ucsmsdk.mometa.aaa.AaaProviderGroup import AaaProviderGroup mo = AaaProviderGroup(parent_mo_or_dn="sys/ldap-ext", name=name, descr=descr) handle.add_mo(mo, True) handle.commit() return mo