Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-4497

[YANGUTILS]Error is throw if date is in format YYYY-M-D

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      Description

      Issue : Error is throw if date is in format YYYY-M-D

      yang file :
      module network {
      yang-version 1;
      namespace "urn:TBD:params:xml:ns:yang:nodes";
      prefix nd;

      import ietf-inet-types

      { prefix inet; }

      organization "TBD";
      contact
      "WILL-BE-DEFINED-LATER";
      description
      "This module defines a common base model for a collection
      of nodes in a network. Node definitions s are further used
      in network topologies and inventories.";

      revision 2014-3-9

      { description "Initial revision."; reference "draft-clemm-i2rs-yang-network-topo-04"; }

      }

      Output:
      [INFO] Error in file: /home/root1/onos/utils/test/src/main/yang/network.yang at line: 16 at position: 5
      YANG file error: Input date is not correct

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              Vidyashree-Huawei Vidyashree Rama
              Reporter:
              Vidyashree-Huawei Vidyashree Rama
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: