def getInnerDeviceGroup(self, deviceGroupObj): response = self.ixnObj.get(self.ixnObj.httpHeader + deviceGroupObj + '/deviceGroup') if response.json(): for innerDeviceGroup in response.json()[0]['links']: innerDeviceGroupObj = innerDeviceGroup['href'] deviceGroupList.append(innerDeviceGroupObj)