Changeset c6f867c


Ignore:
Timestamp:
Nov 23, 2011 2:44:40 PM (12 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, info-ops, master
Children:
45e880d
Parents:
f769cb3
Message:

beginnings of info requests.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/emulab_access.py

    rf769cb3 rc6f867c  
    10171017        """
    10181018        i = 0
     1019        t = topo.clone()
    10191020        # Copy the assigned names into the return topology
    1020         for e in topo.elements:
     1021        for e in t.elements:
    10211022            if isinstance(e, topdl.Computer):
    10221023                if not self.create_debug:
     
    10431044                'allocationLog': logv,
    10441045                'segmentdescription': {
    1045                     'topdldescription': topo.clone().to_dict()
     1046                    'topdldescription': t.clone().to_dict()
    10461047                    },
    10471048                'proof': proof.to_dict(),
    10481049                }
     1050        self.allocation[aid]['topo'] = topo.clone()
    10491051        retval = copy.copy(self.allocation[aid]['started'])
    10501052        self.write_state()
  • wsdl/fedd_types.xsd

    rf769cb3 rc6f867c  
    816816      <xsd:element name="deallocationLog" type="xsd:string" minOccurs="0"
    817817        maxOccurs="1"/>
     818      <xsd:element name="proof" type="tns:proofType" />
     819    </xsd:sequence>
     820  </xsd:complexType>
     821
     822  <xsd:complexType name="infoSegmentRequestType">
     823    <xsd:annotation>
     824      <xsd:documentation>
     825        Request current status of the segment
     826      </xsd:documentation>
     827    </xsd:annotation>
     828    <xsd:sequence>
     829      <xsd:element name="allocID" type="tns:IDType"/>
     830    </xsd:sequence>
     831  </xsd:complexType>
     832
     833
     834  <xsd:complexType name="startSegmentResponseType">
     835    <xsd:annotation>
     836      <xsd:documentation>
     837        Current status of the allocation
     838      </xsd:documentation>
     839    </xsd:annotation>
     840    <xsd:sequence>
     841      <xsd:element name="allocID" type="tns:IDType"/>
     842      <xsd:element name="segmentdescription"
     843        type="tns:experimentDescriptionType"/>
     844      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
     845        maxOccurs="unbounded"/>
    818846      <xsd:element name="proof" type="tns:proofType" />
    819847    </xsd:sequence>
Note: See TracChangeset for help on using the changeset viewer.