private static final BigInteger FNV_INIT = new BigInteger("cbf29ce484222325", 16);
private static final BigInteger FNV_MOD = new BigInteger("2").pow(64);
+
+ public static final String ASSOCIATED_LCP_LOGMSG =
+ "{} : port {} on {} - associated Logical Connection Point is {}";
+ public static final String CANNOT_AS_LCP_LOGMSG =
+ " - cannot assign Logical Connection Point";
+ public static final String CANNOT_CREATE_LCP_LOGMSG =
+ "{} : port {} on {} - Impossible to create logical connection point";
+ public static final String CANNOT_GET_DEV_CONF_LOGMSG =
+ "{} : impossible to get device configuration";
+ public static final String CANNOT_GET_LLDP_CONF_LOGMSG =
+ "- cannot find port config under LLDP";
+ public static final String CONMAP_ISSUE_LOGMSG =
+ "{} : connection-map analysis for source {} and dest (CP+port) {} - no entry found for source in LCP map";
+ public static final String CREATE_MAPPING_DATA_LOGMSG =
+ "{} : OpenROADM version {} node - Creating Mapping Data";
+ public static final String DEVICE_HAS_LOGMSG =
+ "{} : device has {} {}";
+ public static final String FETCH_CONNECTIONPORT_LOGMSG =
+ "{} : fetching connection-port {} at circuit-pack {}";
+ public static final String GETTING_CONPORT_LOGMSG =
+ "{} : getting connection-ports for degree number {}";
+ public static final String GETTING_CP_LOGMSG =
+ "{} : getting circuit-packs for SRG number {}";
+ public static final String GETTING_ETH_LIST_LOGMSG =
+ "{} : getting Ethernet interfaces list";
+ public static final String GETTING_MC_CAPA_LOGMSG =
+ "{} : getting MC capabilities for {}";
+ public static final String GOT_INTF_LOGMSG =
+ "{} : got interface {} of type {}";
+ public static final String INTF_ISSUE_LOGMSG =
+ "{} : error while getting interface {} ";
+ public static final String MAP_LOOKS_LOGMSG =
+ "{} : map looks like this {}";
+ public static final String MISSING_CP_LOGMSG =
+ "{} : no circuit-pack {} in the device";
+ public static final String NO_ASSOC_FOUND_LOGMSG =
+ "{} : port {} on {} - no association found {}";
+ public static final String NO_CONMAP_LOGMSG =
+ "{} : no connection-map found inside device configuration";
+ public static final String NO_MC_LOGMSG =
+ "{} : no MC profile found on {} {} - assuming fixed grid";
+ public static final String NO_PORT_ON_CP_LOGMSG =
+ "{} : no port {} on circuit pack {}";
+ public static final String NO_VALID_PARTNERPORT_LOGMSG =
+ "{} : port {} on {} has no valid partner port";
+ public static final String NODE_TYPE_LOGMSG =
+ "{} : node-type {}";
+ public static final String NOT_CORRECT_CONPORT_LOGMSG =
+ "{} : the number of connection-port is not correct for DEG{}";
+ public static final String NOT_CORRECT_PARTNERPORT_LOGMSG =
+ "{} : port {} on {} is not a correct partner port of {} on {}";
+ public static final String PARTNERPORT_CONF_ERROR_LOGMSG =
+ " - error with partner port configuration";
+ public static final String PARTNERPORT_GET_ERROR_LOGMSG =
+ " - error getting partner port";
+ public static final String PORT_ALREADY_HANDLED_LOGMSG =
+ "{} : port {} on {} has already been handled";
+ public static final String PORT_NOT_RDMEXT_LOGMSG =
+ "{} : port {} on {} is not roadm-external";
+ public static final String PORTDIR_ERROR_LOGMSG =
+ " - error in configuration with port-direction";
+ public static final String PORTMAPPING_IGNORE_LOGMSG =
+ " - ignoring it in port-mapping";
+ public static final String PORTMAPPING_POST_FAIL_LOGMSG =
+ "{} : port-mapping post-treatment failure for {}";
+ public static final String PORTQUAL_ERROR_LOGMSG =
+ " - error in configuration with port-qual";
+ public static final String PORTQUAL_LOGMSG =
+ "{} : port {} on {} - PortQual {}";
+ public static final String PROCESSING_DONE_LOGMSG =
+ "{} : processing done {}";
+ public static final String UNABLE_MAPPING_LOGMSG =
+ "{} : unable to {} mapping for {}";
+ public static final String UNABLE_MC_CAPA_LOGMSG =
+ "{} : unable to create MC capabilities";
+ public static final String UNSUPPORTED_DIR_LOGMSG =
+ "{} : port {} on {} - unsupported Direction {}";
+ public static final String UPDATE_MAPPING_LOGMSG =
+ "{} : Updating old mapping data {} for {} by new mapping data {}";
+ public static final String XPDR_LIST_IN_CONF_LOGMSG =
+ "{} : list of Xponders {} in configuration";
+
/**
* Implements the FNV-1 64bit algorithm.
* FNV-1 128bit would be ideal for 16 bytes but we need an overhead for Base64 encoding.