Skip to content

Commit

Permalink
Merge pull request #70 from sonata-nfv/master
Browse files Browse the repository at this point in the history
Update 4.0 branch
  • Loading branch information
Stefan Schneider authored Sep 10, 2018
2 parents cd15187 + 7b73b06 commit 1afff54
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
11 changes: 9 additions & 2 deletions slice-descriptor/examples/slice-template-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@ author: "Pol"
##id: "8638af98-789f-462f-a373-ffc67527d82f"
name: "Rubik_NST"
notificationTypes: "NstOnboardingNotification"
nstNsdIds:
- "6a01afdc-9d42-4bc9-866c-a8a3868fdf5e"
sliceServices:
- servID: "6a01afdc-9d42-4bc9-866c-a8a3868fdf5e"
servname: "ns-squid-haprox_1"
slaID: "aabbccdd-9d42-4bc9-866c-a8a3868fdf5e"
- servID: "eeff1122-9d42-4bc9-866c-a8a3868fdf5e"
servname: "ns-squid-haprox_2"
slaID: "44556677-9d42-4bc9-866c-a8a3868fdf5e"
- servID: "99887766-9d42-4bc9-866c-a8a3868fdf5e"
servname: "ns-squid-haprox_3"
onboardingState: "ENABLED"
operationalState: "ENABLED"
usageState: "NOT_IN_USE"
Expand Down
26 changes: 22 additions & 4 deletions slice-descriptor/nst-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,30 @@ properties:
description: "The name of the NST"
type: "string"
pattern: "^[a-zA-Z0-9\\-_.]+$"
nstNsdIds:
sliceServices:
description: "The list of Network Services uuids composing the NST"
type: "array"
items:
type: "string"
pattern: "^[a-zA-Z0-9\\-_.]+$"
#type: "string"
#pattern: "^[a-zA-Z0-9\\-_.]+$"
description: "A service uuid with related parameters (i.e slaId)"
type: "object"
properties:
servID:
description: "An arbitrary description of the FSM."
type: "string"
pattern: "^[a-zA-Z0-9\\-_.]+$"
servname:
description: "The name of the selected service to instantiate."
type: "string"
pattern: "^[a-zA-Z0-9\\-_.]+$"
slaID:
description: "A unique identifier of this FSM within the scope of this VNF descriptor."
type: "string"
pattern: "^[a-zA-Z0-9\\-_.]+$"
required:
- servID
- servname
minItems: 1
onboardingState:
description: "Defines the onboarding state (ENABLE, DISABLED)."
Expand Down Expand Up @@ -137,7 +155,7 @@ required:
- descriptor_schema
- name
# - id
- nstNsdIds
- sliceServices
- version
- vendor
additionalProperties: true

0 comments on commit 1afff54

Please sign in to comment.