rougail/tests/dictionaries/10check_valid_in_network/yml/00-base.yml

40 lines
891 B
YAML

version: '0.10'
variables:
- family:
name: general
variables:
- variable:
name: mode_conteneur_actif
type: string
description: No change
value:
- text: oui
- variable:
name: adresse_ip_eth0
type: local_ip
description: Adresse IP de la carte
mandatory: true
mode: basic
- variable:
name: adresse_netmask_eth0
type: netmask
description: "Masque de sous r\xE9seau de la carte"
mandatory: true
mode: basic
- variable:
name: adresse_ip
type: local_ip
description: IP
mandatory: true
mode: basic
constraints:
- check:
- name: valid_in_network
level: warning
param:
- type: variable
text: adresse_ip_eth0
- type: variable
text: adresse_netmask_eth0
target:
- text: adresse_ip