original_docstring: 
      Remove sub-port from redis-db
  
      Args:
          duthost: DUT host object
          sub_port: Sub-port name
          ip: IP address of port
      
docstring: Remove sub-port from redis-db
docstring_tokens: Remove sub - port from redis - db
code: def remove_sub_port(duthost, sub_port, ip):
      """
      Remove sub-port from redis-db
  
      Args:
          duthost: DUT host object
          sub_port: Sub-port name
          ip: IP address of port
      """
      duthost.shell('config interface ip remove {} {}'.format(sub_port, ip))
      duthost.shell('redis-cli -n 4 del "VLAN_SUB_INTERFACE|{}"'.format(sub_port))
code_tokens: def remove_sub_port ( duthost , sub_port , ip ) : duthost . shell ( 'config interface ip remove {} {}' . format ( sub_port , ip ) ) duthost . shell ( 'redis-cli -n 4 del "VLAN_SUB_INTERFACE|{}"' . format ( sub_port ) )
short_docstring: Remove sub-port from redis-db
short_docstring_tokens: Remove sub - port from redis - db
comment: """
      Remove sub-port from redis-db
  
      Args:
          duthost: DUT host object
          sub_port: Sub-port name
          ip: IP address of port
      """