rtbrick / bngblaster-controller Goto Github PK
View Code? Open in Web Editor NEWBNG Blaster Control Daemon
Home Page: https://www.rtbrick.com/
License: BSD 3-Clause "New" or "Revised" License
BNG Blaster Control Daemon
Home Page: https://www.rtbrick.com/
License: BSD 3-Clause "New" or "Revised" License
Hi Christian,
please add a api call to list all provisioned instances
e.g.
GET /instances
regards Stefan
The BNG Blaster Controller endpoint GET: /api/v1/instances/<instance-name>/<file-name>
allows to download some files from test instances. Here it is recommended to download files only if test instance is not running to prevent downloading corrupted files. This can be checked by polling GET: /api/v1/instances/<instance-name>
.
NOTE: The BNG Blaster Controller access those files read only, so they are not corrupted on the server but the loaded artefact might be corrupted.
As an enhancement, the controller should prevent access to at least the following files if the instance is still running:
Those files will be very likely corrupted if accessed while running.
The BNG Blaster controller should accept configurations as YAML and automatically convert to JSON.
MR: #14
Hello,
I have been running bngblaster-controller for some time. In last couple of days I am getting this error when I send the command for session-counters
. The full http transcript is as follows:
POST /api/v1/instances/start-single-dualstack-iana-dhcp-iapd-dhcp-ipoe-dhcpv4-nat-qinq-qinq/_command HTTP/1.1
Host: 192.168.200.67:8001
User-Agent: python-requests/2.25.1
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Content-Length: 31
Content-Type: application/json
{"command": "session-counters"}
HTTP/1.1 500 Internal Server Error
Content-Type: application/json; charset=utf-8
X-Content-Type-Options: nosniff
Date: Tue, 19 Mar 2024 14:26:08 GMT
Content-Length: 39
{"message":"not able to send command"}
There are about 30 tests in my test suite and this error occurs for the same 6 test cases every time. Rest of the test cases run fine. I have run bngblaster as standalone with failing test cases configuration and it works fine without any errors. I have run bngblasterctrl in debug mode with this command bngblasterctrl -debug -color
but that too do not show any additional errors or warnings. I can reproduce this error reliably every time. Currently I am testing with version 0.0.9 installed using the debs from github.
Any clues to triangulate this error will be much helpful.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.