code: func StringToBondLacpRate(s string) BondLacpRate {
  	lacp, ok := StringToBondLacpRateMap[s]
  	if !ok {
  		return BOND_LACP_RATE_UNKNOWN
  	}
  	return lacp
  }
docs: // StringToBondLacpRate returns bond lacp arte, or uknonw is the s is invalid.