ENMs enable you to specify when applications or scripts such as a VPN application, should perform network configuration that is separate (external) from the configuration that is specified in the NCP and Location profiles. For more information about ENMs, see Description of an ENM.
For more information about properties that you might specify when creating an ENM, see the netcfg(1M) man page.
$ netcfg netcfg>
netcfg> create enm test-enm Created enm 'test-enm'. Walking properties ... activation-mode (manual) [manual|conditional-any|conditional-all]> fmri> svc:/application/test-enm:default start> stop> netcfg:enm:test-enm>
Creating the ENM automatically moves you into the profile scope for the ENM and walks each of its properties.
In this example, the following properties are specified for the test-enm ENM:
The activation-mode property, which is set to manual, is accepted by pressing Return. Because this value is set to manual, the conditions property is not made available for setting.
The fmri property is set to svc:/application/test-enm:default.
The start and stop properties are not set for this ENM.
netcfg:enm:test-enm> list enm:test-enm activation-mode manual enabled false fmri "svc:/application/test-enm:default"
netcfg:enm:test-enm> verify All properties verified
The verify subcommand verifies the configuration and notifies you if any required values are missing.
netcfg:enm:test-enm> commit Committed changes netcfg>
The commit subcommand verifies and saves the configuration.
Alternatively, you can use the end subcommand to end the session, which also saves the profile configuration.
netcfg:enm:test-enm> end Committed changes
netcfg> exit