def startAllRsvpTeIf(self): """ Description Start all RSVP-TE Interface. """ queryData = {'from': '/', 'nodes': [{'node': 'topology', 'properties': ['name'], 'where': []}, {'node': 'deviceGroup', 'properties': [], 'where': []}, {'node': 'ethernet', 'properties': [], 'where': []}, {'node': 'ipv4', 'properties': [], 'where': []}, {'node': 'rsvpteIf', 'properties': [], 'where': []}] } queryResponse = self.ixnObj.query(data=queryData) for topologyObj in queryResponse.json()['result'][0]['topology']: for deviceGroupObj in topologyObj['deviceGroup']: if deviceGroupObj['ethernet'][0]['ipv4'][0]['rsvpteIf'] != []: for rsvpTeIfObj in deviceGroupObj['ethernet'][0]['ipv4'][0]['rsvpteIf']: data = {'arg1': [rsvpTeIfObj['href']]} self.ixnObj.post(self.ixnObj.httpHeader+rsvpTeIfObj['href']+'/operations/start', data=data)