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

31 lines
682 B
YAML
Raw Normal View History

2022-11-02 22:52:50 +01:00
version: '0.10'
variables:
- family:
- name: general
2022-11-02 22:52:50 +01:00
variables:
- variable:
- name: mode_conteneur_actif
2022-11-02 22:52:50 +01:00
type: string
description: No change
value:
- text: oui
- name: adresse_ip_eth0
2022-11-02 22:52:50 +01:00
type: local_ip
description: Adresse IP de la carte
2022-11-03 22:16:52 +01:00
mandatory: true
2022-11-02 22:52:50 +01:00
mode: basic
- name: adresse_netmask_eth0
2022-11-02 22:52:50 +01:00
type: netmask
description: "Masque de sous r\xE9seau de la carte"
2022-11-03 22:16:52 +01:00
mandatory: true
2022-11-02 22:52:50 +01:00
mode: basic
constraints:
- check:
- name: valid_ipnetmask
level: warning
param:
- type: variable
text: adresse_ip_eth0
target:
- text: adresse_netmask_eth0