Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S SOL006
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NFV - Network Functions VirtualisationNFV - Network Functions Virtualisation
  • SOL006
  • Merge requests
  • !9

WIP: Fix for Bug#89

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged jethanandani requested to merge bug#89 into master Jan 04, 2019
  • Overview 3
  • Commits 5
  • Pipelines 1
  • Changes 6

IFA011 and IFA014 specify cardinality of certain attributes as 1 or 1..N. That means, those attributes are required to have a value. For example, in VduProfile, there are two attributes, MinNumberOfInstances and MaxNumberOfInstances with a cardinality of 1.

In YANG, there are two ways to satisfy the requirement. Set the node to be 'mandatory true', meaning the value needs to be specified, or set a default value on the node.

The advantage of the second option is that no action is required from the operator, if they are happy with the default values. If they are not happy, they will need to change the default value. With the first option, an action is always required, i.e. the operator will have to assign a value. If they do not, the configuration is rejected.

These changes removes 'mandatory true' in certain cases, and replaces them with default values.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bug#89