diff --git a/data/custom/ip/private.yaml b/data/custom/ip/private.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b21810620068464b5ad4e9139831033c3d00288e --- /dev/null +++ b/data/custom/ip/private.yaml @@ -0,0 +1,19 @@ +title: 私有IP +desc: 引用系统IP定义 +author: zentao +version: 1.0 + +field: privateIP +instances: + + - instance: all + fields: + - field: part1 + from: system.ip.v1.yaml + use: privateA, privateB, privateC + prefix: "" + postfix: "/" + + - field: part2 + from: custom.test.number.v1.yaml + use: netmask \ No newline at end of file diff --git a/data/custom/test/number/v1.yaml b/data/custom/test/number/v1.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ce13628d61456841f392c25328c3d918517d71fd --- /dev/null +++ b/data/custom/test/number/v1.yaml @@ -0,0 +1,14 @@ +title: number +desc: 数字分组 +author: wwccss +version: 1.0 + +field: number +note: 数值类型数据 +prefix: "'" +postfix: "'" +ranges: + small: 1-9 + medium: 101-199 + large: 10001-99999 + netmask: 8,16,24 \ No newline at end of file