Advertisement
Guest User

Untitled

a guest
Jul 29th, 2014
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.23 KB | None | 0 0
  1. import sys
  2.  
  3. from oslo.config import cfg
  4.  
  5. from neutron.api.rpc.agentnotifiers import l3_rpc_agent_api
  6. from neutron.common import constants as q_const
  7. from neutron.common import rpc as n_rpc
  8. from neutron.common import topics
  9. from neutron.db import api as qdbapi
  10. from neutron.db import db_base_plugin_v2
  11. from neutron.db import extraroute_db
  12. from neutron.db import l3_agentschedulers_db
  13. from neutron.db import l3_gwmode_db
  14. from neutron.db import l3_rpc_base
  15. from neutron.db import model_base
  16. from neutron.openstack.common import importutils
  17. from neutron.plugins.common import constants
  18.  
  19.  
  20. #TODO: Fix it to proper extension import
  21. #sys.path.insert(0, '/home/maciek/os-floating-port/floating_port/extensions/')
  22. from neutron.extensions.floatingport import FloatingPortPluginBase
  23.  
  24. class FloatingPort(FloatingPortPluginBase):
  25.     supported_extension_aliases = ['floatingport']
  26.  
  27.     def create_floatingport(self, context, floatingport):
  28.         pass
  29.  
  30.     def update_floatingport(self, context, id, floatingport):
  31.         pass
  32.  
  33.     def get_floatingport(self, context, id, fields=None):
  34.         pass
  35.  
  36.     def get_floatingports(self, context, id, fields=None):
  37.         pass
  38.  
  39.     def delete_floatingport(self, context, id):
  40.         pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement