10.2. jset
- class nettoolkit.pyJuniper.jset.JSet(input_file: str = '', input_list: list[str] = <factory>)[source]
Bases:
STR- end_chars = ('{', '}', ';')
- hostname_str = ('host-name', 'hostname')
- input_file: str = ''
- input_list: list[str]
- static is_blank_line(line)[source]
is provided string/line a blank line
- Parameters:
s (str) – input string
- Returns:
boolean value for result
- Return type:
bool
- property objVar
- property to_set
Return set of values for the provided string - s. splits string by lines and comma
- Parameters:
s (str) – multiline input string
- Returns:
splitted lines/items
- Return type:
set
- vlan_configs_begin = ('vlans ', 'bridge-domains ')
- vlan_configs_begins = ('set vlans ', 'set bridge-domains ')