Exemplo n.º 1
0
    def __init__(self, path=None):
        super(GENIv3Delegate, self).__init__()

        self.SEResources = SEConfigurator.seConfigurator()

        self.SESlices = seSlicesWithSlivers()
        self._verify_users =\
            ast.literal_eval(ConfParser("geniv3.conf").get("certificates").get("verify_users"))
Exemplo n.º 2
0
    def __init__(self,path=None):
        super(GENIv3Delegate, self).__init__()

        self.SEResources = SEConfigurator.seConfigurator()
        
        self.SESlices = seSlicesWithSlivers()
        self._verify_users =\
            ast.literal_eval(ConfParser("geniv3.conf").get("certificates").get("verify_users"))        
Exemplo n.º 3
0
def se_job_release_resources(time, ports, slice_urn):

    
    SEResources = SEConfigurator.seConfigurator()
    
    SESlices = seSlicesWithSlivers()

    logger.info('Release! This was scheduled at %s Resources: %s Slice URN: %s' % (time, ports, slice_urn))

    # Mark resources as free
    SEResources.free_resource_reservation(ports)

    # Remove reservation
    db_sync_manager.remove_slices(slice_urn)
Exemplo n.º 4
0
def se_job_release_resources(time, ports, slice_urn):

    
    SEResources = SEConfigurator.seConfigurator()
    
    SESlices = seSlicesWithSlivers()

    logger.info('Release! This was scheduled at %s Resources: %s Slice URN: %s' % (time, ports, slice_urn))

    # Mark resources as free
    SEResources.free_resource_reservation(ports)

    # Remove reservation
    db_sync_manager.remove_slices(slice_urn)