Exemple #1
0
    def __createEnslavedDataVMNetworkInterface(self, serverInterface):
        #Obtain
        macObj = self.__allocateMacFromSubscribedRanges()

        interface = NetworkInterface.createVMDataInterface(
            serverInterface.getName() + "-slave", macObj)

        #Enslave it
        serverInterface.attachInterfaceToBridge(interface)
        return interface