Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-69925

Validations for the YAML with nmpolicy in the Go package

    • rhel-sst-network-management
    • ssg_networking
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Given a YAML configuration file for nmpolicy provided as input to the Go package,

      When the YAML is processed,

      Then nmpolicy should validate that the YAML syntax is correct and well-formed. Also, it should validate that the required fields are present and have valid values and invalid YAML should trigger a clear error message specifying what is wrong.

      Definition of Done:

      • The implementation meets the acceptance criteria
      • Integration tests are written and passĀ 
      • The code is part of a downstream build attached to an errata
      Show
      Given a YAML configuration file for nmpolicy provided as input to the Go package, When the YAML is processed, Then nmpolicy should validate that the YAML syntax is correct and well-formed. Also, it should validate that the required fields are present and have valid values and invalid YAML should trigger a clear error message specifying what is wrong. Definition of Done: The implementation meets the acceptance criteria Integration tests are written and passĀ  The code is part of a downstream build attached to an errata
    • None
    • None
    • None

      Similar to the validations performed on the nmstate YAML in the Go package, we need equivalent validations for the YAML used with nmpolicy in the Go package.

              rh-ee-sfaye Stanislas Faye
              rh-ee-lhadad Linoy Hadad
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: