1. 10 Nov, 2010 1 commit
  2. 19 Aug, 2010 1 commit
    • Robert Ricci's avatar
      Better error message when requesting nodes of a nonexistent type · 1085e4a7
      Robert Ricci authored
      If a request was made for a node type that was not present in the physical
      topology, then the error message was, "Too much bandwidth on emulated links."
      This change adds a flag in mapping_precheck() that remembers whether the
      requested node type was found.  If not, then a new error message is printed
      instead of the bandwidth one.
  3. 03 Aug, 2010 2 commits
  4. 14 Jun, 2010 1 commit
  5. 08 Jun, 2010 1 commit
  6. 16 Apr, 2010 1 commit
  7. 15 Apr, 2010 5 commits
  8. 07 Oct, 2009 1 commit
  9. 17 Jul, 2009 2 commits
  10. 16 Jun, 2009 1 commit
  11. 15 Jun, 2009 1 commit
  12. 20 May, 2009 1 commit
  13. 31 Mar, 2008 1 commit
  14. 24 May, 2006 1 commit
  15. 19 May, 2006 2 commits
  16. 05 Apr, 2006 1 commit
  17. 04 Apr, 2006 1 commit
  18. 30 Mar, 2006 1 commit
    • Robert Ricci's avatar
      prune_unusable_pclasses() now goes through the ptypes of the classes · f8b6a77c
      Robert Ricci authored
      it removes, and decrements the available slot count for every node
      in a pclass that is being removed.
      After running prune_unusable_pclasses(), we now do another type check,
      minus the pruned pclasses.
      This should enable us to detect more free node problems up front -
      let's say there are 8 vnodes that all want 2 interfaces, but only
      a couple pnodes that have 2: most have 1. The second type check will
      now catch this, since all of the 1-interface pnodes have been pruned.
  19. 25 Jan, 2006 1 commit
    • Robert Ricci's avatar
      Merge in changes from the assign-devel branch. This includes: · ed3cbc13
      Robert Ricci authored
      Ripping out crope and replacing (almost) all cropes, char*s and
      strings with fstring
      Beginnings of XML parser support (not built by default yet).
      Significant re-org of code.
      Should now compile with the latest gcc.
      Putting link information in stored solutions.
      Support for fixing interfaces.
  20. 29 Sep, 2005 1 commit
  21. 13 Sep, 2005 1 commit
  22. 01 Sep, 2005 2 commits
  23. 23 Feb, 2005 1 commit
  24. 26 Jan, 2005 1 commit
  25. 19 Jan, 2005 1 commit
    • Robert Ricci's avatar
      Add support for the set-type-limit command in the ptop file. · 8eaec842
      Robert Ricci authored
      It looks like this:
      set-type-limit <type> <count>
      This can be placed anywhere in the ptop file.  It limits the number of
      physical nodes of a given type that an experimenter is allowed to use.
      For example, we may limit a user to 10 PCs, or 5 pc850s. In the latter
      case, if the experimenter had simply asked for 10 generic PCs, then we
      will try to find them some mapping of nodes that uses types of PCs
      other than pc850s.
      Added a precheck to tell the user up-front if they asked for more
      nodes than they are allowed to use of a given type.
  26. 17 Aug, 2004 1 commit
  27. 11 Aug, 2004 1 commit
  28. 03 Jun, 2004 2 commits
    • Robert Ricci's avatar
      Wrap the graphviz output code in a 'GRAPHVIZ_SUPPORT' #ifdef - boost's · 73becbb5
      Robert Ricci authored
      graphviz support seems to be broken in at least some versions of
      boost with some versions of gcc .
    • Robert Ricci's avatar
      'port' assign to compile under gcc 3 (specifically tested with 3.3.1). · f05e1008
      Robert Ricci authored
      This mostly required messing with the STL #includes.
      Still builds under gcc 2.95, and won't be built with 3.3 by default
      until I've spent more time testing it.
      One reason for doing this is that gcc 3.3 seems to generate faster
      code from templated functions. Tests so far show that the
      gcc3-compiled binary shaves 15-30% off of assign's runtime.
      The other reason for doing this is forward-looking. When we end up
      getting boss running on FreeBSD 5 or a recent Linux distro, the
      compiler is likely to be from the gcc 3 branch.
  29. 26 Apr, 2004 1 commit
    • Robert Ricci's avatar
      Some big changes to assign, and some related changes to assign_wrapper · 238dce73
      Robert Ricci authored
      and ptopgen.
      Add link typing to assign. Each virtual link is given a single type.
      Each physical link is given one or more types. A virtual link will
      only be mapped to a physical link which can satisfy its type. In both
      the top and ptop files, the link types are now mandatory, and they
      fall at the end of the mandatory link arguments.
      This differers from the 'regular' type system in two ways. First, a
      plink is not constrained to filling only one type at a time. If we are
      using emulated links, a plink could satisfy, say, an 'ethernet' link
      and an 'fxp' link at the same time. This seems to more naturally match
      the way we'll use link types.  Second, there are no counts assoicated
      with link types, as there are for node types. ie. a link is not an
      'ethernet:1' link, it's an 'ethernet' link. Presumably, when
      multiplexing virtual links onto a physical one, it's bandwidth that's
      the factor that limits the multiplexing.
      The link type is now taken into account when constructing pclasses,
      and in the mapping precheck.
      As a side-effect of these changes, the silly 'count' argument on the
      end of link lines in the ptop file, which was used for the fake LAN
      nodes, is no longer supported.
      The implementation could be a bit more efficient, but that would mean
      tossing more of the stuff we do with boost's graph library. I think
      this should happen, but today is not the day.
      Modify assign_wrapper and ptopgen to spit out top and ptop files in
      the new format.
      Changed the constant LINK_UKNOWN to LINK_UNMAPPED - the new name more
      accurately reflects the way this constant is used.
      Add a new '-n' flag that tells assign not to do annealing, just exit
      after the type precheck.
      Clarify the usage message for the -c flag.
      Removed some dead code for dealing with LAN nodes.
  30. 15 Apr, 2004 1 commit
  31. 23 Jan, 2004 1 commit