def enable_vxlan_feature(self, nexus_host, nve_int_num, src_intf):
<EOL>starttime = time.time()<EOL>self.send_edit_string(nexus_host, snipp.PATH_VXLAN_STATE,<EOL>(snipp.BODY_VXLAN_STATE % "<STR_LIT>"))<EOL>self.send_edit_string(nexus_host, snipp.PATH_VNSEG_STATE,<EOL>(snipp.BODY_VNSEG_STATE % "<STR_LIT>"))<EOL>self.send_edit_string(<EOL>nexus_host,<EOL>(snipp.PATH_NVE_CREATE % nve_int_num),<EOL>(snipp.BODY_NVE_CREATE % nve_int_num))<EOL>self.send_edit_string(<EOL>nexus_host,<EOL>(snipp.PATH_NVE_CREATE % nve_int_num),<EOL>(snipp.BODY_NVE_ADD_LOOPBACK % ("<STR_LIT>", src_intf)))<EOL>self.capture_and_print_timeshot(<EOL>starttime, "<STR_LIT>",<EOL>switch=nexus_host)<EOL>
Enable VXLAN on the switch.