Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • JWT token len 322: {Alg:ES256 Typ:JWT}
  • token: {Dep:34.121.100.200:3838/edge-view Sub:5ff4bf7f-1f7d-4b0f-8863-0044c72ac2df Exp:1651365640 Key:some-randome-string Num:3 Enc:false}
  • expires: 2022-04-30 17:40:40 -0700 PDT

Assume the ‘Dep’ for an enterprise is defined and inherited, the controller knows the UUID of the edge-node which is being provisioned, the only item in the JWT may need to change is the ‘Exp’ if the user does not want to use the default timeout value. E.g. the user wants this JWT to be valid only for the next 6 hours. The above JWT defines multiple instances of 3 and uses nonce authentication mechanismsmechanism.

Policies for edge-node and application

...

Edge-View Commands

As mentioned above on the there is a docker image runs on the laptop, assume the name is 'edge-view-query', an . An example of a docker run command on MacOS will be:

docker run -it --rm -h=$(hostname) -p 9001-9005:9001-9005 -v $HOME/tmp/download:/download edge-view-query -token <JWT token>  token>  [ -inst 1 ] <command>

In the above example:

  • this one is with instance number 1, in the multiple instances case
  • port mapping 9001-9005 is used for TCP option in edge-view, every instance increases by 5 (9000 + instance# * 5)
  • the volume maps your a local directory into the edge-view container /download. this will be used for file transfer, log files and techsupport files.

...