Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Juniper Apstra 5.0.1 / 5.0.0 User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Processor: Logical Operator

Release: Juniper Apstra 5.0
{}
Change Release
date_range 04-Nov-24

The Logical Operator processor calculates the logical operation, "AND" or "OR" of inputs. It takes two or more inputs that represent boolean values.

The property 'operation' specifies the logical operation. The property 'input_columns' specifies column names that input items should be taken from.

The series from the different input stages should match by their natural keys. If the list of keys does not allow a unique 1:1 mapping, or if the input stages have different sets of keys, use the "Significant Keys" property to specify the keys for the mapping.

Parameter Description
Input Types Tables that contain discrete_state type column according to the 'input_columns' property or Table (discrete_state) if the 'input_columns' is not specified.
Output Types Table (discrete state)
Operation Logical operation type that is used for processing the input data
Significant Keys (significant_keys)

List of keys to map items from the inputs for applying the specified operation. It is typically used by processors that take multiple inputs and perform operations on them. When inputs have the same sets of keys it does not need to be specified. When inputs have different sets of keys, it must be specified and it must allow only 1:1 items mapping from the given inputs, otherwise the probe will go into error state.

Enable Streaming (enable_streaming)

Makes samples of output stages streamed if enabled. An optional boolean that defaults to False. If set to True, all output stages of this processor are streamed in the generic protobuf schema.



In the Apstra UI, hover over the "Logical AND" or "Logical OR" tooltips for visual examples of how the Logical Operator processor functions.


footer-navigation