Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change type of network_services items #110

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 27 additions & 2 deletions service-descriptor/nsd-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,33 @@ properties:
description: "The recursive NSs (their descriptors), that are part of this network service."
type: "array"
items:
type: "string"
minItems: 0
type: "object"
properties:
ns_id:
description: "A unique identifier of this network service within the scope of this NS descriptor."
type: "string"
ns_vendor:
description: "The vendor id identifies the NS descriptor uniquely across all service descriptors."
type: "string"
pattern: "^[a-z0-9\\-_.]+$"
ns_name:
description: "The name of the service descriptor."
type: "string"
pattern: "^[a-z0-9\\-_.]+$"
ns_version:
description: "The version of the service descriptor."
type: "string"
pattern: "^(== |>= |<= |!= )?[0-9\\-_.]+$"
description:
description: "A longer description of the network service."
type: "string"
required:
- ns_id
- ns_vendor
- ns_name
- ns_version
additionalProperties: false
minItems: 1
uniqueItems: true
# How do I write down that there must be at least one of VNFDs or NSDs?
connection_points:
Expand Down