Skip to content

Instantly share code, notes, and snippets.

@ganeshrn
Created December 14, 2020 05:28
Show Gist options
  • Save ganeshrn/0a479d580caa96326a7c8186c4b12d7d to your computer and use it in GitHub Desktop.
Save ganeshrn/0a479d580caa96326a7c8186c4b12d7d to your computer and use it in GitHub Desktop.
jsonschema criteria for interface up state
{
"type": "object",
"patternProperties": {
"^.*": {
"type": "object",
"properties": {
"admin_state": {
"type": "string",
"pattern": "up"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment