Skip to content

Commit

Permalink
add interface in channel
Browse files Browse the repository at this point in the history
  • Loading branch information
laurapanzariello authored and laurapanzariello committed Aug 24, 2015
1 parent 55e97db commit b31f3a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion networkapiclient/Interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def get_interface_by_channel(self, channel_name):

return self.response(code, map)

def editar_channel (self, id_channel, nome, lacp, int_type, vlan, envs):
def editar_channel (self, id_channel, nome, lacp, int_type, vlan, envs, ids_interface):

channel_map = dict ()
channel_map['id_channel'] = id_channel
Expand All @@ -464,6 +464,7 @@ def editar_channel (self, id_channel, nome, lacp, int_type, vlan, envs):
channel_map['int_type'] = int_type
channel_map['vlan'] = vlan
channel_map['envs'] = envs
channel_map['ids_interface'] = ids_interface

code, xml = self.submit({'channel': channel_map}, 'PUT', 'channel/editar/')

Expand Down

0 comments on commit b31f3a6

Please sign in to comment.