code: def vrf_add(self, route_dist, import_rts, export_rts, site_of_origins=None,
                  route_family=RF_VPN_V4, multi_exit_disc=None):
          
          if route_family not in SUPPORTED_VRF_RF:
              raise ValueError('Unsupported route_family: %s' % route_family)
  
          vrf = {
              vrfs.ROUTE_DISTINGUISHER: route_dist,
              vrfs.IMPORT_RTS: import_rts,
              vrfs.EXPORT_RTS: export_rts,
              vrfs.SITE_OF_ORIGINS: site_of_origins,
              vrfs.VRF_RF: route_family,
              vrfs.MULTI_EXIT_DISC: multi_exit_disc,
          }
  
          call('vrf.create', **vrf)
docs: This method adds a new vrf used for VPN.
  
          ``route_dist`` specifies a route distinguisher value.
  
          ``import_rts`` specifies a list of route targets to be imported.
  
          ``export_rts`` specifies a list of route targets to be exported.
  
          ``site_of_origins`` specifies site_of_origin values.
          This parameter must be a list of string.
  
          ``route_family`` specifies route family of the VRF.
          This parameter must be one of the following.
  
          - RF_VPN_V4 (default) = 'ipv4'
          - RF_VPN_V6           = 'ipv6'
          - RF_L2_EVPN          = 'evpn'
          - RF_VPNV4_FLOWSPEC   = 'ipv4fs'
          - RF_VPNV6_FLOWSPEC   = 'ipv6fs'
          - RF_L2VPN_FLOWSPEC   = 'l2vpnfs'
  
          ``multi_exit_disc`` specifies multi exit discriminator (MED) value.
          It must be an integer.