Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[_sonic_yang_ext.py]: Extend sonic yang class to support cropping, transalation, reverse translation of … #11

Merged

Commits on Dec 3, 2019

  1. [_sonic_yang_ext.py]: Extend sonic yang class to support cropping of …

    …config.
    
    From the json format of yang models, a map is created from config DB tables
    to container in yang model. Input Config is cropped on based of this map.
    Praveen Chaudhary committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    c19cbca View commit details
    Browse the repository at this point in the history
  2. [test_sonic_yang.py]: Test code for sonic yang extension funtionalities.

    Test code for copping config DB.
    Minor fixes in other files.
    Praveen Chaudhary committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    8a338ac View commit details
    Browse the repository at this point in the history
  3. [_sonic_yang_ext.py]: Translate Config DB format to YANG json as per …

    …yang model.
    
    Load data in sonic_yang after transalation.
    Test for translation functionality.
    Praveen Chaudhary committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    0ab1d57 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2019

  1. [test_sonic_yang.py]: Add test for translation.

    Added config DB json sample in yangTest.json.
    Blocked other PLY test cases as of now, because they fail with new yang models.
    Praveen Chaudhary committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    752c996 View commit details
    Browse the repository at this point in the history
  2. [_sonic_yang_ext.py]: Reverse translation i.e. from YANG json to Conf…

    …ig DB json.
    
    Reverse translation i.e. from YANG json to Config DB json based on yang models.
    Find xpath for a port. portleaf and a yang list.
    get_data functions to get rev xlated data from data tree.
    Test for crop, xlate and rev xlate.
    Praveen Chaudhary committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    cad0add View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. [_sonic_yang_ext.py]: Minor changes to handle exceptions.

    Praveen Chaudhary committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    e93edb0 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. [build_debian.sh]: Add neccessary package in sonic image and in sonic…

    … slave docker.
    
    Fix the test to accomodate for ip-prefix as of now
    Praveen Chaudhary committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    754300d View commit details
    Browse the repository at this point in the history
  2. [_sonic_yang_ext.py]: Addressing more exception handling and comments.

    Unblocking PLY test cases.
    Praveen Chaudhary committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    3e15661 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

  1. [setup.py]: Add _sonic_yang_ext.py in package.

    Praveen Chaudhary committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    2460133 View commit details
    Browse the repository at this point in the history
  2. [test_sonic_yang.py]: Fixing test case for delete node.

    Praveen Chaudhary committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    839d0b8 View commit details
    Browse the repository at this point in the history