| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
References #195
This is the first dumb-ass implementation of the collector-api.
It actually works fine for write AS IS, but has 0 safties. But I'm thinking the
API itself is reasonably stable and ready for testing.
I will need to extend it for dhcp-specific stuff, and the plan is to
create a secondary table with metadata (hidden from the user) and a few
other nice things.
Also, indexes. We need indexes. Obviously.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sort of.
It's two issues at once, related:
1. API: The problem here was that the old way of updating tags simply didn't
use actual JSON, but just sent "'foo','bar','baz'" as a text string. This
seems dumb so I've made it send actual JSON now - just like the "placement"
field. This meant updating the API. And it's not pretty, but it works.
2. Front: I've simplified nms-types a bit (hopefully to provide to simple
methods: either get/set the raw value, or get/set strings. There was a bug
where we sent text-encoded json instead of real json, and the reason
was a confusion between when we're dealing with JSON and when we're
dealing with strings. Now we are explicit.
This makes the nmsEditRow-thing slightly uglier, but it needs to be fixed
properly either way. In the future, we should provide renderers and editors
based on types, e.g.: Placement-editor could start as a general-purpose
JSON-editor, and the "switch reference" should be a drop-down.... etc.
Fixes #202
|
|
|
|
| |
God I hate this...
|
|
|
|
| |
It creates an extra margin that serves no purpose but to take up space.
|
|\ |
|
| | |
|
| | |
|
|/ |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Bah, forgot to use English.
Use google translate if you so require.
|
| |\
| | |
| | | |
Added slight rewrite of template webserver
|
| | |
| | |
| | |
| | |
| | | |
Although nice to have, this isn't compatible with the implementation
of the web service.
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
Moved to flask for more "free" things. Possibly easier to extend in the
future. Added argparser so we are able to define settings from the
command line.
|
| |
| |
| |
| | |
Fixes #193
|
| |\
| | |
| | | |
Update ansible play for Debian 9
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |\
| | |/
| |/| |
|
| |\ \
| | | |
| | | | |
Fixes ansible and postgres user premission error
|
| |/ / |
|
| | | |
|
| | | |
|
| |/ |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #183
References #182
It's now possible to add new networks and switches, and it's also possible to
edit networks, but since I haven't exposed it in the UI yet, I can't really
close the bug.
This is also a major step in stripping nms-info-box apart.
Next up is listing existing networks, possibly linking to them. I think that
might be a decent first-step towards a new core nms-info-box since it doesn't
alreay exist.
|
|
|
|
|
|
|
| |
Also some other random drive-by fixes :D
Fixes #180
References #181
|
|
|
|
|
|
|
| |
Starting to look seeeexy.
Also killed off some redundant stuff that should be covered by templates
instead now.
|
| |
|
|
|
|
| |
Still needs to be tidied up, but we're getting there.
|
|
|
|
|
|
|
|
|
|
|
| |
The integration is a hack, but a first step. I will eventually remove all the
code in nms-info-box, but I needed a simple test.
This also demonstrates how to add a new switch.... simply hit edit, then change
the name. It aint pretty, and shouldn't work like it does today, but it's
a decent example.
Also, had to fix the backend again now that I actually tested the write-api :D
|
| |
|
|
|
|
|
|
| |
Turns out the style-diff was because the old implementation with hard-coded
HTML had indentation == white space, which rendered as white-space between the
elements.... This SHOULD be a CSS fix, but in the meanwhile....
|
|
|
|
|
| |
The timeout makes things about 1000x more complicated, but adds a really nice
effect too.
|
| |
|
| |
|
| |
|
|
|
|
| |
Too late, need sleeeezpzpeepzor
|
|
|
|
|
| |
This is still a bit of a mess, but I'm establishing a new way of doing things,
it'll be awesome, I swear...
|