package org.opendaylight.openflowplugin.api.openflow.configuration;
import com.google.common.collect.ImmutableMap;
+import java.util.Locale;
import java.util.Map;
/**
* Is statistics polling on property type.
*/
IS_STATISTICS_POLLING_ON,
+ /**
+ * Is table statistics polling on property type.
+ */
+ IS_TABLE_STATISTICS_POLLING_ON,
+ /**
+ * Is flow statistics polling on property type.
+ */
+ IS_FLOW_STATISTICS_POLLING_ON,
+ /**
+ * Is group statistics polling on property type.
+ */
+ IS_GROUP_STATISTICS_POLLING_ON,
+ /**
+ * Is meter statistics polling on property type.
+ */
+ IS_METER_STATISTICS_POLLING_ON,
+ /**
+ * Is port statistics polling on property type.
+ */
+ IS_PORT_STATISTICS_POLLING_ON,
+ /**
+ * Is queue statistics polling on property type.
+ */
+ IS_QUEUE_STATISTICS_POLLING_ON,
/**
* Barrier count limit property type.
*/
/**
* Thread pool timeout property type.
*/
- THREAD_POOL_TIMEOUT;
+ THREAD_POOL_TIMEOUT,
+ /**
+ * Enable or disable equal role functionality.
+ */
+ ENABLE_EQUAL_ROLE,
+ /**
+ * Device connection rate limit property type.
+ */
+ DEVICE_CONNECTION_RATE_LIMIT_PER_MIN;
private static final Map<String, ConfigurationProperty> KEY_VALUE_MAP;
/**
- * Get property type from property key
+ * Get property type from property key.
*
* @param key the property key
* @return the property type
}
/**
- * Converts enum name to property key
+ * Converts enum name to property key.
*
* @return the property key
*/
@Override
public String toString() {
- return this.name().toLowerCase().replace('_', '-');
+ return this.name().toLowerCase(Locale.ENGLISH).replace('_', '-');
}
}