eva-shell 0.2.1__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eva-shell
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: EVA ICS v4 shell
5
5
  Home-page: https://github.com/eva-ics/eva4
6
6
  Author: Bohemia Automation / Altertech
@@ -1,3 +1,3 @@
1
- __version__ = '0.2.1'
1
+ __version__ = '0.2.3'
2
2
 
3
3
  DEFAULT_REPOSITORY_URL = 'https://pub.bma.ai/eva4'
@@ -894,7 +894,9 @@ def append_cloud_cli(root_sp):
894
894
 
895
895
 
896
896
  def append_generator_cli(root_sp):
897
- source_types = ['random', 'random_float', 'counter', 'wave', 'udp_float']
897
+ source_types = [
898
+ 'random', 'random_float', 'counter', 'time', 'wave', 'udp_float'
899
+ ]
898
900
  ap_generator = root_sp.add_parser('generator', help='generator commands')
899
901
  sp_generator = ap_generator.add_subparsers(dest='_subc', help='sub command')
900
902
 
@@ -1095,6 +1097,10 @@ def append_kiosk_cli(root_sp):
1095
1097
 
1096
1098
  p = sp.add_parser('login', help='login kiosk')
1097
1099
  p.add_argument('i', metavar='kiosk')
1100
+ p.add_argument('--acl',
1101
+ help='login with one-time user with specified ACL(s)',
1102
+ action='append')
1103
+ p.add_argument('--login', help='login marker for one-time user')
1098
1104
  p.add_argument(
1099
1105
  '-a',
1100
1106
  '--kiosk-svc',
@@ -1440,8 +1440,12 @@ class CLI:
1440
1440
  call_rpc('kiosk.destroy', dict(i=i), target=kiosk_svc)
1441
1441
  ok()
1442
1442
 
1443
- def kiosk_login(self, i, kiosk_svc):
1444
- call_rpc('kiosk.login', dict(i=i), target=kiosk_svc)
1443
+ def kiosk_login(self, i, kiosk_svc, acl, login):
1444
+ if acl:
1445
+ auth = dict(acls=acl, login=login)
1446
+ else:
1447
+ auth = None
1448
+ call_rpc('kiosk.login', dict(i=i, auth=auth), target=kiosk_svc)
1445
1449
  ok()
1446
1450
 
1447
1451
  def kiosk_logout(self, i, kiosk_svc):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eva-shell
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: EVA ICS v4 shell
5
5
  Home-page: https://github.com/eva-ics/eva4
6
6
  Author: Bohemia Automation / Altertech
@@ -1,4 +1,4 @@
1
- __version__ = '0.2.1'
1
+ __version__ = '0.2.3'
2
2
 
3
3
  import setuptools
4
4
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes