original_docstring: 
      Remove static route from the PTF
  
      Args:
          ptfhost: PTF host object
          network_ip: Network IP address
          next_hop_ip: Next hop IP address
          name_of_namespace: Name of namespace
      
docstring: Remove static route from the PTF
docstring_tokens: Remove static route from the PTF
code: def remove_static_route(ptfhost, network_ip, next_hop_ip, name_of_namespace=None):
      """
      Remove static route from the PTF
  
      Args:
          ptfhost: PTF host object
          network_ip: Network IP address
          next_hop_ip: Next hop IP address
          name_of_namespace: Name of namespace
      """
      next_hop_ip = next_hop_ip.split('/')[0]
      if name_of_namespace:
          ptfhost.shell('ip netns exec {} ip route del {} nexthop via {}'
                        .format(name_of_namespace, network_ip, next_hop_ip))
      else:
          ptfhost.shell('ip route del {} nexthop via {}'
                        .format(network_ip, next_hop_ip))
code_tokens: def remove_static_route ( ptfhost , network_ip , next_hop_ip , name_of_namespace = None ) : next_hop_ip = next_hop_ip . split ( '/' ) [ 0 ] if name_of_namespace : ptfhost . shell ( 'ip netns exec {} ip route del {} nexthop via {}' . format ( name_of_namespace , network_ip , next_hop_ip ) ) else : ptfhost . shell ( 'ip route del {} nexthop via {}' . format ( network_ip , next_hop_ip ) )
short_docstring: Remove static route from the PTF
short_docstring_tokens: Remove static route from the PTF
comment: """
      Remove static route from the PTF
  
      Args:
          ptfhost: PTF host object
          network_ip: Network IP address
          next_hop_ip: Next hop IP address
          name_of_namespace: Name of namespace
      """