Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S SpaceCreator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TASTE
  • SpaceCreator
  • Issues
  • #668

Closed
Open
Created Sep 13, 2021 by Guenter Schwann@gschwannDeveloper

ASN: Optional field not used

Several of the fields of the data structure are optional and you have an Optional column. But the optionality seems to be ignored at the moment

image

The problem is that if the field is not set, you will generate an invalid ASN.1 string:

image

Just to be clear:

  • if the OPTIONAL attribute is set in the grammar, and the user did not fill any value, then the field should be ignored when serializing the value (here, gateway and dns should not appear at all in the serialized string saved in the model)
  • if the DEFAULT attribute is set (e.g. for the "version" field) and the value is not changed from the default, the field may also be omitted from the serialized string.

ip.asn

Edited Sep 22, 2021 by Alex Diev
Assignee
Assign to
Time tracking