
Profiles
61
attribute to
true
, the overall result is inverted (Pass changed to Fail and vice-versa) first before applying the
mapping.
9.2.4. Manual override
You can manually override all tests, and force the profile state using the
set
attribute - a value of
true
forces
the state to Active, and
false
forces it to Inactive.
You can also configure the
set
attribute with a value of
control-switch
. This causes the profile to be
set manually based on a control switch which is not stored in the configuration itself. The switch appears on
the home web page allowing it to be turned on or off with one click. It can also be changed from the command
line. You can restrict each switch to one or more specific users to define who has control of the switch. This
control applies even if the user has no access to make configuration changes as the switch is not part of the
config. The switch state is automatically stored in the dynamic peristent data (along with DHCP settings, etc),
so survives a power cycle / restart. The control switch uses
initial
as the initial state when first added to
the config, but at start up it picks up the state of the stored state.
Note
The control switches ignore other tests, just like other manual settings, but can be combined with
and
,
or
and
not
settings - these have the affect of forcing the control switch one way. E.g. if an
and
profile is off then the control switch is forced off. If it is on then the control switch can be manually
set on or off as needed.
Note that the value of the
invert
attribute is ignored when manual override is requested.
These fixed-state profiles can be used as simple on/off controls for configuration objects. The following shows
an example of two such profiles, expressed in XML :-
<profile name="Off" set="false"/>
<profile name="On" set="true"/>
<profile name="IT-Support"
comment="Allow IT support company access to server"
set="control-switch"/>
Содержание FB6402
Страница 1: ...FireBrick FB6402 User Manual FB6000 Versatile Network Appliance...
Страница 2: ......