def nextLoopbackIntf(self):
        if len(self.loIntfs) > 0:
            return max(self.loIntfs.values()) + 1
        return 0

    # Service handlers #
Returns the index of the next loopback interface that is free
dataset/ETHPy150Open USC-NSL/miniNExT/mininext/node.py/Node.nextLoopbackIntf