X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=vimconn.py;h=7e82590d4984fd6549a5bbcb720d62a7fad4638b;hb=325fa1c2b18ecb0765f3733994e694ee5c42339b;hp=36c3b52cfce8a111807e371c7bdaf4c2fccc6add;hpb=a4e1a6ed87de04788ec6855fc8a5e722914e4f03;p=osm%2FRO.git diff --git a/vimconn.py b/vimconn.py index 36c3b52c..7e82590d 100644 --- a/vimconn.py +++ b/vimconn.py @@ -160,9 +160,11 @@ class vimconnector(): ''' 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 - 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" )