Commit Graph

54 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
Nicola Peditto 8b71ec7e89 Fix service ports init.
Change-Id: I0f26a88e329c787d10acc5395aa30929748acc64
2020-12-22 08:42:30 +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 59cb7cdda3 Removed Port global variable.
Change-Id: I89c45823a2c7fe0185f2e5aacca8cc4174166f72
2020-01-27 18:39:16 +01:00
Fabio Verboso 5b652f9a1f New Request/Result System.
Change-Id: I55c54bfa92eb339daf3f5b3683dcc33cbe0cee90
2019-05-29 18:45:45 +02: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 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 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
Fabio Verboso 4a7dc9166d Http to https redirect.
Change-Id: Iffde3117b7d94e92991c4e7d5fb0cc4ff2a873c8
2019-02-04 15:44: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 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 29f9f1ffd4 Fleets
CRUD actions for Fleets
for Sebba :)

Change-Id: Ia6ee145f330a844e532473784e21bc375190a707
2018-09-20 13:09:16 +02:00
Fabio Verboso 1558b869ff Allow Iotronic-Api to run in python2.7
Change-Id: I3532c072faabb66cecb0b2834e3ab97b7f52539d
2018-09-14 15:49:43 +02:00
Zakaria 67b15a6b7a Virtual-networks
Change-Id: Ia426970fbece3f0c18bdf0ee555c37407dfbe981
2018-06-06 10:28:39 +02:00
Fabio Verboso 737883be4b Plugin Decoding
fix decoding in the creation plugin

Change-Id: I77f2cf85ddd40b7564999ab5d1d3720767651e9d
2018-05-18 12:00:04 +02:00
Fabio Verboso a0b2874b71 Removed Pid Info
The information of the pid of a service has been removed  because it is not used anymore

Change-Id: Ice24ebe763bbede116ae778fdbd9fa86508a4b1c
2018-03-06 11:50:07 +01:00
Fabio Verboso 53a3b766e2 API services/restore
New API for restoring all the services on a board.

Change-Id: Iceac65b1672a90d8662de6ef4df8ce51980339c8
2018-02-15 11:15:27 +01:00
Fabio Verboso f450f91c70 Exposed Cloud Service
Iotronic exposes the services of the boards

Change-Id: Id88c4e6a9d5752d1bffbcfd99827eca0b9b679f7
2018-02-13 18:06:24 +01:00
Fabio Verboso 6e9e02e9c3 Cloud Services development
Starting to manage cloud services for the board.

Change-Id: I09cb167ec356ea08101bc3d4621f7fa73a18ec1c
2018-02-12 12:35:38 +01:00
Fabio Verboso 88d5be7930 Moved to python3.5
Now Iotronic requires python3 and python2 is not supported anymore

Change-Id: I2d2fdccb1788412d21d216052fb843ff24061040
2018-02-06 13:04:16 +01:00
shubhendu 37556080ed Set access_policy for messaging's dispatcher
oslo.messaging allow dispatcher to restrict endpoint methods
since 5.11.0 in d3a8f280ebd6fd12865fd20c4d772774e39aefa2, set with
DefaultRPCAccessPolicy to fix FutureWarning like:

FutureWarning: The access_policy argument is changing its default
value to <class 'oslo_messaging.rpc.dispatcher.DefaultRPCAccessPolicy'>
in version '?', please update the code to explicitly set None as the
value: access_policy defaults to LegacyRPCAccessPolicy which exposes
private methods. Explicitly set access_policy to DefaultRPCAccessPolicy
or ExplicitRPCAccessPolicy.

