- 18 Aug, 2017 17 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
1. Beef up MakeFake in Interface/Wires and use that from Port library instead of existing fake stuff. 2. Add a Create routine for wires, remove all the direct insertions scattered around the code. 3. Add some Lookup routines, so we can remove a bunch of direct queries to the DB scattered around the code. 4. Add a trivial wrapper Interface::Type, and give it one useful function for now, to map generic speed to interface object.
-
Leigh B Stoller authored
object lookups via Interface library.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
the DB please.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
instead. Also create interface for switch side of wire.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
Interface::Wire->Create instead of direct DB insertion.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
- 17 Aug, 2017 2 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
- 15 Aug, 2017 2 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
- 14 Aug, 2017 6 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
sanity checking on the interfaces and wires tables, creates interfaces for the switch side of all wires, as well as any other missing interfaces for wires. Eventually the primary key for the wires table will be node_id1,iface1,node_id2,iface2, but we are ways off from that. Not that wires between switches that do not have an existing for at least one side, are not handled yet since there is not enough information to generate the two missing interfaces. Have to think about that, but not a problem for now.
-
Leigh B Stoller authored
interfaces table for auto creating interfaces, in case I need to back them out in a hurry.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
a URL for those, and we should fall back to looking for the image locally.
-
- 11 Aug, 2017 1 commit
-
-
Leigh B Stoller authored
interfaces. Also add a couple of generic interface types (40G and 100G).
-
- 09 Aug, 2017 1 commit
-
-
Leigh B Stoller authored
1. We now allow lans to be implemented by a path. We did not allow this before, cause some of the sanity checking code was a pain to implement for lans. Well, no more sanity checking, the user is responsible for doing things correctly (after all, they are doing experiments with their own switches!). 2. We now allow topologies with more then one switch to be wired together. The wires between switches are marked as "trunk" wires, which informs the configuration generation code in libosload_switch to create the trunks and do the little tagged/untagged magic that is required on procurve switches. The same information is used to mark the the logical wires between switches as trunks. Aside: this stuff needs some work; we have spanning tree on by default, which causes the trunks to not work correctly. When I turn that off, things start working. So need some help from others who now about spanning tree stuff. 3. Serious kludging in the Interface and Port libraries related to choice of primary keys in the wires table. In order to insert a logical wire (or interface) that represents a connection setup by the apcon, we have to overload the primary key since the node_id1 side of the logical wires is the same as the physical wire to the apcon. We have to have overload the node_id2 side too, but that is really just a problem when wiring two switches together. Anyway, the kludge just maps card1 to a different id, and the Port library unmaps it. It will do for now, but really need logical wires to be done better then this.
-
- 08 Aug, 2017 11 commits
-
-
Leigh B Stoller authored
1. The Geni path already supported this, just needed to add it to the web UI and plumb it through. 2. This is featurized, so on the Mothership only users with the feature will see this, not something we want mere users to do.
-
Leigh B Stoller authored
replace with new one that looks in the DB directly.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
system announcements.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
lookup.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
1. Allow uuids to be used to specify reservations, change pretty much everything in the web interface to use uuid's so we stop exporting databases indexes to the client side. 2. Change RPC path to return a blob of data when approving a reservation. Ditto for initial creation, so that we can see precisely what the local cluster has done. 3. When a reservation is created/approved, insert an announcement in the announce system for that user, set to go off 24 hours ahead of reservation. Update that announcement when reservation is modified.
-
Leigh B Stoller authored
-