def openconfig_to_cisco_af(value):
if "<STR_LIT::>" in value:<EOL><INDENT>value = value.split("<STR_LIT::>")[<NUM_LIT:1>]<EOL><DEDENT>mapd = {<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>}<EOL>return mapd[value]<EOL>
Translate openconfig AF name to Cisco AFI name.