original_docstring: 
      Create lag ports on the DUT
  
      Args:
          duthost: DUT host object
          config_port_indices: Dictionary of port on the DUT
  
      Returns:
          Dictonary of lag ports on the DUT
      
docstring: Create lag ports on the DUT
docstring_tokens: Create lag ports on the DUT
code: def create_lag_port(duthost, config_port_indices):
      """
      Create lag ports on the DUT
  
      Args:
          duthost: DUT host object
          config_port_indices: Dictionary of port on the DUT
  
      Returns:
          Dictonary of lag ports on the DUT
      """
      lag_port_map = {}
      for port_index, port_name in config_port_indices.items():
          lag_port = 'PortChannel{}'.format(port_index)
          remove_ip_from_port(duthost, port_name)
          remove_member_from_vlan(duthost, '1000', port_name)
          duthost.shell('config portchannel add {}'.format(lag_port))
          duthost.shell('config portchannel member add {} {}'.format(lag_port, port_name))
          lag_port_map[port_index] = lag_port
  
      return lag_port_map
code_tokens: def create_lag_port ( duthost , config_port_indices ) : lag_port_map = { } for port_index , port_name in config_port_indices . items ( ) : lag_port = 'PortChannel{}' . format ( port_index ) remove_ip_from_port ( duthost , port_name ) remove_member_from_vlan ( duthost , '1000' , port_name ) duthost . shell ( 'config portchannel add {}' . format ( lag_port ) ) duthost . shell ( 'config portchannel member add {} {}' . format ( lag_port , port_name ) ) lag_port_map [ port_index ] = lag_port return lag_port_map
short_docstring: Create lag ports on the DUT
short_docstring_tokens: Create lag ports on the DUT
comment: """
      Create lag ports on the DUT
  
      Args:
          duthost: DUT host object
          config_port_indices: Dictionary of port on the DUT
  
      Returns:
          Dictonary of lag ports on the DUT
      """