~nova-network-poc/nova/network-service

« back to all changes in this revision

Viewing changes to nova/network/flat/__init__.py

  • Committer: Hisaharu Ishii
  • Date: 2011-03-30 10:33:12 UTC
  • Revision ID: ishii.hisaharu@lab.ntt.co.jp-20110330103312-h0j86holxv3zl8u0
Added zope interface for net agents

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
from zope import interface
18
18
 
19
19
from nova.network import service
20
 
from nova.network.flat import compute as net_agent
 
20
from nova.network.flat_dhcp.compute import NetworkAgentService
21
21
from nova.network.flat.api import NetworkApiService
22
22
from nova.network.flat.api.openstack import NetworkOpenStackApiService
23
23
 
36
36
    
37
37
    def get_net_agent(self):
38
38
        """Gets the net agent for this plugin."""
39
 
        return net_agent
 
39
        return NetworkAgentService()