While deleting the configured authentication-mehtod, possible-completion values are displayed with module’s prefix as below:
no system aaa authentication config authentication-method
Possible completions:
[ **f5-aaa-ldap:**LDAP_ALL <cr>
The authentication-method type is deviated as below:
deviate "replace" {
type identityref {
base oc-aaa-types:AAA_METHOD_TYPE;
}
}
While configuring authentication-method only LDAP_ALL was given/available, but at the time of deleting configured authentication-method the type is prefixed with the “f5-aaa-ldap:”.
Some more information, like YANG snippets describing the authentication-method leaf and the definition for the type used by the leaf, would enable someone to look into the reason for the prefix.
The additional authentication-method is defined as:
identity LDAP_ALL {
base oc-aaa-types:AAA_METHOD_TYPE;
description "The group of all LDAP servers.";
tailf:info "The group of all LDAP servers.";
}
I will try to provide pyang tree for authentication_method leaf.
FYI, I tried with keeping all the authentication-methods at one place in file name-openconfig-aaa-types.yang with prefix name-aaa-types, then the o/p was like this:
no system aaa authentication config authentication-method
Possible completions:
**[ name-aaa-types:LDAP_ALL name-aaa-types:RADIUS_ALL <cr>**