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