def _get_port_channel_group(self, nexus_host, intf_type, interface):
ch_grp = <NUM_LIT:0><EOL>if intf_type != '<STR_LIT>':<EOL><INDENT>return ch_grp<EOL><DEDENT>match_key = "<STR_LIT>" + interface<EOL>action = snipp.PATH_GET_PC_MEMBERS<EOL>starttime = time.time()<EOL>result = self.client.rest_get(action, nexus_host)<EOL>self.capture_and_print_timeshot(starttime, "<STR_LIT>",<EOL>switch=nexus_host)<EOL>try:<EOL><INDENT>for pcmbr in result['<STR_LIT>']:<EOL><INDENT>mbr_data = pcmbr['<STR_LIT>']['<STR_LIT>']<EOL>if mbr_data['<STR_LIT>'] == match_key:<EOL><INDENT>_, nbr = mbr_data['<STR_LIT>'].split("<STR_LIT>")<EOL>ch_grp = int(nbr)<EOL>break<EOL><DEDENT><DEDENT><DEDENT>except Exception:<EOL><INDENT>ch_grp = <NUM_LIT:0><EOL><DEDENT>LOG.debug("<STR_LIT>",<EOL>{'<STR_LIT:key>': match_key, '<STR_LIT>': ch_grp})<EOL>return ch_grp<EOL>
Look for 'channel-group x' config and return x.

        :param nexus_host: IP address of Nexus switch
        :param intf_type:  String which specifies interface type.
                           example: ethernet
        :param interface:  String indicating which interface.
                           example: 1/19
        :returns pc_group: Returns port channel group if
                           present else 0