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

Added DeviceInfo range sharing options for shared-per-technology
and global-per-board sharing.

Change-Id: Ic269cde79414ea2939fc94ee0f57c037b1946d06
diff --git a/.gitignore b/.gitignore
index 0ae61cc..a315b07 100644
--- a/.gitignore
+++ b/.gitignore
@@ -87,3 +87,6 @@
 .coverage
 coverage.xml
 nosetests.xml
+
+# openolt repo
+voltha/adapters/openolt/openolt
diff --git a/voltha/adapters/openolt/protos/openolt.proto b/voltha/adapters/openolt/protos/openolt.proto
index f6dd8cf..60bab72 100644
--- a/voltha/adapters/openolt/protos/openolt.proto
+++ b/voltha/adapters/openolt/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;
 }