code: func NewRoutes(compute *gophercloud.ServiceClient, network *gophercloud.ServiceClient, opts RouterOpts) (cloudprovider.Routes, error) {
  	if opts.RouterID == "" {
  		return nil, errNoRouterID
  	}
  
  	return &Routes{
  		compute: compute,
  		network: network,
  		opts:    opts,
  	}, nil
  }
docs: // NewRoutes creates a new instance of Routes