code: def get_resources(cls):
          
          plugin = directory.get_plugin()
          controller = SegmentAllocationRangesController(plugin)
          return [extensions.ResourceExtension(
              Segment_allocation_ranges.get_alias(),
              controller)]
docs: Returns Ext Resources.