tango merge requestshttps://git.astron.nl/lofar2.0/tango/-/merge_requests2021-01-21T16:51:22Zhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/1State management2021-01-21T16:51:22ZJan David Molmol@astron.nlState managementUser state commands reduced to Init() and Off() which request (re)initialisation and turning the device off, respectively. All transitions are managed by the device.User state commands reduced to Init() and Off() which request (re)initialisation and turning the device off, respectively. All transitions are managed by the device.https://git.astron.nl/lofar2.0/tango/-/merge_requests/2Refactor for Paulus' pypcc2 version with arrays2021-01-22T15:34:16ZThomas JuergesRefactor for Paulus' pypcc2 version with arraysThis implements most of what is needed for Paulus' array refactoring.
Issues:
- When I run the code there's an issue with numpy.split. I do not know numpy good enough yet to solve ot now.
- Paulus uses mixed case labels and literals wi...This implements most of what is needed for Paulus' array refactoring.
Issues:
- When I run the code there's an issue with numpy.split. I do not know numpy good enough yet to solve ot now.
- Paulus uses mixed case labels and literals with digits (LED0) for MPs/CPs. Need to ask him what's what.Jan David Molmol@astron.nlJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/3Jupyter2021-03-16T15:00:06ZJan David Molmol@astron.nlJupyterAdd a Jupyter notebook container to the family. Connect through http://localhost:8888.Add a Jupyter notebook container to the family. Connect through http://localhost:8888.https://git.astron.nl/lofar2.0/tango/-/merge_requests/4Device containers2021-03-23T08:49:37ZJan David Molmol@astron.nlDevice containersRun PCC and SDP devices in containers as part of the docker-compose landscape.Run PCC and SDP devices in containers as part of the docker-compose landscape.https://git.astron.nl/lofar2.0/tango/-/merge_requests/52021 03 22 branched from master attribute wrapper2021-04-02T11:37:05ZTaya Snijder2021 03 22 branched from master attribute wrapperI have converted the SDP and PCC to use the new attribute wrappers for attributes and hardware device class for the devices. Removed the /SDP and /PCC folder and moved both of them to /devices. Also added my Jupyter notebooks for testing...I have converted the SDP and PCC to use the new attribute wrappers for attributes and hardware device class for the devices. Removed the /SDP and /PCC folder and moved both of them to /devices. Also added my Jupyter notebooks for testing and a CDB config for windows.Thomas JuergesJan David Molmol@astron.nlThomas Juergeshttps://git.astron.nl/lofar2.0/tango/-/merge_requests/6Resolve #2012 "03 29 run containers as user"2021-04-06T11:13:00ZJan David Molmol@astron.nlResolve #2012 "03 29 run containers as user"Closes #2012. Runs the device-pcc/device-sdp/jupyter instances as a configurable LOFAR_UID user.Closes #2012. Runs the device-pcc/device-sdp/jupyter instances as a configurable LOFAR_UID user.Jan David Molmol@astron.nlJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/7Resolve #2021 "03 16 branched from master elk stack"2021-04-06T14:41:24ZJan David Molmol@astron.nlResolve #2021 "03 16 branched from master elk stack"Forwards all device logs to an ELK stack, but also still to stderr.Forwards all device logs to an ELK stack, but also still to stderr.Jan David Molmol@astron.nlJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/8Remove spaces in uC_ID_R node name2021-04-02T11:52:10ZThomas JuergesRemove spaces in uC_ID_R node nameCloses #2021Closes #2021Jan David Molmol@astron.nlJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/9This fixes the itango completion bug2021-04-02T11:53:50ZThomas JuergesThis fixes the itango completion bugJan David Molmol@astron.nlJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/10Add a convenience func to retrieve the internal attr. hist.2021-04-02T12:26:36ZThomas JuergesAdd a convenience func to retrieve the internal attr. hist.A new function that can be imported to read the internal attribute history. The history is conveniently converted to a numpy.array.
What is missing:
I could also extract the time stamps but did not know how to add that to the retrieved...A new function that can be imported to read the internal attribute history. The history is conveniently converted to a numpy.array.
What is missing:
I could also extract the time stamps but did not know how to add that to the retrieved array. Could be done later.Jan David Molmol@astron.nlJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/11Add restart on-failure option to dsconfig2021-04-06T11:13:21ZThomas JuergesAdd restart on-failure option to dsconfigAdded the `restart: on-failure` to dsconfig.Added the `restart: on-failure` to dsconfig.Jan David Molmol@astron.nlJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/12Adjustments and fixes for attribute_wrapper merge2021-04-07T14:41:44ZThomas JuergesAdjustments and fixes for attribute_wrapper merge- Added a prototype function mapping
- Improved exception formatting in some places
- Removed unneeded opcua import and import opcua where actually needed
- Correct the login in Initialise
- Correct the disconnect() call
- Ping server on...- Added a prototype function mapping
- Improved exception formatting in some places
- Removed unneeded opcua import and import opcua where actually needed
- Correct the login in Initialise
- Correct the disconnect() call
- Ping server only if self.connected is True (now that I am thinking about it this modification could make this ping purposeless, please check)Jan David Molmol@astron.nlTaya SnijderJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/13Add missing \2021-04-06T13:38:29ZThomas JuergesAdd missing \Add a missing \ that I must somehow forgotten to add or accidentally removed.Add a missing \ that I must somehow forgotten to add or accidentally removed.Thomas JuergesThomas Juergeshttps://git.astron.nl/lofar2.0/tango/-/merge_requests/14Reformatting of attribute extension code2021-04-07T13:35:19ZThomas JuergesReformatting of attribute extension codeReplace tabs with spaces, replace DOS with Unix line breaks.Replace tabs with spaces, replace DOS with Unix line breaks.Jan David Molmol@astron.nlJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/15Remove UID use from itango-based containers2021-04-07T17:23:21ZThomas JuergesRemove UID use from itango-based containersFixes the ORB (CORBA's Object Request Broker) issue when the container is executed with a different UID than the tango user.Fixes the ORB (CORBA's Object Request Broker) issue when the container is executed with a different UID than the tango user.Jan David Molmol@astron.nlJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/16Generic code cleanup2021-04-26T08:44:10ZJan David Molmol@astron.nlGeneric code cleanupMoves files around a bit, cleans up some syntax.Moves files around a bit, cleans up some syntax.https://git.astron.nl/lofar2.0/tango/-/merge_requests/17Resolve #2021 "04 16 branched from master state bug fix"2021-04-16T17:53:17ZTaya SnijderResolve #2021 "04 16 branched from master state bug fix"Removed extra standby state call from comm_client.py
Closes #2021Removed extra standby state call from comm_client.py
Closes #2021Thomas JuergesThomas Juergeshttps://git.astron.nl/lofar2.0/tango/-/merge_requests/18Resolve #2021 "04 16 branched from master state bug fix"2021-04-23T14:11:30ZTaya SnijderResolve #2021 "04 16 branched from master state bug fix"Closes #2021Closes #2021Thomas JuergesJan David Molmol@astron.nlThomas Juergeshttps://git.astron.nl/lofar2.0/tango/-/merge_requests/19Add a HOME environment variable for Jupyter2021-04-23T14:09:03ZThomas JuergesAdd a HOME environment variable for JupyterThis is now needed to allow Jupyter opening and editing of notebooks.This is now needed to allow Jupyter opening and editing of notebooks.Jan David Molmol@astron.nlJan David Molmol@astron.nlhttps://git.astron.nl/lofar2.0/tango/-/merge_requests/20Change container name from maria-db to archiver-maria-db2021-04-23T15:47:37ZThomas JuergesChange container name from maria-db to archiver-maria-dbThis unifies the service and the container names to archiver-maria-db.This unifies the service and the container names to archiver-maria-db.Jan David Molmol@astron.nlJan David Molmol@astron.nl