diff --git a/go/common/common.pb.go b/go/common/common.pb.go
index 6c01eb8..96d2f34 100644
--- a/go/common/common.pb.go
+++ b/go/common/common.pb.go
@@ -43,18 +43,18 @@
 }
 
 // Logging verbosity level
-type LogLevel_LogLevel int32
+type LogLevel_Types int32
 
 const (
-	LogLevel_DEBUG    LogLevel_LogLevel = 0
-	LogLevel_INFO     LogLevel_LogLevel = 1
-	LogLevel_WARNING  LogLevel_LogLevel = 2
-	LogLevel_ERROR    LogLevel_LogLevel = 3
-	LogLevel_CRITICAL LogLevel_LogLevel = 4
-	LogLevel_FATAL    LogLevel_LogLevel = 5
+	LogLevel_DEBUG    LogLevel_Types = 0
+	LogLevel_INFO     LogLevel_Types = 1
+	LogLevel_WARNING  LogLevel_Types = 2
+	LogLevel_ERROR    LogLevel_Types = 3
+	LogLevel_CRITICAL LogLevel_Types = 4
+	LogLevel_FATAL    LogLevel_Types = 5
 )
 
-var LogLevel_LogLevel_name = map[int32]string{
+var LogLevel_Types_name = map[int32]string{
 	0: "DEBUG",
 	1: "INFO",
 	2: "WARNING",
@@ -63,7 +63,7 @@
 	5: "FATAL",
 }
 
-var LogLevel_LogLevel_value = map[string]int32{
+var LogLevel_Types_value = map[string]int32{
 	"DEBUG":    0,
 	"INFO":     1,
 	"WARNING":  2,
@@ -72,34 +72,34 @@
 	"FATAL":    5,
 }
 
-func (x LogLevel_LogLevel) String() string {
-	return proto.EnumName(LogLevel_LogLevel_name, int32(x))
+func (x LogLevel_Types) String() string {
+	return proto.EnumName(LogLevel_Types_name, int32(x))
 }
 
-func (LogLevel_LogLevel) EnumDescriptor() ([]byte, []int) {
+func (LogLevel_Types) EnumDescriptor() ([]byte, []int) {
 	return fileDescriptor_c2e3fd231961e826, []int{2, 0}
 }
 
 // Administrative State
-type AdminState_AdminState int32
+type AdminState_Types int32
 
 const (
 	// The administrative state of the device is unknown
-	AdminState_UNKNOWN AdminState_AdminState = 0
+	AdminState_UNKNOWN AdminState_Types = 0
 	// The device is pre-provisioned into Voltha, but not contacted by it
-	AdminState_PREPROVISIONED AdminState_AdminState = 1
+	AdminState_PREPROVISIONED AdminState_Types = 1
 	// The device is enabled for activation and operation
-	AdminState_ENABLED AdminState_AdminState = 2
+	AdminState_ENABLED AdminState_Types = 2
 	// The device is disabled and shall not perform its intended forwarding
 	// functions other than being available for re-activation.
-	AdminState_DISABLED AdminState_AdminState = 3
+	AdminState_DISABLED AdminState_Types = 3
 	// The device is in the state of image download
-	AdminState_DOWNLOADING_IMAGE AdminState_AdminState = 4
+	AdminState_DOWNLOADING_IMAGE AdminState_Types = 4
 	// The device is marked to be deleted
-	AdminState_DELETED AdminState_AdminState = 5
+	AdminState_DELETED AdminState_Types = 5
 )
 
-var AdminState_AdminState_name = map[int32]string{
+var AdminState_Types_name = map[int32]string{
 	0: "UNKNOWN",
 	1: "PREPROVISIONED",
 	2: "ENABLED",
@@ -108,7 +108,7 @@
 	5: "DELETED",
 }
 
-var AdminState_AdminState_value = map[string]int32{
+var AdminState_Types_value = map[string]int32{
 	"UNKNOWN":           0,
 	"PREPROVISIONED":    1,
 	"ENABLED":           2,
@@ -117,33 +117,33 @@
 	"DELETED":           5,
 }
 
-func (x AdminState_AdminState) String() string {
-	return proto.EnumName(AdminState_AdminState_name, int32(x))
+func (x AdminState_Types) String() string {
+	return proto.EnumName(AdminState_Types_name, int32(x))
 }
 
-func (AdminState_AdminState) EnumDescriptor() ([]byte, []int) {
+func (AdminState_Types) EnumDescriptor() ([]byte, []int) {
 	return fileDescriptor_c2e3fd231961e826, []int{6, 0}
 }
 
 // Operational Status
-type OperStatus_OperStatus int32
+type OperStatus_Types int32
 
 const (
 	// The status of the device is unknown at this point
-	OperStatus_UNKNOWN OperStatus_OperStatus = 0
+	OperStatus_UNKNOWN OperStatus_Types = 0
 	// The device has been discovered, but not yet activated
-	OperStatus_DISCOVERED OperStatus_OperStatus = 1
+	OperStatus_DISCOVERED OperStatus_Types = 1
 	// The device is being activated (booted, rebooted, upgraded, etc.)
-	OperStatus_ACTIVATING OperStatus_OperStatus = 2
+	OperStatus_ACTIVATING OperStatus_Types = 2
 	// Service impacting tests are being conducted
-	OperStatus_TESTING OperStatus_OperStatus = 3
+	OperStatus_TESTING OperStatus_Types = 3
 	// The device is up and active
-	OperStatus_ACTIVE OperStatus_OperStatus = 4
+	OperStatus_ACTIVE OperStatus_Types = 4
 	// The device has failed and cannot fulfill its intended role
-	OperStatus_FAILED OperStatus_OperStatus = 5
+	OperStatus_FAILED OperStatus_Types = 5
 )
 
-var OperStatus_OperStatus_name = map[int32]string{
+var OperStatus_Types_name = map[int32]string{
 	0: "UNKNOWN",
 	1: "DISCOVERED",
 	2: "ACTIVATING",
@@ -152,7 +152,7 @@
 	5: "FAILED",
 }
 
-var OperStatus_OperStatus_value = map[string]int32{
+var OperStatus_Types_value = map[string]int32{
 	"UNKNOWN":    0,
 	"DISCOVERED": 1,
 	"ACTIVATING": 2,
@@ -161,43 +161,43 @@
 	"FAILED":     5,
 }
 
-func (x OperStatus_OperStatus) String() string {
-	return proto.EnumName(OperStatus_OperStatus_name, int32(x))
+func (x OperStatus_Types) String() string {
+	return proto.EnumName(OperStatus_Types_name, int32(x))
 }
 
-func (OperStatus_OperStatus) EnumDescriptor() ([]byte, []int) {
+func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
 	return fileDescriptor_c2e3fd231961e826, []int{7, 0}
 }
 
 // Connectivity Status
-type ConnectStatus_ConnectStatus int32
+type ConnectStatus_Types int32
 
 const (
 	// The device connectivity status is unknown
-	ConnectStatus_UNKNOWN ConnectStatus_ConnectStatus = 0
+	ConnectStatus_UNKNOWN ConnectStatus_Types = 0
 	// The device cannot be reached by Voltha
-	ConnectStatus_UNREACHABLE ConnectStatus_ConnectStatus = 1
+	ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
 	// There is live communication between device and Voltha
-	ConnectStatus_REACHABLE ConnectStatus_ConnectStatus = 2
+	ConnectStatus_REACHABLE ConnectStatus_Types = 2
 )
 
-var ConnectStatus_ConnectStatus_name = map[int32]string{
+var ConnectStatus_Types_name = map[int32]string{
 	0: "UNKNOWN",
 	1: "UNREACHABLE",
 	2: "REACHABLE",
 }
 
-var ConnectStatus_ConnectStatus_value = map[string]int32{
+var ConnectStatus_Types_value = map[string]int32{
 	"UNKNOWN":     0,
 	"UNREACHABLE": 1,
 	"REACHABLE":   2,
 }
 
-func (x ConnectStatus_ConnectStatus) String() string {
-	return proto.EnumName(ConnectStatus_ConnectStatus_name, int32(x))
+func (x ConnectStatus_Types) String() string {
+	return proto.EnumName(ConnectStatus_Types_name, int32(x))
 }
 
-func (ConnectStatus_ConnectStatus) EnumDescriptor() ([]byte, []int) {
+func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
 	return fileDescriptor_c2e3fd231961e826, []int{8, 0}
 }
 
@@ -341,12 +341,12 @@
 var xxx_messageInfo_LogLevel proto.InternalMessageInfo
 
 type Logging struct {
-	Level                LogLevel_LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=common.LogLevel_LogLevel" json:"level,omitempty"`
-	PackageName          string            `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
-	ComponentName        string            `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
-	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
-	XXX_unrecognized     []byte            `json:"-"`
-	XXX_sizecache        int32             `json:"-"`
+	Level                LogLevel_Types `protobuf:"varint,1,opt,name=level,proto3,enum=common.LogLevel_Types" json:"level,omitempty"`
+	PackageName          string         `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
+	ComponentName        string         `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
+	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
+	XXX_unrecognized     []byte         `json:"-"`
+	XXX_sizecache        int32          `json:"-"`
 }
 
 func (m *Logging) Reset()         { *m = Logging{} }
@@ -374,7 +374,7 @@
 
 var xxx_messageInfo_Logging proto.InternalMessageInfo
 
-func (m *Logging) GetLevel() LogLevel_LogLevel {
+func (m *Logging) GetLevel() LogLevel_Types {
 	if m != nil {
 		return m.Level
 	}
@@ -619,10 +619,10 @@
 
 func init() {
 	proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
-	proto.RegisterEnum("common.LogLevel_LogLevel", LogLevel_LogLevel_name, LogLevel_LogLevel_value)
-	proto.RegisterEnum("common.AdminState_AdminState", AdminState_AdminState_name, AdminState_AdminState_value)
-	proto.RegisterEnum("common.OperStatus_OperStatus", OperStatus_OperStatus_name, OperStatus_OperStatus_value)
-	proto.RegisterEnum("common.ConnectStatus_ConnectStatus", ConnectStatus_ConnectStatus_name, ConnectStatus_ConnectStatus_value)
+	proto.RegisterEnum("common.LogLevel_Types", LogLevel_Types_name, LogLevel_Types_value)
+	proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
+	proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
+	proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
 	proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
 	proto.RegisterType((*ID)(nil), "common.ID")
 	proto.RegisterType((*IDs)(nil), "common.IDs")
@@ -639,47 +639,45 @@
 func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
 
 var fileDescriptor_c2e3fd231961e826 = []byte{
-	// 663 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0xcd, 0x4e, 0xdb, 0x4c,
-	0x14, 0x8d, 0xf3, 0x07, 0xdc, 0x90, 0xe0, 0x6f, 0xbe, 0x22, 0x01, 0x6a, 0xa5, 0xd4, 0x12, 0x82,
-	0x56, 0x2a, 0x69, 0xe9, 0xaa, 0x55, 0xbb, 0x30, 0xf6, 0x90, 0x8e, 0x30, 0xe3, 0x68, 0xec, 0x80,
-	0xd4, 0x05, 0x91, 0x89, 0x07, 0x63, 0x35, 0x99, 0xb1, 0x62, 0x83, 0xc4, 0xb2, 0x52, 0x5f, 0xaf,
-	0xaf, 0xd0, 0x67, 0xe8, 0xaa, 0xeb, 0x6a, 0x6c, 0x87, 0x24, 0x15, 0x3b, 0x9f, 0x33, 0xe7, 0xfa,
-	0xdc, 0x7b, 0xee, 0x68, 0x60, 0xef, 0x5e, 0x4e, 0xb2, 0xdb, 0x60, 0x94, 0xcc, 0x64, 0x26, 0xd3,
-	0xde, 0x58, 0x4e, 0xa7, 0x52, 0x1c, 0xe5, 0x08, 0x35, 0x0b, 0xb4, 0xd7, 0x5d, 0xd5, 0x3c, 0x04,
-	0x22, 0x1a, 0xc9, 0x24, 0x8b, 0xa5, 0x48, 0x0b, 0xa5, 0xf1, 0x0c, 0xaa, 0xc4, 0x46, 0x1d, 0xa8,
-	0xc6, 0xe1, 0x8e, 0xd6, 0xd5, 0x0e, 0x37, 0x58, 0x35, 0x0e, 0x8d, 0x03, 0xa8, 0x11, 0x3b, 0x45,
-	0x5d, 0x68, 0xc4, 0x19, 0x9f, 0xa6, 0x3b, 0x5a, 0xb7, 0x76, 0xd8, 0x3a, 0x86, 0xa3, 0xd2, 0x84,
-	0xd8, 0xac, 0x38, 0x30, 0xc6, 0xb0, 0xee, 0xc8, 0xc8, 0xe1, 0xf7, 0x7c, 0x62, 0x0c, 0x16, 0xdf,
-	0x68, 0x03, 0x1a, 0x36, 0x3e, 0x19, 0xf6, 0xf5, 0x0a, 0x5a, 0x87, 0x3a, 0xa1, 0xa7, 0xae, 0xae,
-	0xa1, 0x16, 0xac, 0x5d, 0x9a, 0x8c, 0x12, 0xda, 0xd7, 0xab, 0x4a, 0x81, 0x19, 0x73, 0x99, 0x5e,
-	0x43, 0x9b, 0xb0, 0x6e, 0x31, 0xe2, 0x13, 0xcb, 0x74, 0xf4, 0xba, 0x3a, 0x38, 0x35, 0x7d, 0xd3,
-	0xd1, 0x1b, 0x1f, 0x1b, 0xbf, 0xff, 0xfc, 0x7c, 0x51, 0x31, 0x7e, 0x68, 0xb0, 0xe6, 0xc8, 0x28,
-	0x8a, 0x45, 0x84, 0x7a, 0xd0, 0x98, 0x28, 0x87, 0xbc, 0xd9, 0xce, 0xf1, 0xee, 0xbc, 0xa5, 0xb9,
-	0xf3, 0xe3, 0x07, 0x2b, 0x74, 0xe8, 0x25, 0x6c, 0x26, 0xc1, 0xf8, 0x5b, 0x10, 0xf1, 0x91, 0x08,
-	0xa6, 0x7c, 0xa7, 0x9a, 0x0f, 0xd9, 0x2a, 0x39, 0x1a, 0x4c, 0x39, 0xda, 0x87, 0xce, 0x58, 0x4e,
-	0x13, 0x29, 0xb8, 0xc8, 0x0a, 0x51, 0x2d, 0x17, 0xb5, 0x1f, 0x59, 0x25, 0x33, 0x3e, 0x80, 0x5e,
-	0x76, 0x61, 0xcd, 0xf9, 0x27, 0x4a, 0xb5, 0xa7, 0x4a, 0xdf, 0xe5, 0xd1, 0xa8, 0xd2, 0x14, 0xed,
-	0xaf, 0x86, 0xba, 0xb5, 0x34, 0x81, 0x12, 0xcc, 0x93, 0xfd, 0xae, 0x01, 0x98, 0xe1, 0x34, 0x16,
-	0x5e, 0x16, 0x64, 0xdc, 0x98, 0x2c, 0x23, 0x95, 0xe4, 0x90, 0x9e, 0x51, 0xf7, 0x92, 0xea, 0x15,
-	0x84, 0xa0, 0x33, 0x60, 0x78, 0xc0, 0xdc, 0x0b, 0xe2, 0x11, 0x97, 0x62, 0xbb, 0x88, 0x1a, 0x53,
-	0xf3, 0xc4, 0xc1, 0xb6, 0x5e, 0x55, 0xf9, 0xda, 0xc4, 0x2b, 0x50, 0x0d, 0x6d, 0xc3, 0x7f, 0xb6,
-	0x7b, 0x49, 0x1d, 0xd7, 0xb4, 0x09, 0xed, 0x8f, 0xc8, 0xb9, 0xd9, 0xc7, 0x7a, 0x5d, 0x55, 0xd8,
-	0xd8, 0xc1, 0x3e, 0xb6, 0x17, 0xc1, 0xa7, 0x00, 0x6e, 0xc2, 0x67, 0xca, 0xf3, 0x2e, 0x35, 0xae,
-	0x96, 0xd1, 0x6a, 0x0b, 0x1d, 0x00, 0x9b, 0x78, 0x96, 0x7b, 0x81, 0x59, 0x6e, 0xdf, 0x01, 0x30,
-	0x2d, 0x9f, 0x5c, 0x98, 0x7e, 0xb1, 0xec, 0x16, 0xac, 0xf9, 0xd8, 0xcb, 0x41, 0x0d, 0x01, 0x34,
-	0xf3, 0x43, 0xe5, 0x0a, 0xd0, 0x3c, 0x35, 0x89, 0xb3, 0x6c, 0xea, 0x43, 0xdb, 0x92, 0x42, 0xf0,
-	0x71, 0x56, 0xfa, 0x7e, 0xfa, 0x87, 0x58, 0xb5, 0xde, 0x82, 0xd6, 0x90, 0x32, 0x6c, 0x5a, 0x5f,
-	0xd4, 0x80, 0xba, 0x86, 0xda, 0xb0, 0xb1, 0x80, 0xd5, 0xf9, 0x5f, 0x7f, 0x69, 0xd0, 0x56, 0xdd,
-	0x07, 0xea, 0xf2, 0x33, 0x9e, 0x26, 0xe8, 0x33, 0xd4, 0xc7, 0x32, 0xe4, 0xe5, 0x45, 0x7a, 0x35,
-	0x5f, 0xc3, 0x8a, 0x68, 0x19, 0x65, 0x77, 0x33, 0x61, 0xc9, 0x90, 0xb3, 0xbc, 0x0c, 0x1d, 0xc0,
-	0x56, 0x10, 0x86, 0xb1, 0x3a, 0x0b, 0x26, 0xa3, 0x58, 0xdc, 0xc8, 0xf2, 0x6a, 0x75, 0x16, 0x34,
-	0x11, 0x37, 0xd2, 0xb8, 0x82, 0xff, 0x9f, 0xf8, 0x8b, 0x5a, 0x83, 0x3b, 0xc0, 0xcc, 0xf4, 0x89,
-	0x4b, 0x47, 0xde, 0xd0, 0xb2, 0xb0, 0xe7, 0xe9, 0x95, 0x55, 0x5a, 0x45, 0x33, 0x64, 0x6a, 0xa8,
-	0x5d, 0xd8, 0x5e, 0xd0, 0x43, 0xea, 0x0d, 0x07, 0x03, 0x97, 0xa9, 0x5d, 0xcd, 0x07, 0x7c, 0xfd,
-	0x1c, 0x36, 0x7d, 0x9e, 0x66, 0xe7, 0x32, 0xe4, 0x67, 0xfc, 0x21, 0x55, 0x4b, 0x0f, 0x92, 0x78,
-	0x94, 0xf1, 0x34, 0xd3, 0x2b, 0x27, 0x6f, 0xbf, 0x1e, 0x45, 0x71, 0x76, 0x7b, 0x77, 0xad, 0xc6,
-	0xec, 0xc9, 0x84, 0x8b, 0xb1, 0x9c, 0x85, 0xbd, 0xe2, 0x79, 0x78, 0x53, 0x3e, 0x0f, 0xf7, 0xc7,
-	0xbd, 0x48, 0x96, 0x0f, 0xc9, 0x75, 0x33, 0x27, 0xdf, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xd8,
-	0x9c, 0x7c, 0xa7, 0x67, 0x04, 0x00, 0x00,
+	// 640 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5d, 0x4f, 0xdb, 0x4a,
+	0x10, 0x8d, 0x9d, 0x2f, 0x98, 0x90, 0xb0, 0x77, 0xb9, 0x5c, 0x71, 0xab, 0x3e, 0x50, 0x4b, 0x08,
+	0x5a, 0xb5, 0x89, 0x0a, 0x7d, 0xe9, 0x43, 0x1f, 0x8c, 0xbd, 0xa4, 0x2b, 0xcc, 0x3a, 0x5a, 0x3b,
+	0xa0, 0xf6, 0xa1, 0x91, 0x89, 0x17, 0x63, 0x35, 0xf1, 0x5a, 0xb1, 0x83, 0xc4, 0x63, 0x7f, 0x65,
+	0xff, 0x4e, 0xb5, 0xfe, 0x28, 0x20, 0xe5, 0x71, 0xce, 0x9c, 0xd9, 0x33, 0x73, 0x66, 0x07, 0x5e,
+	0x3d, 0xc8, 0x45, 0x7e, 0x1f, 0xcc, 0xd2, 0x95, 0xcc, 0x65, 0x36, 0x9a, 0xcb, 0xe5, 0x52, 0x26,
+	0xc3, 0x22, 0xc2, 0x9d, 0x32, 0x32, 0xfe, 0x05, 0x9d, 0xda, 0x78, 0x00, 0x7a, 0x1c, 0x1e, 0x68,
+	0x87, 0xda, 0xc9, 0x36, 0xd7, 0xe3, 0xd0, 0x38, 0x86, 0x26, 0xb5, 0x33, 0x7c, 0x08, 0xed, 0x38,
+	0x17, 0xcb, 0xec, 0x40, 0x3b, 0x6c, 0x9e, 0xf4, 0x4e, 0x61, 0x58, 0x3d, 0x41, 0x6d, 0x5e, 0x26,
+	0x8c, 0x6f, 0xb0, 0xe5, 0xc8, 0xc8, 0x11, 0x0f, 0x62, 0x61, 0x5c, 0x41, 0xdb, 0x7f, 0x4c, 0x45,
+	0x86, 0xb7, 0xa1, 0x6d, 0x93, 0xf3, 0xe9, 0x18, 0x35, 0xf0, 0x16, 0xb4, 0x28, 0xbb, 0x70, 0x91,
+	0x86, 0x7b, 0xd0, 0xbd, 0x31, 0x39, 0xa3, 0x6c, 0x8c, 0x74, 0xc5, 0x20, 0x9c, 0xbb, 0x1c, 0x35,
+	0xf1, 0x0e, 0x6c, 0x59, 0x9c, 0xfa, 0xd4, 0x32, 0x1d, 0xd4, 0x52, 0x89, 0x0b, 0xd3, 0x37, 0x1d,
+	0xd4, 0x36, 0x7e, 0x69, 0xd0, 0x75, 0x64, 0x14, 0xc5, 0x49, 0x84, 0xdf, 0x43, 0x7b, 0xa1, 0x34,
+	0x8a, 0x16, 0x07, 0xa7, 0xff, 0xd5, 0x8d, 0xd4, 0xda, 0xc3, 0x42, 0x98, 0x97, 0x24, 0xfc, 0x06,
+	0x76, 0xd2, 0x60, 0xfe, 0x33, 0x88, 0xc4, 0x2c, 0x09, 0x96, 0xe2, 0x40, 0x2f, 0xe6, 0xea, 0x55,
+	0x18, 0x0b, 0x96, 0x02, 0x1f, 0xc1, 0x60, 0x2e, 0x97, 0xa9, 0x4c, 0x44, 0x92, 0x97, 0xa4, 0x66,
+	0x41, 0xea, 0xff, 0x45, 0x15, 0xcd, 0xf8, 0x0c, 0xa8, 0x6a, 0xc1, 0xaa, 0xf1, 0x0d, 0xa5, 0xda,
+	0xa6, 0xd2, 0x8f, 0x85, 0x33, 0xaa, 0x34, 0xc3, 0x47, 0x2f, 0x7d, 0xdc, 0x7d, 0xd6, 0xbe, 0x22,
+	0xd4, 0x66, 0xae, 0x01, 0xcc, 0x70, 0x19, 0x27, 0x5e, 0x1e, 0xe4, 0xc2, 0x88, 0x6a, 0x3b, 0x7b,
+	0xd0, 0x9d, 0xb2, 0x4b, 0xe6, 0xde, 0x30, 0xd4, 0xc0, 0x18, 0x06, 0x13, 0x4e, 0x26, 0xdc, 0xbd,
+	0xa6, 0x1e, 0x75, 0x19, 0xb1, 0x4b, 0x6b, 0x09, 0x33, 0xcf, 0x1d, 0x62, 0x23, 0x5d, 0xf9, 0x69,
+	0x53, 0xaf, 0x8c, 0x9a, 0x78, 0x1f, 0xfe, 0xb1, 0xdd, 0x1b, 0xe6, 0xb8, 0xa6, 0x4d, 0xd9, 0x78,
+	0x46, 0xaf, 0xcc, 0x31, 0x41, 0x2d, 0x55, 0x61, 0x13, 0x87, 0xf8, 0xc4, 0x46, 0x6d, 0x23, 0x02,
+	0x70, 0x53, 0xb1, 0x52, 0xaa, 0x6b, 0xb5, 0xd1, 0x4d, 0xb2, 0x03, 0x00, 0x9b, 0x7a, 0x96, 0x7b,
+	0x4d, 0x78, 0x21, 0x39, 0x00, 0x30, 0x2d, 0x9f, 0x5e, 0x9b, 0x7e, 0xb9, 0xd0, 0x1e, 0x74, 0x7d,
+	0xe2, 0x15, 0x41, 0x13, 0x03, 0x74, 0x8a, 0xa4, 0x52, 0x02, 0xe8, 0x5c, 0x98, 0xd4, 0x29, 0x84,
+	0x08, 0xf4, 0x2d, 0x99, 0x24, 0x62, 0x9e, 0x57, 0x5a, 0x9f, 0x36, 0x6a, 0xed, 0x42, 0x6f, 0xca,
+	0x38, 0x31, 0xad, 0xaf, 0x6a, 0x0a, 0xa4, 0xe1, 0x3e, 0x6c, 0x3f, 0x85, 0xba, 0xf1, 0x5b, 0x83,
+	0xbe, 0x6a, 0x38, 0xc8, 0x63, 0x99, 0x70, 0x91, 0xa5, 0xf8, 0x0b, 0xb4, 0xe6, 0x32, 0x14, 0xd5,
+	0xef, 0x78, 0x5b, 0xdb, 0xfb, 0x82, 0xf4, 0x3c, 0xca, 0xd7, 0xab, 0xc4, 0x92, 0xa1, 0xe0, 0x45,
+	0x19, 0x3e, 0x86, 0xdd, 0x20, 0x0c, 0x63, 0x95, 0x0b, 0x16, 0xb3, 0x38, 0xb9, 0x93, 0xd5, 0x97,
+	0x19, 0x3c, 0xc1, 0x34, 0xb9, 0x93, 0xc6, 0x0f, 0xd8, 0xdb, 0xf0, 0x8a, 0x32, 0xd9, 0x9d, 0x10,
+	0x6e, 0xfa, 0xd4, 0x65, 0x33, 0x6f, 0x6a, 0x59, 0xc4, 0xf3, 0x50, 0xe3, 0x25, 0xac, 0x4c, 0x98,
+	0x72, 0x35, 0xcd, 0xff, 0xb0, 0xff, 0x04, 0x4f, 0x99, 0x37, 0x9d, 0x4c, 0x5c, 0xae, 0x36, 0xa1,
+	0xbf, 0x7b, 0x0d, 0x3b, 0xbe, 0xc8, 0xf2, 0x2b, 0x19, 0x8a, 0x4b, 0xf1, 0x98, 0xa9, 0x5d, 0x06,
+	0x69, 0x3c, 0xcb, 0x45, 0x96, 0xa3, 0xc6, 0x39, 0x81, 0x3d, 0xb9, 0x8a, 0x86, 0x32, 0x15, 0xc9,
+	0x5c, 0xae, 0xc2, 0x61, 0x79, 0xdd, 0xdf, 0x87, 0x51, 0x9c, 0xdf, 0xaf, 0x6f, 0xd5, 0xd0, 0xa3,
+	0x3a, 0x37, 0x2a, 0x73, 0x1f, 0xaa, 0xcb, 0x7f, 0x38, 0x1b, 0x45, 0xb2, 0xba, 0xff, 0xdb, 0x4e,
+	0x01, 0x9e, 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0x80, 0xbf, 0xca, 0x42, 0x1e, 0x04, 0x00, 0x00,
 }
diff --git a/go/common/meta.pb.go b/go/common/meta.pb.go
index 1df5cca..8fbd621 100644
--- a/go/common/meta.pb.go
+++ b/go/common/meta.pb.go
@@ -120,23 +120,23 @@
 func init() { proto.RegisterFile("voltha_protos/meta.proto", fileDescriptor_96b320e8a67781f3) }
 
 var fileDescriptor_96b320e8a67781f3 = []byte{
-	// 273 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4b, 0x84, 0x40,
-	0x18, 0x86, 0xb3, 0x05, 0xc1, 0x2f, 0x5a, 0xcc, 0x93, 0x04, 0x0b, 0xd2, 0x69, 0x09, 0x9a, 0x09,
-	0xbb, 0xed, 0x6d, 0xdb, 0x76, 0x6b, 0x61, 0x53, 0x90, 0x2e, 0x75, 0x11, 0x1d, 0x27, 0x1d, 0x52,
-	0x3f, 0x71, 0x66, 0x17, 0xfa, 0xa9, 0x5d, 0xfa, 0x05, 0xf5, 0x1f, 0x42, 0x47, 0xbb, 0xee, 0xed,
-	0x9d, 0x77, 0xde, 0x79, 0x78, 0x18, 0x70, 0x0f, 0x58, 0xaa, 0x22, 0x89, 0x9b, 0x16, 0x15, 0x4a,
-	0x5a, 0x71, 0x95, 0x90, 0x3e, 0x3b, 0xa6, 0xbe, 0xb9, 0xf4, 0x72, 0xc4, 0xbc, 0xe4, 0xb4, 0x6f,
-	0xd3, 0xfd, 0x3b, 0xcd, 0xb8, 0x64, 0xad, 0x68, 0x14, 0xb6, 0x7a, 0x79, 0x35, 0x03, 0x6b, 0x55,
-	0x88, 0x32, 0x0b, 0x30, 0xe3, 0x8e, 0x0d, 0x93, 0x0f, 0xfe, 0xe9, 0x1a, 0x9e, 0x31, 0xb7, 0xa2,
-	0x2e, 0x5e, 0xfb, 0x60, 0x2e, 0x19, 0xe3, 0x52, 0x3a, 0x00, 0xe6, 0x2a, 0x0c, 0x36, 0xdb, 0x47,
-	0xfb, 0xc4, 0x39, 0x07, 0x2b, 0x5a, 0x2f, 0x1f, 0xe2, 0x30, 0xd8, 0xbd, 0xda, 0xc6, 0x70, 0xdc,
-	0xc5, 0x2f, 0xdb, 0xe7, 0xb5, 0x7d, 0xba, 0x88, 0x00, 0x58, 0x87, 0x8c, 0xeb, 0x8e, 0x39, 0x23,
-	0xda, 0x81, 0x8c, 0x0e, 0x64, 0x23, 0x78, 0x99, 0x85, 0x8d, 0x12, 0x58, 0x4b, 0xf7, 0xe7, 0xfb,
-	0x6b, 0xe2, 0x19, 0xf3, 0x33, 0xff, 0x82, 0x68, 0x67, 0xf2, 0xaf, 0x13, 0x59, 0x6c, 0x8c, 0x8b,
-	0x27, 0x30, 0x13, 0xed, 0x71, 0x84, 0xf7, 0xab, 0x79, 0x53, 0x7f, 0x3a, 0xf2, 0xb4, 0x7f, 0x34,
-	0xbc, 0xbf, 0xbf, 0x7d, 0x23, 0xb9, 0x50, 0xc5, 0x3e, 0x25, 0x0c, 0x2b, 0x8a, 0x0d, 0xaf, 0x19,
-	0xb6, 0x19, 0xd5, 0xe3, 0x9b, 0xe1, 0x2b, 0x0f, 0x3e, 0xcd, 0x91, 0x32, 0xac, 0x2a, 0xac, 0x53,
-	0xb3, 0x2f, 0xef, 0xfe, 0x02, 0x00, 0x00, 0xff, 0xff, 0x1f, 0x75, 0x11, 0xd9, 0x6f, 0x01, 0x00,
-	0x00,
+	// 281 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xc3, 0x40,
+	0x10, 0x86, 0x8d, 0x85, 0x40, 0x46, 0x2c, 0x31, 0xa7, 0x52, 0x28, 0x04, 0x4f, 0x45, 0x70, 0x17,
+	0xd2, 0x5b, 0x6f, 0xb5, 0xb6, 0x5a, 0x88, 0x09, 0x04, 0x2f, 0x7a, 0x09, 0xc9, 0x66, 0x4d, 0x82,
+	0x49, 0x26, 0x64, 0xb7, 0x05, 0x1f, 0xd5, 0x8b, 0x4f, 0xa0, 0xef, 0x20, 0xc9, 0x66, 0xbd, 0x7a,
+	0xfb, 0x67, 0xf6, 0xdf, 0x8f, 0x8f, 0x81, 0xd9, 0x09, 0x2b, 0x59, 0x24, 0x71, 0xdb, 0xa1, 0x44,
+	0x41, 0x6b, 0x2e, 0x13, 0x32, 0x64, 0xc7, 0x54, 0x2f, 0x73, 0x37, 0x47, 0xcc, 0x2b, 0x4e, 0x87,
+	0x6d, 0x7a, 0x7c, 0xa3, 0x19, 0x17, 0xac, 0x2b, 0x5b, 0x89, 0x9d, 0x6a, 0x5e, 0x2f, 0xc0, 0xda,
+	0x16, 0x65, 0x95, 0x05, 0x98, 0x71, 0xc7, 0x86, 0xc9, 0x3b, 0xff, 0x98, 0x19, 0xae, 0xb1, 0xb4,
+	0xa2, 0x3e, 0xde, 0x78, 0x60, 0x6e, 0x18, 0xe3, 0x42, 0x38, 0x00, 0xe6, 0x36, 0x0c, 0xf6, 0x87,
+	0x07, 0xfb, 0xcc, 0xb9, 0x04, 0x2b, 0xda, 0x6d, 0xee, 0xe3, 0x30, 0xf0, 0x5f, 0x6c, 0x63, 0x1c,
+	0xfd, 0xf8, 0xf9, 0xf0, 0xb4, 0xb3, 0xcf, 0xd7, 0x11, 0x00, 0xeb, 0x91, 0x71, 0xd3, 0x33, 0x17,
+	0x44, 0x39, 0x10, 0xed, 0x40, 0xf6, 0x25, 0xaf, 0xb2, 0xb0, 0x95, 0x25, 0x36, 0x62, 0xf6, 0xfd,
+	0xf5, 0x39, 0x71, 0x8d, 0xe5, 0x85, 0x77, 0x45, 0x94, 0x33, 0xf9, 0xd3, 0x89, 0x2c, 0xa6, 0xe3,
+	0xfa, 0x11, 0xcc, 0x44, 0x79, 0xfc, 0xc3, 0xfb, 0x51, 0xbc, 0xa9, 0x37, 0xd5, 0x3c, 0xe5, 0x1f,
+	0x8d, 0xff, 0xef, 0x7c, 0x98, 0x63, 0x97, 0x13, 0x6c, 0x79, 0xc3, 0xb0, 0xcb, 0x74, 0x8b, 0x61,
+	0x5d, 0x63, 0xf3, 0x4a, 0xf2, 0x52, 0x16, 0xc7, 0xb4, 0x1f, 0xa9, 0xae, 0x50, 0x55, 0xb9, 0x1d,
+	0xcf, 0x7c, 0x5a, 0xd1, 0x1c, 0xa9, 0xea, 0xa7, 0xe6, 0xb0, 0x5c, 0xfd, 0x06, 0x00, 0x00, 0xff,
+	0xff, 0x45, 0x61, 0x57, 0xbf, 0x8b, 0x01, 0x00, 0x00,
 }
diff --git a/go/common/yang_options.pb.go b/go/common/yang_options.pb.go
deleted file mode 100644
index 66c99ab..0000000
--- a/go/common/yang_options.pb.go
+++ /dev/null
@@ -1,237 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: voltha_protos/yang_options.proto
-
-package common
-
-import (
-	fmt "fmt"
-	proto "github.com/golang/protobuf/proto"
-	descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
-	math "math"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-type MessageParserOption int32
-
-const (
-	// Move any enclosing child enum/message definition to the same level
-	// as the parent (this message) in the yang generated file
-	MessageParserOption_MOVE_TO_PARENT_LEVEL MessageParserOption = 0
-	// Create both a grouping and a container for this message.  The container
-	// name will be the message name.  The grouping name will be the message
-	// name prefixed with "grouping_"
-	MessageParserOption_CREATE_BOTH_GROUPING_AND_CONTAINER MessageParserOption = 1
-)
-
-var MessageParserOption_name = map[int32]string{
-	0: "MOVE_TO_PARENT_LEVEL",
-	1: "CREATE_BOTH_GROUPING_AND_CONTAINER",
-}
-
-var MessageParserOption_value = map[string]int32{
-	"MOVE_TO_PARENT_LEVEL":               0,
-	"CREATE_BOTH_GROUPING_AND_CONTAINER": 1,
-}
-
-func (x MessageParserOption) String() string {
-	return proto.EnumName(MessageParserOption_name, int32(x))
-}
-
-func (MessageParserOption) EnumDescriptor() ([]byte, []int) {
-	return fileDescriptor_e6be2fba65eb89fb, []int{0}
-}
-
-type InlineNode struct {
-	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
-	XXX_NoUnkeyedLiteral struct{} `json:"-"`
-	XXX_unrecognized     []byte   `json:"-"`
-	XXX_sizecache        int32    `json:"-"`
-}
-
-func (m *InlineNode) Reset()         { *m = InlineNode{} }
-func (m *InlineNode) String() string { return proto.CompactTextString(m) }
-func (*InlineNode) ProtoMessage()    {}
-func (*InlineNode) Descriptor() ([]byte, []int) {
-	return fileDescriptor_e6be2fba65eb89fb, []int{0}
-}
-
-func (m *InlineNode) XXX_Unmarshal(b []byte) error {
-	return xxx_messageInfo_InlineNode.Unmarshal(m, b)
-}
-func (m *InlineNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
-	return xxx_messageInfo_InlineNode.Marshal(b, m, deterministic)
-}
-func (m *InlineNode) XXX_Merge(src proto.Message) {
-	xxx_messageInfo_InlineNode.Merge(m, src)
-}
-func (m *InlineNode) XXX_Size() int {
-	return xxx_messageInfo_InlineNode.Size(m)
-}
-func (m *InlineNode) XXX_DiscardUnknown() {
-	xxx_messageInfo_InlineNode.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_InlineNode proto.InternalMessageInfo
-
-func (m *InlineNode) GetId() string {
-	if m != nil {
-		return m.Id
-	}
-	return ""
-}
-
-func (m *InlineNode) GetType() string {
-	if m != nil {
-		return m.Type
-	}
-	return ""
-}
-
-type RpcReturnDef struct {
-	// The gRPC methods return message types.  NETCONF expects an actual
-	// attribute as defined in the YANG schema.  The xnl_tag will be used
-	// as the top most tag when translating a gRPC response into an xml
-	// response
-	XmlTag string `protobuf:"bytes,1,opt,name=xml_tag,json=xmlTag,proto3" json:"xml_tag,omitempty"`
-	// When the gRPC response is a list of items, we need to differentiate
-	// between a YANG schema attribute whose name is "items" and when "items"
-	// is used only to indicate a list of items is being returned.  The default
-	// behavior assumes a list is returned when "items" is present in
-	// the response.  This option will therefore be used when the attribute
-	// name in the YANG schema is 'items'
-	ListItemsName        string   `protobuf:"bytes,2,opt,name=list_items_name,json=listItemsName,proto3" json:"list_items_name,omitempty"`
-	XXX_NoUnkeyedLiteral struct{} `json:"-"`
-	XXX_unrecognized     []byte   `json:"-"`
-	XXX_sizecache        int32    `json:"-"`
-}
-
-func (m *RpcReturnDef) Reset()         { *m = RpcReturnDef{} }
-func (m *RpcReturnDef) String() string { return proto.CompactTextString(m) }
-func (*RpcReturnDef) ProtoMessage()    {}
-func (*RpcReturnDef) Descriptor() ([]byte, []int) {
-	return fileDescriptor_e6be2fba65eb89fb, []int{1}
-}
-
-func (m *RpcReturnDef) XXX_Unmarshal(b []byte) error {
-	return xxx_messageInfo_RpcReturnDef.Unmarshal(m, b)
-}
-func (m *RpcReturnDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
-	return xxx_messageInfo_RpcReturnDef.Marshal(b, m, deterministic)
-}
-func (m *RpcReturnDef) XXX_Merge(src proto.Message) {
-	xxx_messageInfo_RpcReturnDef.Merge(m, src)
-}
-func (m *RpcReturnDef) XXX_Size() int {
-	return xxx_messageInfo_RpcReturnDef.Size(m)
-}
-func (m *RpcReturnDef) XXX_DiscardUnknown() {
-	xxx_messageInfo_RpcReturnDef.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_RpcReturnDef proto.InternalMessageInfo
-
-func (m *RpcReturnDef) GetXmlTag() string {
-	if m != nil {
-		return m.XmlTag
-	}
-	return ""
-}
-
-func (m *RpcReturnDef) GetListItemsName() string {
-	if m != nil {
-		return m.ListItemsName
-	}
-	return ""
-}
-
-var E_YangChildRule = &proto.ExtensionDesc{
-	ExtendedType:  (*descriptor.MessageOptions)(nil),
-	ExtensionType: (*MessageParserOption)(nil),
-	Field:         7761774,
-	Name:          "common.yang_child_rule",
-	Tag:           "varint,7761774,opt,name=yang_child_rule,enum=common.MessageParserOption",
-	Filename:      "voltha_protos/yang_options.proto",
-}
-
-var E_YangMessageRule = &proto.ExtensionDesc{
-	ExtendedType:  (*descriptor.MessageOptions)(nil),
-	ExtensionType: (*MessageParserOption)(nil),
-	Field:         7761775,
-	Name:          "common.yang_message_rule",
-	Tag:           "varint,7761775,opt,name=yang_message_rule,enum=common.MessageParserOption",
-	Filename:      "voltha_protos/yang_options.proto",
-}
-
-var E_YangInlineNode = &proto.ExtensionDesc{
-	ExtendedType:  (*descriptor.FieldOptions)(nil),
-	ExtensionType: (*InlineNode)(nil),
-	Field:         7761776,
-	Name:          "common.yang_inline_node",
-	Tag:           "bytes,7761776,opt,name=yang_inline_node",
-	Filename:      "voltha_protos/yang_options.proto",
-}
-
-var E_YangXmlTag = &proto.ExtensionDesc{
-	ExtendedType:  (*descriptor.MethodOptions)(nil),
-	ExtensionType: (*RpcReturnDef)(nil),
-	Field:         7761777,
-	Name:          "common.yang_xml_tag",
-	Tag:           "bytes,7761777,opt,name=yang_xml_tag",
-	Filename:      "voltha_protos/yang_options.proto",
-}
-
-func init() {
-	proto.RegisterEnum("common.MessageParserOption", MessageParserOption_name, MessageParserOption_value)
-	proto.RegisterType((*InlineNode)(nil), "common.InlineNode")
-	proto.RegisterType((*RpcReturnDef)(nil), "common.RpcReturnDef")
-	proto.RegisterExtension(E_YangChildRule)
-	proto.RegisterExtension(E_YangMessageRule)
-	proto.RegisterExtension(E_YangInlineNode)
-	proto.RegisterExtension(E_YangXmlTag)
-}
-
-func init() { proto.RegisterFile("voltha_protos/yang_options.proto", fileDescriptor_e6be2fba65eb89fb) }
-
-var fileDescriptor_e6be2fba65eb89fb = []byte{
-	// 454 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4d, 0x6f, 0xd3, 0x30,
-	0x18, 0xc7, 0x69, 0x41, 0x45, 0x98, 0xad, 0x2b, 0x66, 0x12, 0x15, 0x08, 0xa8, 0x7a, 0x98, 0x26,
-	0x24, 0x92, 0xa9, 0xdc, 0x7a, 0xeb, 0xba, 0x30, 0x2a, 0x6d, 0x49, 0x65, 0x85, 0xf1, 0x72, 0xc0,
-	0x4a, 0x93, 0x67, 0x8e, 0x85, 0x63, 0x47, 0xb1, 0x33, 0x6d, 0x1f, 0x95, 0x0b, 0x1f, 0x81, 0x97,
-	0x6f, 0x80, 0x62, 0x27, 0x0c, 0x89, 0x1d, 0x76, 0x6b, 0xff, 0x79, 0xf2, 0xfb, 0xe5, 0x79, 0x41,
-	0x93, 0x0b, 0x25, 0x4c, 0x9e, 0xd0, 0xb2, 0x52, 0x46, 0x69, 0xff, 0x2a, 0x91, 0x8c, 0xaa, 0xd2,
-	0x70, 0x25, 0xb5, 0x67, 0x33, 0x3c, 0x48, 0x55, 0x51, 0x28, 0xf9, 0x74, 0xc2, 0x94, 0x62, 0x02,
-	0x7c, 0x9b, 0x6e, 0xea, 0x73, 0x3f, 0x03, 0x9d, 0x56, 0xbc, 0x34, 0xaa, 0x72, 0x95, 0xd3, 0x03,
-	0x84, 0x56, 0x52, 0x70, 0x09, 0xa1, 0xca, 0x00, 0x0f, 0x51, 0x9f, 0x67, 0xe3, 0xde, 0xa4, 0xb7,
-	0xff, 0x80, 0xf4, 0x79, 0x86, 0x31, 0xba, 0x67, 0xae, 0x4a, 0x18, 0xf7, 0x6d, 0x62, 0x7f, 0x4f,
-	0x23, 0xb4, 0x45, 0xca, 0x94, 0x80, 0xa9, 0x2b, 0x79, 0x04, 0xe7, 0xf8, 0x09, 0xba, 0x7f, 0x59,
-	0x08, 0x6a, 0x12, 0xd6, 0xbe, 0x38, 0xb8, 0x2c, 0x44, 0x9c, 0x30, 0xbc, 0x87, 0x76, 0x04, 0xd7,
-	0x86, 0x72, 0x03, 0x85, 0xa6, 0x32, 0x29, 0x3a, 0xce, 0x76, 0x13, 0xaf, 0x9a, 0x34, 0x4c, 0x0a,
-	0x78, 0xf5, 0x01, 0x3d, 0x3e, 0x05, 0xad, 0x13, 0x06, 0xeb, 0xa4, 0xd2, 0x50, 0x45, 0xb6, 0x15,
-	0x3c, 0x46, 0xbb, 0xa7, 0xd1, 0x59, 0x40, 0xe3, 0x88, 0xae, 0x17, 0x24, 0x08, 0x63, 0x7a, 0x12,
-	0x9c, 0x05, 0x27, 0xa3, 0x3b, 0x78, 0x0f, 0x4d, 0x97, 0x24, 0x58, 0xc4, 0x01, 0x3d, 0x8c, 0xe2,
-	0x77, 0xf4, 0x98, 0x44, 0xef, 0xd7, 0xab, 0xf0, 0x98, 0x2e, 0xc2, 0x23, 0xba, 0x8c, 0xc2, 0x78,
-	0xb1, 0x0a, 0x03, 0x32, 0xea, 0xcd, 0x19, 0xda, 0xb1, 0xb3, 0x49, 0x73, 0x2e, 0x32, 0x5a, 0xd5,
-	0x02, 0xf0, 0x4b, 0xcf, 0x4d, 0xc4, 0xeb, 0x26, 0xe2, 0xb5, 0x6a, 0x27, 0xd5, 0xe3, 0x1f, 0xdf,
-	0xbf, 0xdd, 0x9d, 0xf4, 0xf6, 0x87, 0xb3, 0x67, 0x9e, 0x9b, 0xa1, 0x77, 0xc3, 0xb7, 0x91, 0xed,
-	0x86, 0xbb, 0x6c, 0xb0, 0xa4, 0x16, 0x30, 0xff, 0x8a, 0x1e, 0x59, 0x51, 0xe1, 0x4a, 0x6f, 0xa9,
-	0xfa, 0x79, 0x2b, 0x95, 0x6d, 0xa1, 0x7d, 0x60, 0x65, 0x5f, 0xd0, 0xc8, 0xca, 0xb8, 0x5d, 0x1b,
-	0x95, 0xcd, 0xde, 0x9e, 0xff, 0xe7, 0x7a, 0xcb, 0x41, 0x64, 0x9d, 0xe9, 0x97, 0x33, 0x3d, 0x9c,
-	0xe1, 0xce, 0x74, 0xbd, 0x73, 0x32, 0x6c, 0x68, 0xd7, 0xff, 0xe7, 0x9f, 0xd0, 0x96, 0xe5, 0xb7,
-	0x4b, 0xc5, 0x2f, 0x6e, 0xe8, 0xc3, 0xe4, 0xea, 0x2f, 0xfc, 0x77, 0x07, 0xdf, 0xed, 0xe0, 0xff,
-	0x9e, 0x07, 0x41, 0x0d, 0xec, 0xa3, 0xbd, 0x88, 0xc3, 0x83, 0xcf, 0x1e, 0xe3, 0x26, 0xaf, 0x37,
-	0x4d, 0xa5, 0xaf, 0x4a, 0x90, 0xa9, 0xaa, 0x32, 0xdf, 0x9d, 0xf3, 0xeb, 0xf6, 0x9c, 0x2f, 0x66,
-	0x3e, 0x53, 0xbe, 0x43, 0x6d, 0x06, 0x36, 0x7c, 0xf3, 0x27, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x00,
-	0xd5, 0x39, 0xf3, 0x02, 0x00, 0x00,
-}
