Commit Graph

204 Commits

Author SHA1 Message Date
Nicola Peditto 3e5782eb1f Release 0.5.0:
- added support to wstun allow list
- added force renew rpc/api
- added DeviceRestSubmit allowed action
- added checks in create and enable webservice
- added ServicesStatus RPC/API
- added hard delete device procedures
- added support for LR "freedom" edition
- added checks if dns or webservice already exists
- check in device creation for duplicated device name
- updated nginx confs

Change-Id: Idb95e63cc4d732f69331ebb585ee576ae872ac5c
2021-11-03 18:13:10 +01:00
Fabio Verboso 6e7ddfaf21 Python version updated and fixed.
Change-Id: I1d316d2af52ff6d765d76c091185a36bd508ca8d
2021-01-15 12:22:58 +01:00
Nicola Peditto 8b71ec7e89 Fix service ports init.
Change-Id: I0f26a88e329c787d10acc5395aa30929748acc64
2020-12-22 08:42:30 +01:00
Fabio Verboso a71417de71 Board configuration shown
The configuration of the board is shown when you get its info using the rest api.

Change-Id: I942957fb4ee856fd9fd9539511c32a07c176afc9
2020-04-17 11:17:27 +02:00
Fabio Verboso 4bdaa441c1 Fix problem capital name of a board.
The control that didn't let you create a board
with a name in capital letters has been removed.

Change-Id: I0098ff38de15c02b724da1e85c74ea4acfda0974
2020-03-03 11:58:05 +01:00
Zuul bc736c3fdf Merge "Conductor waits for registration agent." 2020-03-03 09:35:03 +00:00
Fabio Verboso e0ddecdeed Conductor waits for registration agent.
Instead of stopping, the conductor wait for a valid registration agent.

Change-Id: I356769f3af21ed183fd1d99c82d0cccc4dfaccb3
2020-03-02 17:55:54 +01:00
Fabio Verboso c389793692 Random Service port in a specific range.
Now the conductor get a random port for the service in a range of unused ports

Change-Id: Ifa51cc8d7a0459d46a72ea1c285b717932bbc94c
2020-03-02 16:14:37 +01:00
Fabio Verboso d407504102 Fix apache2 configuration for no ssl.
Removed _ssl for the wsgidaemonprocess

Change-Id: Ic3c664aece687e535125e4ac98c7dc9d85f019e0
2020-01-28 10:29:40 +01:00
Zuul d547f41a47 Merge "Removed Port global variable." 2020-01-27 17:51:12 +00:00
Fabio Verboso 59cb7cdda3 Removed Port global variable.
Change-Id: I89c45823a2c7fe0185f2e5aacca8cc4174166f72
2020-01-27 18:39:16 +01:00
Fabio Verboso 9e1e30df55 Installation guide updated.
Change-Id: If6eaad2e18261fa124f99ad25f4dd501364ae8ab
2019-06-24 12:33:15 +02:00
Fabio Verboso 979eb700d0 Fix list of the boards in a fleet.
Change-Id: I33a2eb921477c15655064fdda4a085d79e59fc7f
2019-06-21 12:36:19 +02:00
Fabio Verboso aac175c760 Fix WampMessage request_id.
For compatibilty with a previous version of LR.

Change-Id: Ibdc1bb05ea9a189dadec09a3edb9533ee6962ef8
2019-06-17 17:00:32 +02:00
Fabio Verboso 5013017461 Fix wstun url resolution.
Change-Id: I12ca71ffe52666fadb885d0e64ad8aed308e6dbf
2019-06-12 16:48:18 +02:00
Zuul 3ef5c11f89 Merge "Script for removing a board." 2019-05-29 17:13:06 +00:00
Fabio Verboso 80de852c3b Script for removing a board.
Change-Id: Iad63b5e85fee28330f3f198d09ecb1023ca995cd
2019-05-29 18:52:04 +02:00
Fabio Verboso 5b652f9a1f New Request/Result System.
Change-Id: I55c54bfa92eb339daf3f5b3683dcc33cbe0cee90
2019-05-29 18:45:45 +02:00
Fabio Verboso ca78c705e7 Change board action name for packages.
DevicePackageAction -> DevicePkgOperation

Change-Id: Ic63bb84a760db5a504151a6fdc23c470925c7afa
2019-05-06 16:21:37 +02:00
Zuul f7f86f52ab Merge "Results and Requests" 2019-05-03 15:31:23 +00:00
Fabio Verboso 071f99b3d8 Results and Requests
Iotronic logs every request sent to the board and its result

Change-Id: Iec5d44de970c1bbd3e304185f340a4a99832474c
2019-05-03 17:18:10 +02:00
Fabio Verboso cdb16f5af0 DevicePackage Action.
Boards can handle packages installation.

Change-Id: I8e1badd593b2f9fbd0ab46730bfaed16b4385ee0
2019-05-03 11:47:41 +02:00
Fabio Verboso a9f9106f7f Fix action_board.
Change-Id: I23eaff28c7c9f5d161724089f4b6837df0b9d0d4
2019-04-30 17:10:05 +02:00
Fabio Verboso 76fb5ffc64 New Board Action.
'DevicePing', 'DeviceReboot', 'DeviceRestartLR', 'DeviceNetConfig',
'DeviceEcho', 'DeviceUpgradeLR' can be sent to the board.

