Changeset 6e44258 for fedd/federation
- Timestamp:
- Oct 29, 2009 8:08:34 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-2.00, version-3.01, version-3.02
- Children:
- 5c8fbb9
- Parents:
- 2bc7b76
- Location:
- fedd/federation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/emulab_access.py
r2bc7b76 r6e44258 1070 1070 os.mkdir(softdir) 1071 1071 for s in sw: 1072 print "%s %s %s" % ( s, certfile, softdir) 1072 1073 get_url(s, certfile, softdir) 1073 1074 -
fedd/federation/experiment_control.py
r2bc7b76 r6e44258 1574 1574 else: 1575 1575 new_i = topdl.Interface( 1576 substrate=s .name,1576 substrate=sub.name, 1577 1577 attribute=[ 1578 1578 topdl.Attribute( … … 1630 1630 topo[st].elements.append(portal) 1631 1631 1632 def new_dragon_portal(self, st, dt, master, eid, dip, idx,1632 def new_dragon_portal(self, st, dt, master, eid, myip, dip, idx, 1633 1633 substrate, tbparams): 1634 1634 # Add to the master testbed … … 1640 1640 ((substrate.name,( 1641 1641 ('portal','true'), 1642 ('ip4_address', "%s" % ip_addr( dip)),1642 ('ip4_address', "%s" % ip_addr(myip)), 1643 1643 ('dragon_vlan', 'unassigned%d' % idx), 1644 1644 ('dragon_type', 'link'),)),)) … … 1696 1696 dip, leng = ip_allocator.allocate(4) 1697 1697 dip += 1 1698 mip = dip+1 1698 1699 csub = topdl.Substrate( 1699 1700 name="dragon-control-%s" % tb, … … 1730 1731 topo[tb].elements.append( 1731 1732 self.new_dragon_portal(tb, master, master, eid, 1732 dip, idx, csub, tbparams))1733 dip, mip, idx, csub, tbparams)) 1733 1734 topo[tb].elements.append(seg) 1734 1735 1735 dip+=11736 1736 mcsub = csub.clone() 1737 1737 seg = topdl.Segment( … … 1758 1758 topo[master].elements.append( 1759 1759 self.new_dragon_portal(master, tb, master, eid, 1760 dip, idx, mcsub, tbparams))1760 mip, dip, idx, mcsub, tbparams)) 1761 1761 topo[master].elements.append(seg) 1762 1762 … … 1831 1831 # XXX 1832 1832 softmap[pkg] = \ 1833 "https://users.isi.deterlab.net:2323 2/%s/%s" %\1833 "https://users.isi.deterlab.net:23235/%s/%s" %\ 1834 1834 ( path, dest) 1835 1835 … … 2084 2084 2085 2085 # XXX 2086 url_base = 'https://users.isi.deterlab.net:2323 2'2086 url_base = 'https://users.isi.deterlab.net:23235' 2087 2087 attrs = [ 2088 2088 { -
fedd/federation/local_emulab_segment.py
r2bc7b76 r6e44258 240 240 self.log.debug("[start_segment]: swapin timed out " +\ 241 241 "checking state") 242 state = self.get_state( user, host,pid, eid)242 state = self.get_state(pid, eid) 243 243 self.log.debug("[start_segment]: state is %s" % state) 244 244 return state == 'active'
Note: See TracChangeset
for help on using the changeset viewer.