var idx = [
	'if-oper-state-ready',
	'if-oper-state-lower-layer-down',
	'if-oper-state-no-pass'
].indexOf(value);
var idx = idx !== -1 ? idx : [
	'Up',
	'Down',
].indexOf(value);
return idx !== -1 ? idx : 10;