code: def get_create_vlan(self, nexus_host, vlanid, vni, conf_str):
          
  
          starttime = time.time()
  
          if vni:
              body_snip = snipp.BODY_VXLAN_ALL_INCR % (vlanid, vni)
          else:
              body_snip = snipp.BODY_VLAN_ALL_INCR % vlanid
          conf_str += body_snip + snipp.BODY_VLAN_ALL_CONT
  
          self.capture_and_print_timeshot(
              starttime, "get_create_vlan",
              switch=nexus_host)
  
          return conf_str
docs: Returns an XML snippet for create VLAN on a Nexus Switch.