Change-Id: I3faef69d5a205332ed3ce81301cfa620f862adcf
2019-04-30 11:33:52 +02:00
Fabio Verboso 73765913f8 Wstun Ip on board fields.
Change-Id: I8fc36e7be1d60385a41ebb89fdfa8d3a245419d0
2019-04-24 15:50:09 +02:00
OpenDev Sysadmins b15465240e OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:50:33 +00:00
Fabio Verboso 4f18d23aa3 Add section Connectivity in the board details.
Change-Id: If7ed3fc3a14c3c85704a5218cb577095443ab66d
2019-03-07 12:37:15 +01:00
Fabio Verboso 059c32f193 Fix the bug of the redirect on nginx proxy.
Change-Id: Ie331f2b730ac7aae339ac1026f68ef61074607a2
2019-02-06 16:57:39 +01:00
Fabio Verboso 175653d8aa Wamp registration rpc returns the configuration.
if the board is already registered the wamp rpc returns
the board config instead of rejects the request,

Change-Id: Id23f558d7598d44d69effc929d07bdc25ae90e45
2019-02-05 11:05:54 +01:00
Zuul 6f3257191f Merge "Http to https redirect." 2019-02-04 15:05:03 +00:00
Fabio Verboso 4a7dc9166d Http to https redirect.
Change-Id: Iffde3117b7d94e92991c4e7d5fb0cc4ff2a873c8
2019-02-04 15:44:35 +01:00
Fabio Verboso e4cc384154 Boards info lr_version and mac_addr.
Change-Id: Id916e383b9f89f3685ec61efc2e93352ef920410
2019-02-04 11:42:35 +01:00
Fabio Verboso 4eb2314533 Reserved ports for proxy
Nginx spawns webservices on different ports instead of the default ones (80 and 443)
to let them be free to be used by other programs.
We are going to use 50000 and 60000 (removed from the random range)

Change-Id: I19208f961c41b0e9833dd4b402123fa5ac63f62a
2019-01-08 18:33:56 +01:00
Fabio Verboso 36c20a1ef6 Fix wamp session synchronization on the database.
Improved and fixed the session synchronization on the wamp agent.

Change-Id: I4e94d975b06c87f08c6680084b976fe8146bb424
2018-12-13 17:57:49 +01:00
Fabio Verboso 30fa19b1cf New Serializer for autobahn.
Added serializer parameter in autobahn connection.
Autobahn version Updated in requirements.txt

Change-Id: Ibe18812a6e215ed4adb2aca963b2c83ac7fa62ff
2018-12-11 18:35:03 +01:00
Fabio Verboso 501f930284 Resolve ip from wamp url
Designate record requires an ip address and the wampagent hostname must be resolved.

Change-Id: Ief4267c9b11063134941341dff3c7e725e92ee2d
2018-12-11 12:55:24 +01:00
Fabio Verboso d1ebff9034 Fix Dns zone.
It is not necessary to specify the zone into the config file

Change-Id: I049a4039aab817024ab40e1b6c5b2b383100653f
2018-12-10 17:22:59 +01:00
Fabio Verboso 5a373e7941 WebServices and New Wamp Agent routing
Wamp RPCs are forwarding using the correct server and topic
Introduced the new WebServices core feature with its REST APIs and models.
Designate and Nginx are required for this new feature.

Change-Id: Ia172654fbaf5502e3b9325a862a4e986fa27ee35
2018-12-06 18:48:32 +01:00
Zuul 683d52042c Merge "Allow Iotronic-Api to run in python2.7" 2018-09-25 17:22:12 +00:00
Fabio Verboso 51705e3d28 Fix missing fleet column into table boards
Change-Id: I0f25eeba752c927aee5194aa2179931fd29cb389
2018-09-25 14:53:49 +02:00
Fabio Verboso 607e17a5b8 Fix db revision
Change-Id: I251ae385145ddde55864587b4694338890baf98a
2018-09-21 17:38:08 +02:00
Fabio Verboso 3c351e80ce "Boards in a fleet"
Now a board can join a fleet

Change-Id: I5f553421929e72dd1871cce1783043e5e38865f1
2018-09-21 14:41:13 +02:00
Zuul a081c594b2 Merge "Fleets" 2018-09-20 15:30:52 +00:00
Fabio Verboso 29f9f1ffd4 Fleets
CRUD actions for Fleets
for Sebba :)

Change-Id: Ia6ee145f330a844e532473784e21bc375190a707
2018-09-20 13:09:16 +02:00
Fabio Verboso 40dbce7e69 New README
Installation guide has been updated.

Change-Id: If20b07e2a946ff55d97d562dd042a40e4a73dbda
2018-09-20 10:20:01 +02:00
Fabio Verboso 094eae7851 Fix WampAgent rpc side and requirements
Change-Id: Ib79ae987fb6a0381913d6edb85c5fbc0d03d22f9
2018-09-17 13:08:59 +02:00
Fabio Verboso 7e0dd37681 Update RPC service
Change-Id: Id6954a7a7b5e92ed4855cd9c000fb456d7b167c6
2018-09-14 15:53:26 +02:00
Fabio Verboso d829c66233 Fix the default connection string to the database
Change-Id: I216026b842423d519388af87e987b40d297500f4
2018-09-14 15:52:07 +02:00
Fabio Verboso 1558b869ff Allow Iotronic-Api to run in python2.7
Change-Id: I3532c072faabb66cecb0b2834e3ab97b7f52539d
2018-09-14 15:49:43 +02:00
Fabio Verboso ea3b97693a New table for wamp session.
Change-Id: Ic273fb6bb5f365049165002a68a18c7c0dc558a6
2018-09-06 16:58:30 +02:00