Change-Id: I9ffa8e972f2015a5ac1a478252db0e017637132c
2017-06-12 05:42:37 +00:00
Fabio Verboso 0b57956164 general fixes and checks
Change-Id: I72de75a264ebd92bca35c52746cb2987d8f94902
2017-04-03 19:03:02 +02:00
Fabio Verboso 063e62ee3d filtering status of board and checking if it is online
Change-Id: Ie8a5e57feb7ae68092a5190af33a83955834fce4
2017-03-27 15:21:29 +02:00
Fabio Verboso b77c12a7d6 now boards receive their location
Change-Id: I9808505e7e0d80f1e4c91788ea3ec59d90e32c56
2017-03-24 11:48:21 +01:00
Fabio Verboso b9e45b1eee A LOT OF STUFF :)
Change-Id: I7c4c386559def70142b76da6112dff50c55183cc
2017-03-22 17:16:14 +01:00
Fabio Verboso ed9a1b943d managing wamp message for wamp rpcs
Change-Id: Ib69bb5026d1d339bffb227528c898e3181456ba6
2017-03-07 18:59:49 +01:00
Fabio Verboso f5a222f2e0 raw plugin injection
Change-Id: I97eaa055cac2821077923c575b601369f21bfb84
2017-02-22 11:46:38 +01:00
Fabio Verboso 7f717e995b create, destroy, list and show commands for plugin have been implemented
Change-Id: I5a65c940edb676150a83adf62a57cb689fc0591e
2017-02-21 14:03:56 +01:00
Fabio Verboso ac70869ee9 raw update_node procedure
Change-Id: If0ebaf3ad2fb3fdb985d3a78d2a79037e48a2979
2017-02-20 15:49:41 +01:00
Fabio Verboso 41bfe34311 fix shutdown procedures for conductor and agent
Change-Id: Ie7ab10280491ac1069857e3091c7273af31f8892
2017-02-17 15:01:11 +01:00
Jenkins 66d7db87cc Merge "Remove unused logging import" 2017-02-17 09:58:18 +00:00
Anh Tran e37f344f1e Remove unused logging import
Change-Id: I609825c23f32dc519ebb139fa960cfdefbf71c69
2017-02-17 08:33:36 +07:00
Fabio Verboso c7708badb6 function _on_board renamed to _on_node
Change-Id: I9e97bfc01e54ba0b6b8e3c374a9ff1cbc4ab6be5
2017-02-15 18:07:52 +01:00
Fabio Verboso c1b8066dc2 function best_agent improved
Change-Id: I4e6225f308c557f6d2de0fdb4462d369fb2fed76
2017-02-15 15:55:47 +01:00
Fabio Verboso 0b1826320b communication between conductor, agents and nodes improved
Change-Id: I083bd104d8a0546f95f59d02004819fb0c3577d5
2017-02-15 12:17:22 +01:00
Fabio Verboso 2667a5e9b9 function to execute wamp rpc on the board from the container
Change-Id: I88548deebc65e9a457a941dea8346a3b609d7ca5
2017-02-08 11:45:07 +01:00
Fabio Verboso d5d4cef5ab new conductor module
Change-Id: Ie1305c7174b5cf80afb08ad2c4ad841685202841
2017-02-03 17:21:28 +01:00
Fabio Verboso b9aaeb06c0 old wamp module removed
Change-Id: I4f0d32333c42e1c404d2f3fbdf83fa993ece7f48
2017-01-09 16:53:09 +01:00
Fabio f99dd45c62 cleaning
Change-Id: I837ab1b70e7b3b45d53902b00c0f0e2f6b0c6818
2016-04-21 16:24:33 +02:00
Fabio 83ffa4b50b Starting wamp rpc implementation
Change-Id: I019bf600b3c20f54b7bdd91ff433fe5af8160673
2016-04-13 17:02:15 +02:00
Fabio Verboso 27da4d0ced remove unused import
Change-Id: Ice0ede0ba0cb8948d9e32f522602e705fdfe4141
2016-03-16 12:13:39 +01:00
Fabio Verboso 7fd6112605 Applied cookiecutter template
Change-Id: Id860d5c4c97ae02c361c06e407a2e11cb3379783
2016-03-16 01:26:16 +01:00
root f4ca7a042f cleaning and starting with wamprpc 2016-03-02 12:46:15 +01:00
root 5126efec5c new oslo conf for rpc wamp server - removed useless code 2015-12-01 17:50:12 +01:00