#NEWLINE# def _create_logical_network( self , network_profile , vsm_ip = None ) : #NEWLINE# #INDENT# 'Create a logical network on the VSM.\n\n        :param network_profile: network profile dict\n        :param vsm_ip: string representing the IP address of the VSM\n        ' #NEWLINE# body = { #NEWLINE# #INDENT# 'description' : network_profile [ 'name' ] , #NEWLINE# #UNINDENT# } #NEWLINE# logical_network_name = ( network_profile [ 'id' ] + n1kv_const . LOGICAL_NETWORK_SUFFIX ) #NEWLINE# return self . _post ( ( self . logical_network_path % vsm_ip ) , body = body , vsm_ip = vsm_ip )