feat(mesh): integrate MeshPort/EasyTier P2P mesh network with NetworkManager auto-connect
Offline project checks / check (push) Canceled after 0s
Offline project checks / check (push) Canceled after 0s
- Add platina-mesh CLI (scripts/phone-mesh.py) for status inspection, control, and JSON telemetry. - Add OpenRC service (scripts/phone-mesh.openrc) for managing easytier-core daemon. - Add NetworkManager dispatcher hook (scripts/phone-mesh-dispatcher.sh) to automatically start mesh when external default route is active and stop when disconnected. - Add default mesh configuration (scripts/easytier.conf) with node identity Platina (192.168.20.10). - Integrate mesh runtime into image overlay builder (scripts/image-runtime.py). - Add unit tests for mesh control and image runtime integration (142 tests passing).
This commit is contained in:
@@ -46,7 +46,12 @@ class ImageRuntimeTests(unittest.TestCase):
|
||||
files = {str(p.relative_to(self.root)) for p in self.root.rglob('*') if p.is_file()}
|
||||
self.assertFalse(any('usb-off' in name or name.endswith('.ko') for name in files))
|
||||
self.assertTrue((self.root / 'etc/NetworkManager/dispatcher.d/90-platina-usb-power').is_file())
|
||||
self.assertTrue((self.root / 'etc/NetworkManager/dispatcher.d/95-platina-mesh').is_file())
|
||||
self.assertTrue((self.root / 'usr/local/sbin/platina-cellular').is_file())
|
||||
self.assertTrue((self.root / 'usr/local/sbin/platina-mesh').is_file())
|
||||
self.assertTrue((self.root / 'etc/init.d/easytier').is_file())
|
||||
self.assertTrue((self.root / 'etc/easytier/easytier.conf').is_file())
|
||||
self.assertTrue((self.root / 'etc/runlevels/default/easytier').is_file())
|
||||
self.assertFalse((self.root / 'etc/platina/usb-power.json').exists())
|
||||
|
||||
def test_missing_shutdown_helper_is_rejected(self):
|
||||
|
||||
Reference in New Issue
Block a user