def fill_dcnm_subnet_info(self, tenant_id, subnet, start, end, gateway,<EOL>sec_gateway, direc):
serv_obj = self.get_service_obj(tenant_id)<EOL>fw_dict = serv_obj.get_fw_dict()<EOL>fw_id = fw_dict.get('<STR_LIT>')<EOL>if direc == '<STR_LIT>':<EOL><INDENT>name = fw_id[<NUM_LIT:0>:<NUM_LIT:4>] + fw_const.IN_SERVICE_SUBNET + (<EOL>fw_id[len(fw_id) - <NUM_LIT:4>:])<EOL><DEDENT>else:<EOL><INDENT>name = fw_id[<NUM_LIT:0>:<NUM_LIT:4>] + fw_const.OUT_SERVICE_SUBNET + (<EOL>fw_id[len(fw_id) - <NUM_LIT:4>:])<EOL><DEDENT>subnet_dict = {'<STR_LIT>': False,<EOL>'<STR_LIT>': tenant_id,<EOL>'<STR_LIT:name>': name,<EOL>'<STR_LIT>': subnet + '<STR_LIT>',<EOL>'<STR_LIT>': gateway,<EOL>'<STR_LIT>': sec_gateway,<EOL>'<STR_LIT>': <NUM_LIT:4>}<EOL>subnet_dict['<STR_LIT>'] = [{'<STR_LIT:start>': start, '<STR_LIT:end>': end}]<EOL>return subnet_dict<EOL>
Fills the DCNM subnet parameters.

        Function that fills the subnet parameters for a tenant required by
        DCNM.