Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- from oslo.config import cfg
- from neutron.api.rpc.agentnotifiers import l3_rpc_agent_api
- from neutron.common import constants as q_const
- from neutron.common import rpc as n_rpc
- from neutron.common import topics
- from neutron.db import api as qdbapi
- from neutron.db import db_base_plugin_v2
- from neutron.db import extraroute_db
- from neutron.db import l3_agentschedulers_db
- from neutron.db import l3_gwmode_db
- from neutron.db import l3_rpc_base
- from neutron.db import model_base
- from neutron.openstack.common import importutils
- from neutron.plugins.common import constants
- #TODO: Fix it to proper extension import
- #sys.path.insert(0, '/home/maciek/os-floating-port/floating_port/extensions/')
- from neutron.extensions.floatingport import FloatingPortPluginBase
- class FloatingPort(FloatingPortPluginBase):
- supported_extension_aliases = ['floatingport']
- def create_floatingport(self, context, floatingport):
- pass
- def update_floatingport(self, context, id, floatingport):
- pass
- def get_floatingport(self, context, id, fields=None):
- pass
- def get_floatingports(self, context, id, fields=None):
- pass
- def delete_floatingport(self, context, id):
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement