Skip to content

Commit

Permalink
added extras schema
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Dec 14, 2021
1 parent 59feddc commit fdfc99d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions schemas/clab.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@
"kernel": {
"type": "string",
"description": "ignite's kernel image name"
},
"extras": {
"type": "object",
"$ref": "#/definitions/extras-config"
}
},
"if": {
Expand Down Expand Up @@ -274,6 +278,26 @@
"uniqueItems": true
}
}
},
"extras-config": {
"type": "object",
"description": "node's extra configurations",
"properties": {
"srl-agents": {
"type": "array",
"description": "list of SR Linux agent's config files to be copied to the NOS filesystem",
"markdownDescription": "list of [SR Linux agent's config files](https://containerlab.srlinux.dev/manual/kinds/srl/#user-defined-custom-agents-for-sr-linux-nodes) to be copied to the NOS filesystem",
"minItems": 1,
"items": {
"type": "string"
},
"uniqueItems": true
},
"mysocket-proxy": {
"type": "string",
"description": "http/s proxy to be used by mysocketctl"
}
}
}
},
"type": "object",
Expand Down

0 comments on commit fdfc99d

Please sign in to comment.