mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +00:00
Revert "realm.Realm: Move get_events and find_new_events methods from scenario.py to realm"
Breaks things This reverts commit 3cd8db24e2692ecdf11f61991b7975f0cc270713.
This commit is contained in:
@@ -845,19 +845,6 @@ class Realm(LFCliBase):
|
||||
link = self.lfclient_url + link
|
||||
info = ()
|
||||
|
||||
@staticmethod
|
||||
def get_events(event_log, value):
|
||||
results = []
|
||||
if event_log:
|
||||
for event in event_log['events']:
|
||||
if event.values():
|
||||
results.append(list(event.values())[0][value])
|
||||
return results
|
||||
|
||||
# Find events since the given the last number from the original list of events
|
||||
def find_new_events(self, previous_event_id):
|
||||
return self.json_get('/events/since/%s' % previous_event_id)
|
||||
|
||||
def new_station_profile(self, ipv6=False):
|
||||
return StationProfile(self.lfclient_url, local_realm=self, debug_=self.debug, ipv6=ipv6, up=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user