Age | Commit message (Collapse) | Author |
|
Change-Id: I4190095771711f22de5d248a11eb0697ad9d527a
|
|
Change-Id: Iac2eccf6046de546c3ea4ae9fecb67b78b2d2df7
|
|
Change-Id: I995e2158a3f37b773c83f5d1aee2203a2b87082f
|
|
Add a new NotFoundError exception for use internally, so we can track
specific failure cases.
Also add a new Error class as a central place to store our error
numbers consistently.
In the API protocol, add a "NOTFOUND" error string alongside "ERROR"
to help the admin interface and other callers distinguish error cases
better.
In the admin interface, actually return distinct non-zero errors in
failure cases. Previously, almost all failures would have returned
suceesfully to the calling shell.
Change-Id: Ie382b737a80b7cd41c551e3a4a2a7e0827260bdc
|
|
Change-Id: I72699ed5c25b4ec021dc30a0dfc2f10fda7122c1
|
|
Change-Id: Iaf94de537f02186aee00b870c78828c0feae9038
|
|
Change-Id: Ia533e0afb4df2f3e723e5f106d2d0689c3234bd9
|
|
Gives significantly better command line handling:
* git-like subcommands instead of --arguments for commands
* better enforcement of arguments for subcommands, and better help
Change-Id: I131e132da6a12744f5e89e21f01163449b90dd70
|
|
Calls would have worked, but reported failure by falling through
Change-Id: Ia262caf55ab121c1dd5ee4c4fc44e65ad2975a10
|
|
Change-Id: Ie4c201b50803ef0e32cef19459088a215b95ed2d
|
|
And release!
Change-Id: I80182883982dbeac457923ea633ec8e31fb72a7d
|
|
Update Changelog etc. to match
Change-Id: I2e55775f5239f674a432245a557f56056bba8f12
|
|
Include examples for all the different supported switch drivers.
Change-Id: If007b7bf06fe93228611ceeb0ba62936d6ee04e1
|
|
Change-Id: Iffb57154cbe2ee120a8b2f1502c920237f45fa85
|
|
Change-Id: I0095698512cc54ea153bff222e623bfa54f6c6aa
|
|
Change-Id: I2b191d145b77bf037454a8f09c1cf220e2ad0a82
|
|
Some browsers will do the imagemap and span CSS, but IE and
Konqueror (Safari?) won't. Ugh. Give up on that, and switch to trivial
Javascript functions to trigger on onMouseOver() and onMouseOut()
events instead. Generate all the port tooltip boxes in the right place
but invisible, and when desired simply make the right one visible.
Works on all of IE, Firefox, Chrome and Konqueror here, so this will
do.
Change-Id: I9062ff02c09f275d570148542bcf994f6698c9fc
|
|
Change-Id: I004c14c6a631dbec7c1d0b6c9ffbbb40316f20a5
|
|
Change-Id: I431326d3ee89bdd054174c55b3257107aa7405ce
|
|
Change-Id: I82fcf6cf1f50a51e75a1e3a162a118f51db98b99
|
|
Change-Id: I5285ae491842b240c3d1da0b71b837df7bb1561f
|
|
Instead of generating the images on-demand every time they're asked
for, add a cache and generate them when the index is asked for. Only
update the cache if the database underneath us has changed. This will
reduce load noticeably when nothing has changed, plus in the
index-generating code we now have access to information about the
images.
We now use that information to generate pop-up tooltips when the user
hovers over each port in the network graphics, giving more information
about the port in question. Major modifications to the CSS needed to
make this work too. Tested successfully in Firefox and Chrome so far;
IE and webkit are not showing the tooltips yet. :-(
Change-Id: I7d2f3ddf289c0ca4379a8e287c37e2e043745487
|
|
Change-Id: If1dae28581080481052fef36be930fae55e324bc
|
|
Change-Id: I6b2a55598153f6e52d7809582aed94ee1d67cec1
|
|
Previously, Switch.get_port_location() would return the co-ordinates
of the middle of an edge of a port box, ready for (only) passing into
Graphics.draw_trunk(). We now have more users who will want to find
where a port is, so update what's passed here. Now we will pass the
co-ordinates of the UL and LR corners of the port box (along with
whether it's upper or lower row).
This will enable other users to pick up on the location of a port box
properly, e.g. for image maps.
Change-Id: I82a7e7f63381a64f32188e21af46f72ee3ba7915
|
|
Explicitly return just the data, not a list.
Change-Id: Ia4344faba039c771b5aad2c6e3aed516d2ef96ec
|
|
Add a new table which will have one record, simply containing the
last-modified-time of the database as a whole. Will be useful for
caching in the visualisation layer.
Create the table at startup in the main VLANd process if it doesn't
exist, and create the record too.
Add code to update the record on all other changes to the database.
Add code to report it through the daemon.status() API call.
Change-Id: I503c4371c04accb2c3f91adecc3e8a8a8614ea90
|
|
Change-Id: Ic94046f37bcb32ea3ea3df38d322fd82be12d6de
|
|
And add test case
Change-Id: I3abe8c71bb95614c2edbbd2d8943edf6aa060f49
|
|
Change-Id: I57cd3f82196ed841fb07c392bc4d6951f2fcd612
|
|
Set the default to CRITICAL only, to simplify code. Add check for the
specified logging level, and a unit test for that.
Change-Id: I3ffa467f001dfdfb840f312bf0df8265aac58299
|
|
Change-Id: Ic53997bc257aa690a5c00b19c3cbc7e8d973959f
|
|
Change-Id: I1a5eb17709d0e01ab26dc8c8fe727f4f7a7da283
|
|
Change-Id: Ife8e918f8d1222ec3a8e32d7d3632a50ce4c0dd6
|
|
Catch and log InputError()
Catch and log ValueError() and report back to the API user
Change-Id: I1d7414baa4a84106439c37ad36be3578356a3371
|
|
Change-Id: I80ac77ee07d6f8738c13d638fcdf6ca1da52a1ca
|
|
This new driver kust remembers what it's been told and gives the same
data back on demand, to allow for simple test harness use.
Change-Id: I2f397efdbf41729c7aff65fcefc9ae9648db35c6
|
|
It's not a good fit in common code - not all drivers are necessarily
going to use a Pexpect-style connection. Move that call back into the
drivers that use it.
Change-Id: Ie69210c168af1bf6f785570f42bc16f8727af6b0
|
|
Change-Id: Iee39e5c221a57d7e418a236b546cd790cd3902b3
|
|
Change-Id: I54dba7c5a21d0d8500d89c1a8d3ad6675998eb9c
|
|
Change-Id: Ifc0d17b9e23d2c850b463ce1714ebed32805fe3f
|
|
Change-Id: I607e732121cfa357cef3dea167e0adae7d6ac61c
|
|
Change-Id: I37ee3ac79a723a5d9ddd8cfe262f03b52517c0a8
|
|
In _get_multi_elements() and _get_multi_elements2(), add an extra
sort_field argument.
Update all the callers to specify which field to use.
Change-Id: Ib09bdb0cf6e7126c94b79ce8110aab1004bbba74
|
|
Change-Id: Ic890affa7eb7a20ecc1d1ce4bba4b7fe1f87cf6a
|
|
Update version strings
Update the Changelog and README
Update copyright year in various files
Change-Id: If746211e0b36e59d4f3de977b81df082f2da9fe3
|
|
Far from pretty, but it works...
Change-Id: I20ac6cbd1df2cbb31b8bc50e34f6c05302006881
|
|
Change-Id: Ie35df98fe02dfc2f6705f6ac4219f01972d9e2db
|
|
Change-Id: Ib7f5017ae1af56ac5f2ed287acfcffe9a537a3d4
|
|
Change-Id: I2102cc15d8ee9dded6d32a42b5555444f0b58187
|