def create_vlan(self, nexus_host, vlanid, vni):
starttime = time.time()<EOL>path_snip, body_snip = self.start_create_vlan()<EOL>body_snip = self.get_create_vlan(nexus_host, vlanid, vni, body_snip)<EOL>body_snip = self.end_create_vlan(body_snip)<EOL>self.send_edit_string(nexus_host, path_snip, body_snip)<EOL>self.capture_and_print_timeshot(<EOL>starttime, "<STR_LIT>",<EOL>switch=nexus_host)<EOL>
Given switch, vlanid, vni, Create a VLAN on Switch.