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

Add integration test with minimal testing example to YAMLsmith project

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

      None

      Show
      None
    • None
    • NMT - RHEL-9.5 DTM 12
    • Hide

      Acceptance criteria:

      Given the natural language input "Configure interface eth1, set type to ethernet, set state to up, enable IPv4, set DHCPv4 to true", when asking the trained model to generate the state example, then the model will generate the example as expected:

      interfaces:

      • name: eth1
        type: ethernet
        state: up
        ipv4:
        dhcp: true
        enabled: true

      Definition of Done:

      • The implementation meets the acceptance criteria
      • A demo is done showing the trained model generating the correct Yaml configuration

      AC aligned with testing/demo:
      The demo can be found here: https://drive.google.com/file/d/10onTfwOMeJQjPclG4j7Cev0JyFutJofh/view

      Show
      Acceptance criteria: Given the natural language input "Configure interface eth1, set type to ethernet, set state to up, enable IPv4, set DHCPv4 to true", when asking the trained model to generate the state example, then the model will generate the example as expected: — interfaces: name: eth1 type: ethernet state: up ipv4: dhcp: true enabled: true Definition of Done: The implementation meets the acceptance criteria A demo is done showing the trained model generating the correct Yaml configuration AC aligned with testing/demo: The demo can be found here: https://drive.google.com/file/d/10onTfwOMeJQjPclG4j7Cev0JyFutJofh/view
    • None
    • None
    • None

      Goal

      As a YAMLsmith developer, I want to train a minimal model with just one example, so that the integration test will demonstrate that the model behaves as expected.    

       

      Acceptance Criteria

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • Given the natural language input "Configure interface eth1, set type to ethernet,  set state to up, enable IPv4, set DHCPv4 to true", when asking the trained model to generate the state example, then the model will generate the example as expected:

          —
          interfaces:
            - name: eth1
              type: ethernet
              state: up
              ipv4:
                dhcp: true
                enabled: true

              liangwen12year Wen Liang
              liangwen12year Wen Liang
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: