Commit graph

39 commits

Author SHA1 Message Date
Evilham ced3e7c600
Fix up namespace issues with variables in patch. 2022-06-29 15:57:41 +02:00
pedro 6525e76518
bugfix on subscription-manager addSingleCircuit
When an IPv4 or IPv6 is specified by the client, mark it also as not
available

authored by @dyangol, checked by @evilham and @pedrolab
2022-06-29 15:57:09 +02:00
Evilham c92e21a015
Add test documenting sub IP issue
Documented in: https://gitlab.com/guifi-exo/projectes/-/issues/775

When adding a circuit to a subscription with a manually assigned IP,
it does not get marked as not available.
2022-06-29 15:26:18 +02:00
Roger Garcia da29293390 Fixed consistency script 2020-04-19 18:11:57 +02:00
Roger Garcia 588d3c45b5 Added ipv6notation consistency operation 2020-04-18 20:18:44 +02:00
Roger Garcia 6aa272d73d Fix bug datasource consistency 2020-04-18 19:56:33 +02:00
Roger Garcia 1442718ab6 Added operation for new ipv6 pools 2020-04-18 19:56:11 +02:00
Roger Garcia b5d72682a5 Implemented tests for transport 2020-04-10 20:59:24 +02:00
Roger Garcia 64fb96ea9c Implemented basic testing for carrier 2020-04-10 12:13:16 +02:00
Roger Garcia 3ae0317cfa Added support for carriers:
- Model for carriers
- Model for transports
- Repositories & CRUD Controllers
2020-04-09 19:51:09 +02:00
Roger Garcia 1a36b51266 Migrated all simplex entities to simplexdb 2020-04-08 12:58:34 +02:00
Roger Garcia 5c9f48f451 Add transactions and ipv4 migrator 2020-04-04 20:21:00 +02:00
Roger Garcia 074b4de271 Added operations script:
- Implemented initial subscriptions pool
- Implemented add ipv4 pool
- Implemented migrate ipv4
2020-03-25 15:24:01 +01:00
Roger Garcia 5e926e8fed Minor fixes & documentation 2020-03-23 16:26:42 +01:00
Roger Garcia 17f0043f08 Added more consistency functions:
- Added sync radius function
- Added id subs range
- Added void subs function
2020-03-23 16:17:17 +01:00
Roger Garcia 25d6d30b43 Script for ensure consistency:
- Test consistency between radius and pool
- Test consistency between circuits and pool
2020-03-20 20:28:01 +01:00
Roger Garcia 209b4d7f6b Implemented test for radius disconnect:
- Created dummy server
2020-03-19 19:34:01 +01:00
Roger Garcia e389a5da30 Implemented disconnect radius:
- Installed radius library
- Updated all the packages
- New config options for radius
- New service for radius
2020-03-19 11:30:52 +01:00
Roger Garcia 594e0bd7bf Tests for circuits 2020-03-08 00:27:24 +01:00
Roger Garcia Ferre 067b9d9d5d Add test for delete subscription 2020-03-05 17:22:38 +01:00
Roger Garcia Ferre 5bfd00882f New improvements on testing:
- Debugging support for mocha in vscode
- New database helpers
- New test for post subscription
2020-03-04 13:56:26 +01:00
Roger Garcia Ferre de91d5f3d0 Implemented testing system 2020-03-03 17:39:35 +01:00
Roger Garcia Ferre 141962ca14 Improvement in error handling:
- Now it throws non 200 status for errors
- IPv4 & IPv6 error when no addresses in pool
2020-02-29 22:33:17 +01:00
Roger Garcia 06e565b8f0 Improve openapi documentation 2020-02-28 20:54:13 +01:00
Roger Garcia 8ac6410dac Implemented disable circuits endpoints 2020-01-29 13:53:20 +01:00
Roger Garcia 3d41b160ba Added support for hasManagement:
- New method for building usernames
- New simplex-config file
2020-01-26 01:54:51 +01:00
Roger Garcia 27b9e5953f Added getters:
- Fixed support for relations between circuits & subscriptions
- Added getter for listing all subscriptions
- Added getter for retrieve subscription information (by id) (circuits)
- Added getter for retrieve circuit (by id)
- Added getter for retrieve circuits (by ipv4 and nasId)
2020-01-18 18:01:11 +01:00
Roger Garcia 01c6f81a15 Bug fixed with transaction removeCircuit 2020-01-17 22:38:03 +01:00
Roger Garcia 9f46c2f37b Added delete subscription endpoint 2020-01-17 20:39:19 +01:00
Roger Garcia c7d91e810f Added post endpoint for subscriptions:
- addSubscription method in service subscriptions-manager
- Fixed bug with transactions in addSubscriptionCircuit
2020-01-17 20:15:43 +01:00
Roger Garcia d5a2f266ba Bugfix rollback in subscriptionCircuit 2020-01-17 17:13:05 +01:00
Roger Garcia 46e6eef293 Remove subscription circuit endpoint 2020-01-17 12:58:27 +01:00
Roger Garcia Ferre cd8866d248 New ip pools:
- Support for ipv6
- Support for IP pools
- Add circuit now persists to RADIUS
- Automatic IP delegation on circuit addition
2020-01-07 13:19:41 +01:00
Roger Garcia Ferre 86e9c899af New endpoint add circuit:
- Circuit model added foreign keys
- Subscription model added foreign keys
- Autogen password if not given
2020-01-07 10:48:07 +01:00
Roger Garcia bd2367d70f Minor modifications 2020-01-05 12:00:32 +01:00
Roger Garcia Ferre a3b4224d56 New service:
- New Radius controller implementation
- User logic moved to service
2019-12-10 11:40:12 +01:00
Roger Garcia Ferre 7d7fc8f9de New data models Circuit & Subscription 2019-12-10 11:39:20 +01:00
Roger Garcia a34ba8aefe Added support for transactions:
- Support for transactions in repositories
- Rollback when importing with errors
- Subscription Ids assignments
2019-09-22 20:24:16 +02:00
Roger Garcia 20a3893375 Initial commit 2019-08-24 17:43:06 +02:00