Ignore:
Timestamp:
Mar 10, 2014 5:25:42 PM (10 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
d75005b
Parents:
a2ca699
Message:

Shared NAT integrated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/xmlrpc_emulab_segment.py

    ra2ca699 r8fbef04  
    141141        return state
    142142
    143     def make_null_experiment(self, pid, eid, tmpdir, gid=None):
     143    def make_null_experiment(self, pid, eid, tmpdir, gid=None, ns_str=None):
    144144        """
    145145        Create a null copy of the experiment so that we capture any logs there
    146146        if the modify fails.  Emulab software discards the logs from a failed
    147         startexp.
    148         """
     147        startexp.  If ns_str is given, use that to construct the null
     148        experiment.
     149        """
     150
     151        if ns_str is None:
     152            ns_str = self.null
    149153
    150154        if self.debug:
     
    157161                    'proj': pid,
    158162                    'exp': eid,
    159                     'nsfilestr': self.null,
     163                    'nsfilestr': ns_str,
    160164                    'batch': False,
    161165                    'idleswap': 0,
Note: See TracChangeset for help on using the changeset viewer.