def _get_vlan_body_on_trunk_int(self, nexus_host, vlanid, intf_type,<EOL>interface, is_native, is_delete,<EOL>add_mode):
starttime = time.time()<EOL>LOG.debug("<STR_LIT>"<EOL>"<STR_LIT>",<EOL>nexus_host, intf_type, interface)<EOL>if intf_type == "<STR_LIT>":<EOL><INDENT>body_if_type = "<STR_LIT>"<EOL>path_interface = "<STR_LIT>" + interface + "<STR_LIT:]>"<EOL><DEDENT>else:<EOL><INDENT>body_if_type = "<STR_LIT>"<EOL>path_interface = "<STR_LIT>" + interface + "<STR_LIT:]>"<EOL><DEDENT>path_snip = (snipp.PATH_IF % (path_interface))<EOL>mode = snipp.BODY_PORT_CH_MODE if add_mode else '<STR_LIT>'<EOL>if is_delete:<EOL><INDENT>increment_it = "<STR_LIT:->"<EOL>debug_desc = "<STR_LIT>"<EOL>native_vlan = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>native_vlan = '<STR_LIT>' + str(vlanid)<EOL>debug_desc = "<STR_LIT>"<EOL>if vlanid is "<STR_LIT>":<EOL><INDENT>increment_it = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>increment_it = "<STR_LIT:+>"<EOL><DEDENT><DEDENT>if is_native:<EOL><INDENT>body_snip = (snipp.BODY_NATIVE_TRUNKVLAN %<EOL>(body_if_type, mode, increment_it + str(vlanid),<EOL>str(native_vlan)))<EOL><DEDENT>else:<EOL><INDENT>body_snip = (snipp.BODY_TRUNKVLAN %<EOL>(body_if_type, mode, increment_it + str(vlanid)))<EOL><DEDENT>self.capture_and_print_timeshot(<EOL>starttime, debug_desc,<EOL>switch=nexus_host)<EOL>return path_snip, body_snip<EOL>
Prepares an XML snippet for VLAN on a trunk interface.

        :param nexus_host: IP address of Nexus switch
        :param vlanid:     Vlanid(s) to add to interface
        :param intf_type:  String which specifies interface type.
                           example: ethernet
        :param interface:  String indicating which interface.
                           example: 1/19
        :param is_native:  Is native vlan config desired?
        :param is_delete:  Is this a delete operation?
        :param add_mode:   Add mode trunk
        :returns           path_snippet, body_snippet