1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- {
- "variables": [{
- "type": "prefix",
- "name": "fullPrefix",
- "cidr": "fd00:8e13:ce5d::/48"
- }, {
- "type": "array",
- "name": "used",
- "value": [{
- "type": "prefix",
- "name": "Lab 4e90",
- "assignment": "customers",
- "cidr": "fd00:8e13:ce5d:4e90::/60"
- }, {
- "type": "prefix",
- "name": "Lab cb00",
- "assignment": "customers",
- "cidr": "fd00:8e13:ce5d:cb00::/56"
- }, {
- "type": "prefix",
- "assignment": "internal",
- "cidr": "fd00:8e13:ce5d:cb00::/56"
- }]
- },
- {
- "type": "array/prefixLength",
- "name": "allowedLengths",
- "value": [56, 60]
- },
- {
- "type": "array/string",
- "name": "includes",
- "value": ["dn42.json"]
- }
- ],
- "actions": [
- ["for", {
- "through": "$includes",
- "as": "filename",
- "do": [
- ["print", {
- "value": "$filename",
- "prefix": "%Include file ",
- "postfix": "%..."
- }],
- ["include", {
- "file": "$filename",
- "catch": false
- }]
- ]
- }],
- ["print", {
- "value": "$fullPrefix",
- "prefix": "%Full prefix: "
- }],
- ["print", {
- "value": "%Used prefixes:"
- }],
- ["print", {
- "value": "$used",
- "prefix": "%- "
- }],
- ["generate", {
- "count": 40,
- "lengths": "$allowedLengths",
- "in": "$fullPrefix",
- "exclude": "$used"
- }]
- ]
- }
|