Skip to content

Commit

Permalink
add network creation call to network.api.API
Browse files Browse the repository at this point in the history
Fix bug #1022470

Change-Id: Iccbbf086fb499e574c86a0f6ffceedfa07e1acf0
  • Loading branch information
Alessio Ababilov committed Jul 12, 2012
1 parent a253151 commit 945493b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nova/network/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ def get(self, context, network_uuid):
{'method': 'get_network',
'args': {'network_uuid': network_uuid}})

def create(self, context, **kwargs):
return rpc.call(context,
FLAGS.network_topic,
{'method': 'create_networks',
'args': kwargs})

def delete(self, context, network_uuid):
return rpc.call(context,
FLAGS.network_topic,
Expand Down

0 comments on commit 945493b

Please sign in to comment.