diff options
Diffstat (limited to 'framework/src/onos/web/api/src/main/resources/definitions/IntentPoint.json')
-rw-r--r-- | framework/src/onos/web/api/src/main/resources/definitions/IntentPoint.json | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/framework/src/onos/web/api/src/main/resources/definitions/IntentPoint.json b/framework/src/onos/web/api/src/main/resources/definitions/IntentPoint.json new file mode 100644 index 00000000..b84ad987 --- /dev/null +++ b/framework/src/onos/web/api/src/main/resources/definitions/IntentPoint.json @@ -0,0 +1,62 @@ +{ + "type": "object", + "title": "host", + "required": [ + "type", + "appId", + "priority", + "ingressPoint", + "egressPoint" + ], + "properties": { + "type": { + "type": "string", + "example": "PointToPointIntent" + }, + "appId": { + "type": "string", + "example": "org.onosproject.ovsdb" + }, + "priority": { + "type": "integer", + "format": "int64", + "example": 55 + }, + "ingressPoint": { + "type": "object", + "title": "point", + "required": [ + "port", + "device" + ], + "properties": { + "port": { + "type": "string", + "example": "3" + }, + "device": { + "type": "string", + "example": "of:0000000000000002" + } + } + }, + "egressPoint": { + "type": "object", + "title": "point", + "required": [ + "port", + "device" + ], + "properties": { + "port": { + "type": "string", + "example": "2" + }, + "device": { + "type": "string", + "example": "of:0000000000000003" + } + } + } + } +}
\ No newline at end of file |