Updating package names so that package matches go_package.
This is better for consistent package references.
This is needed for the afrouter tests using voltha.pb
Change-Id: I4cfdf26456f92d8bce4fe5b40515ad7ac3d6747d
diff --git a/protos/voltha_protos/device.proto b/protos/voltha_protos/device.proto
index bbe8894..0b31ed1 100644
--- a/protos/voltha_protos/device.proto
+++ b/protos/voltha_protos/device.proto
@@ -100,7 +100,7 @@
}
message ImageDownload {
- option (yang_child_rule) = MOVE_TO_PARENT_LEVEL;
+ option (common.yang_child_rule) = MOVE_TO_PARENT_LEVEL;
enum ImageDownloadState {
DOWNLOAD_UNKNOWN = 0;
@@ -176,7 +176,7 @@
}
message Port {
- option (voltha.yang_child_rule) = MOVE_TO_PARENT_LEVEL;
+ option (common.yang_child_rule) = MOVE_TO_PARENT_LEVEL;
enum PortType {
UNKNOWN = 0;
@@ -194,9 +194,9 @@
PortType type = 3; // Type of port
- AdminState.AdminState admin_state = 5;
+ common.AdminState.AdminState admin_state = 5;
- OperStatus.OperStatus oper_status = 6;
+ common.OperStatus.OperStatus oper_status = 6;
string device_id = 7; // Unique .id of device that owns this port
@@ -221,7 +221,7 @@
// A Physical Device instance
message Device {
- option (voltha.yang_child_rule) = MOVE_TO_PARENT_LEVEL;
+ option (common.yang_child_rule) = MOVE_TO_PARENT_LEVEL;
// Voltha's device identifier
string id = 1 [(access) = READ_ONLY];
@@ -283,13 +283,13 @@
ProxyAddress proxy_address = 19;
- AdminState.AdminState admin_state = 16;
+ common.AdminState.AdminState admin_state = 16;
- OperStatus.OperStatus oper_status = 17 [(access) = READ_ONLY];
+ common.OperStatus.OperStatus oper_status = 17 [(access) = READ_ONLY];
string reason = 22 [(access) = READ_ONLY]; // Used in FAILED state
- ConnectStatus.ConnectStatus connect_status = 18 [(access) = READ_ONLY];
+ common.ConnectStatus.ConnectStatus connect_status = 18 [(access) = READ_ONLY];
// TODO additional common attribute here