Juniper Networks · Schema
NetworkPolicy
AIAutomationCloudEnterpriseNetworkingSDNSecurityFortune 1000
Properties
| Name | Type | Description |
|---|---|---|
| uuid | string | |
| fq_name | array | |
| display_name | string | |
| network_policy_entries | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/NetworkPolicy",
"title": "NetworkPolicy",
"type": "object",
"properties": {
"uuid": {
"type": "string",
"format": "uuid"
},
"fq_name": {
"type": "array",
"items": {
"type": "string"
}
},
"display_name": {
"type": "string"
},
"network_policy_entries": {
"type": "object",
"properties": {
"policy_rule": {
"type": "array",
"items": {
"type": "object",
"properties": {
"direction": {
"type": "string",
"enum": [
">",
"<>"
]
},
"protocol": {
"type": "string"
},
"action_list": {
"type": "object",
"properties": {
"simple_action": {
"type": "string",
"enum": [
"pass",
"deny"
]
}
}
},
"src_addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"virtual_network": {
"type": "string"
}
}
}
},
"dst_addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"virtual_network": {
"type": "string"
}
}
}
},
"src_ports": {
"type": "array",
"items": {
"type": "object",
"properties": {
"start_port": {
"type": "integer"
},
"end_port": {
"type": "integer"
}
}
}
},
"dst_ports": {
"type": "array",
"items": {
"type": "object",
"properties": {
"start_port": {
"type": "integer"
},
"end_port": {
"type": "integer"
}
}
}
}
}
}
}
}
}
}
}