向模型组中添加模型

如果某个模型被意外遗漏在组外,或者需要添加新模型,作者可以使用“from”系列选项之一:-from、-from_f 和 -from_mf(分别对应 -m、-f 和 -mf)。在本示例中,作者将一个名为 supernet2 的网络模型添加到组中,使其获得与 supernet.nt.m 模型相同的保护。

% op_manfile -protect -m supernet2 -from_mf supernet.nt.m

--- op_manfile issued the following command: ---
	/bin/cp ./supernet2.nt.m
	/usr/author/op_admin/bk/supernet2_v1.nt.m

Success.

如果客户端已经获得了组中某个模型的批准代码,那么客户端就可以用“op_manfile -register -m <target> -from_mf <source>”解锁新的组成员。

% op_manfile -register -m supernet2 -from_mf supernet.nt.m

--- op_manfile issued the following command: ---
	/bin/cp /usr/client/op_models/supernet2.nt.m
	/usr/client/op_admin/bk/supernet2_v2.nt.m

Success.