Protect and Register a Suite of Models
Later, when the single model grows into a suite of models, the author protects and registers the suite as a unit. First, all the models in the suite must be in the same directory. From that directory, the author runs “op_manfile -protect -dir”.
% op_manfile -protect -dir
In order to generate information which will be used
to encrypt the file and uniquely identify it, enter
at least sixteen characters at the following prompt;
the actual value is not important and need not be retained.
> |
>aj-12PJp01q224)^aj19
Enter a descriptive name for the model or model suite.
Model (suite) name> The SuperNet protocol suite
Enter one or more lines of additional information
(e.g. copyright, contact info, general comments, etc.);
enter a line containing only a period (.) to finish.
Suite of models implementing the SuperNet protocol for Modeler
Copyright 1996 SuperNet, Inc.
--- op_manfile issued the following command: ---
/bin/cp /usr/author/op_models/supernet/supernet.nt.m
/usr/author/op_admin/bk/supernet_v1.nt.m
--- op_manfile issued the following command: ---
/bin/cp /usr/author/op_models/supernet/supernet.nd.m
/usr/author/op_admin/bk/supernet_v1.nd.m
--- op_manfile issued the following command: ---
/bin/cp /usr/author/op_models/supernet/supernet.pr.m
/usr/author/op_admin/bk/supernet_v1.pr.m
--- op_manfile issued the following command: ---
/bin/cp /usr/author/op_models/supernet/supernet.pk.m
/usr/author/op_admin/bk/supernet_v1.pk.m
4 model files successfully protected.
This encrypts all the models with the same key, and tags them with a unique suite ID number. On the client's side “op_manfile -register -suite -m <model>” is used to simultaneously register all models in the client's mod_dirs which have the same suite ID as the model named. First a transaction code is obtained.
% op_manfile -register -suite -mf supernet.nt.m
Send the following transaction code to the model vendor:
Transaction code> 0A5B.5BFD.8E5B.861D
The author uses the transaction code to obtain the approval code.
% op_manfile -register -suite -mf supernet.nt.m
Enter the transaction code sent by the client:
Transaction code> 0A5B.5BFD.8E5B.861D
The client's group ID is 9999.
Enter the desired access level (full, inspect, or use):
Access level> full
Enter the desired access expiration date
(enter "0" for indefinite access):
Expiration date (m/d/y)> 0
Send the following approval code to the client:
The client uses the approval code to complete the registration.
% op_manfile -register -suite -mf supernet.nt.m
Send the following transaction code to the model vendor:
Transaction code> 0A5B.5BFD.8E5B.861D
Enter the approval code sent by the model vendor:
Approval code> 7EB0.CFE7.F277.341F.A775.09DC
--- op_manfile issued the following command: ---
/bin/cp /usr/client/op_models/supernet.nt.m
/usr/client/op_admin/bk/supernet_v2.nt.m
--- op_manfile issued the following command: ---
/bin/cp /usr/client/op_models/supernet.nd.m
/usr/client/op_admin/bk/supernet_v2.nd.m
--- op_manfile issued the following command: ---
/bin/cp /usr/client/op_models/supernet.pr.m
/usr/client/op_admin/bk/supernet_v2.pr.m
--- op_manfile issued the following command: ---
/bin/cp /usr/client/op_models/supernet.pf.m
/usr/client/op_admin/bk/supernet_v2.pf.m
4 model files successfully registered.