projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fixes bug #57"
[osm/RO.git]
/
vimconn.py
diff --git
a/vimconn.py
b/vimconn.py
index
36c3b52
..
e6e0421
100644
(file)
--- a/
vimconn.py
+++ b/
vimconn.py
@@
-92,7
+92,7
@@
class vimconnector():
self.user = user
self.passwd = passwd
self.config = config
self.user = user
self.passwd = passwd
self.config = config
- self.logger = logging.getLogger('mano.vim')
+ self.logger = logging.getLogger('
open
mano.vim')
self.logger.setLevel( getattr(logging, log_level) )
if not self.url_admin: #try to use normal url
self.url_admin = self.url
self.logger.setLevel( getattr(logging, log_level) )
if not self.url_admin: #try to use normal url
self.url_admin = self.url
@@
-160,9
+160,11
@@
class vimconnector():
'''
raise vimconnNotImplemented( "Should have implemented this" )
'''
raise vimconnNotImplemented( "Should have implemented this" )
- def new_network(self,net_name, net_type, shared=False):
+ def new_network(self,net_name, net_type,
ip_profile=None,
shared=False):
'''Adds a tenant network to VIM
'''Adds a tenant network to VIM
- net_type can be 'bridge','data'.'ptp'. TODO: this need to be revised
+ net_name is the name
+ net_type can be 'bridge','data'.'ptp'. TODO: this need to be revised
+ ip_profile is a dict containing the IP parameters of the network
shared is a boolean
Returns the network identifier'''
raise vimconnNotImplemented( "Should have implemented this" )
shared is a boolean
Returns the network identifier'''
raise vimconnNotImplemented( "Should have implemented this" )