VOL-1288 - OpenOLT Update driver to use new per-interface ranges

Updated OpenOLT driver to return a range of technology ranges as
determined through dynamic query of the device itself. Both
legacy board-wide and per-tech results are returned to the adapter
versions to maintain compatibility with adapters that do not yet
support the interface ranges.

Change-Id: I370210f3aba547bf0b82fc1fcf514dc326674080
diff --git a/protos/openolt.proto b/protos/openolt.proto
index f6dd8cf..60bab72 100644
--- a/protos/openolt.proto
+++ b/protos/openolt.proto
@@ -278,7 +278,8 @@
 
             enum SharingType {
                 DEDICATED_PER_INTF = 0;
-                SHARED_BY_ALL_INTF = 1;
+                SHARED_BY_ALL_INTF_ALL_TECH = 1; // Shared across all interfaces in all technologiesi in all ranges
+                SHARED_BY_ALL_INTF_SAME_TECH = 2; // Shared across all interfaces of the same technology used in this range
             }
 
             PoolType type = 1;
@@ -286,7 +287,7 @@
 	    fixed32 start = 3; // lower bound on IDs allocated from this pool
 	    fixed32 end = 4; // upper bound on IDs allocated from this pool
 	}
-        repeated Pool ranges = 3;
+        repeated Pool pools = 3;
     }
     repeated DeviceResourceRanges ranges = 15;
 }