Joakim Sørensen
40bcee38f3
Add startup time and boot_timestamp ( #3136 )
...
* Add startup time
* Add boot_timestamp
* Fix type
* patch and rename properties fixture
2021-09-22 11:15:38 +02:00
Pascal Vizeli
53eae96a98
DataDisk reload devices ( #3129 )
...
* DataDisk reload devices
* improve loading
* simplify
* validate input device
* add comments
* Add agent version to API
* more tests
* fix test lint
2021-09-20 12:52:51 +02:00
Pascal Vizeli
2b6829a786
OS-Agent support ( #2811 )
...
* OS-Agent support
* add agent to host feature
* Add support for os-agent on devcontainer
* Rename core
* fix tests
* add setter
* add cgroup / apparmor
* all interfaces added
* fix import
* Add tests
* More tests
* Finish tests
* reformating xml files
* fix doc string
* address comments
* change return value
* fix tests
* Update supervisor/dbus/agent/__init__.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
* Update scripts/supervisor.sh
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-06-30 11:55:53 +02:00
Pascal Vizeli
bcef34012d
Time handling ( #2901 )
...
* Add new time handling
* migrate date for python3.9
* add timedate
* add tests & simplify it
* better testing
* use ssl
* use hostname with new interface
* expose to API
* update data
* add base handler
* new timezone handling
* improve handling
* Improve handling
* Add tests
* Time adjustment function
* Fix logging
* tweak condition
* don't adjust synchronized time
* Guard
* ignore UTC
* small cleanup
* like that, we can leaf it
* add URL
* add comment
* Apply suggestions from code review
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-06-09 09:38:32 +02:00
Pascal Vizeli
792bc610a3
Fix NM byte switch for ipv6 nameserver ( #2342 )
...
* Fix NM byte switch for ipv6 nameserver
* remove not needed code
2020-12-04 17:55:26 +01:00
Pascal Vizeli
fab6fcd5ac
Check NetworkManager Version if it is supported ( #2340 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2020-12-04 12:38:12 +01:00
Pascal Vizeli
06e10fdd3c
Fix NM naming schema ( #2318 )
...
* Fix NM naming schema
* Address comments
* Add test
2020-12-01 12:11:20 +01:00
Pascal Vizeli
fb4386a7ad
Use persistent MAC address instead clone / don't touch default ( #2317 )
2020-12-01 09:27:49 +01:00
Pascal Vizeli
e09a839148
Fix byte order for network DNS settings ( #2315 )
2020-11-30 15:22:02 +01:00
Pascal Vizeli
8d499753a0
Fix auto interface method ( #2252 )
2020-11-13 16:58:28 +01:00
Pascal Vizeli
028ec277eb
Enable support for mdns & llmnr for host ( #2251 )
2020-11-13 16:47:56 +01:00
Pascal Vizeli
46e92036ec
Fix handling with open or wpa-psk ( #2239 )
2020-11-11 16:33:46 +01:00
Pascal Vizeli
7aceb21123
Fix auth mode WEP ( #2235 )
...
* Fix auth mode WEP
* fix mapping
2020-11-10 18:07:20 +01:00
Pascal Vizeli
bd786811a3
Network: abstract dbus and supervisor - ipv6/wifi/vlan ( #2217 )
...
* Abstract code between dbus - supervisor
* cleanup v2
* fix address vs interface
* fix API calls
* Fix methodnames
* add vlan type
* add vlan support
* Fix tests
* Add wifi support
* more OOO
* fix typing import
* typing part 2
* Fix profile
* fix test payload
* ignore powersafe
* support privancy
* fix property
* Fix tests
* full support all API
* Fix all
* more robust
* Update supervisor/dbus/network/connection.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
* Fix gateway
* fix empty gateway
* Allow no ipv6 or ipv4 kernel support
* Exclude device drivers
* Add wifi
* Use loop on api
* refactory p1
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p2
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p3
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p4
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p5
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p6
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p7
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p8
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* Fix lint
* update sup p1
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* update sup p2
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* fix tests
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* fix logging
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* improve mock handling
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* add fixtures
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* fix tests
* better testing
* Add more tests
* Fix API test
* Add test for vlan payload
* Support variation
* Fix doc string
* support remove & wifi scan
* make sure we ignore local-link on ipv6
* remove privancy - add vlan
* Fix tests
* fix isort
* Fixture dbus by commands
* Add dnsmanager fixture
* expose commands called by dbus
* Add wifi tests
* Update supervisor/plugins/dns.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
* Address comments & fix tests
* change url to be closer on others
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2020-11-09 08:56:42 +01:00
Joakim Sørensen
9274a0fa17
Add uuid to update payload ( #2070 )
...
* Add uuid to update payload
* Add it to test
2020-09-22 23:38:04 +02:00
Pascal Vizeli
2321890dde
Full support of bytes arrays on gvariant ( #2024 )
...
* Full support of bytes arrays on gvariant
* Fix overlay ssid
* cleanup ssid
* fix test
2020-09-07 16:34:20 +02:00
Joakim Sørensen
25ea80e169
Fixes issues with managing wireless interfaces ( #2015 )
...
* Fixes issues with managing wireless interfaces
* Add test
* Add back fixture
2020-09-04 20:58:37 +02:00
Joakim Sørensen
98785b00e2
Use jinja for payload generation ( #1985 )
2020-08-28 11:46:22 +02:00
Joakim Sørensen
8d3694884d
Split payload so we can set auto without IP configuration ( #1982 )
...
* Guard for no interfaces
* Host reload on update
* Extract payload
* Check eth and wifi interfaces with a valid ip4 config
* Add tests
* Fix tests
* Move to enum
2020-08-28 10:40:50 +02:00
Joakim Sørensen
9bcb15dbc0
MVP: Add Network Manager context ( #1937 )
...
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-08-24 16:58:02 +02:00