Skip to content

Commit

Permalink
feat: Add ipaddress and operatingsystem fields to virtualmachine (#146)
Browse files Browse the repository at this point in the history
* feat: Add ipaddress and operatingsystem fields to virtualmachine

* fix: Validate ipaddress against ipv4 or ipv6 format
  • Loading branch information
g-bougard authored Nov 4, 2024
1 parent 5537496 commit adce10c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions inventory.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2051,6 +2051,19 @@
"redash/redash"
]
},
"ipaddress": {
"title": "Virtualmachine ip",
"anyOf": [
{
"type": "string",
"format": "ipv4"
},
{
"type": "string",
"format": "ipv6"
}
]
},
"memory": {
"type": "integer",
"title": "Memory size in MB",
Expand All @@ -2064,6 +2077,9 @@
"centos7.0"
]
},
"operatingsystem": {
"$ref": "#/properties/content/properties/operatingsystem"
},
"status": {
"type": "string",
"examples": [
Expand Down

0 comments on commit adce10c

Please sign in to comment.