bootstrap to API

pull/36085/head
Trey Moen 6 days ago
parent 3d39ef05e8
commit c28249da7f
  1. 5
      system/athena/athenad.py
  2. 1
      system/hardware/base.py

@ -571,6 +571,11 @@ def getEsim():
}
@dispatcher.add_method
def bootstrapEsim():
HARDWARE.get_sim_lpa().bootstrap()
@dispatcher.add_method
def downloadEsimProfile(lpa_activation_code: str, profile_name: str):
lpa = HARDWARE.get_sim_lpa()

@ -65,6 +65,7 @@ class ThermalConfig:
class LPABase(ABC):
@abstractmethod
def bootstrap(self) -> None:
pass
@abstractmethod
def is_bootstrapped(self) -> bool:

Loading…
Cancel
Save