Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: robshakir/pyangbind
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.8.4
Choose a base ref
...
head repository: robshakir/pyangbind
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Oct 17, 2023

  1. Add GitHub Action to build and bind with pyang (#321)

    * Add steps to test build and bind with pyang.
    
    This is intended to catch error that prevent pyangbind from properly binding with pyang.
    JoseIgnacioTamayo authored Oct 17, 2023
    Copy the full SHA
    94b30a6 View commit details

Commits on Oct 24, 2023

  1. Fix release automation (#325)

    * No more int-tests steps, tox does it
    * List explicitly subpackages
    * GitHub Action to test built package with pyang
    * Iterate on release script
    JoseIgnacioTamayo authored Oct 24, 2023
    Copy the full SHA
    88db69c View commit details

Commits on Nov 28, 2023

  1. Fix _is_config attribute for non-config containers (#323)

    When a YANG definition of a container has the statement "config false;",
    the Python bindings generated for this container should have "is_config=False"
    in its __init__ method, but it was not the case.
    
    Containers nested in non-config containers correctly inherited the _is_config
    attribute from its parent.
    
    Add two test cases to tests/config-false.
    
    Co-authored-by: Nicolas Morini <nicolas.morini@airrays.com>
    fperrin and Nicolas Morini authored Nov 28, 2023
    Copy the full SHA
    18b0616 View commit details

Commits on Nov 30, 2023

  1. Copy the full SHA
    b782988 View commit details
  2. Fix missing identityref namespace (#322)

    * Add test coverage for identityref namespace fix
    
    * Fix missing namespace in identityref field
    
    When we generate python code from Yang module, the restriction_arg for
    the field doesn't include module name as the prefix.
    
    ---------
    
    Co-authored-by: guojunzhang <guojunzhang1981@gmail.com>
    fperrin and guojunzhang authored Nov 30, 2023
    Copy the full SHA
    835f1df View commit details

Commits on Dec 1, 2023

  1. Copy the full SHA
    1c7990f View commit details

Commits on Dec 27, 2023

  1. Remove Integration tests that use /bgp (#330)

    * Update oc-interface json blobs.
    
    Changes after openconfig/public#947
    
    * Remove Integration tests that use /bgp
    
    /bgp was removed since openconfig/public@eabe995
    
    The test objective is acomplished already with openconfig-interfaces model at /interfaces
    JoseIgnacioTamayo authored Dec 27, 2023
    Copy the full SHA
    bd07672 View commit details

Commits on Jan 4, 2024

  1. Updates documentation to have a full working example. (#335)

    * Updates documentation to have a full working example.
    
    * Updates all docs and code references to local-routing to 
    network-instance instead
    * Updates generate_bindings.sh to clone the models repo entirely since 
    models will keep changing making this a slightly more future proof way 
    to reference models and generate bindings
    
    * Fix formatting with black.
    
    ```
    black --line-length 119 static_route_example.py 
    reformatted static_route_example.py
    
    All done! ✨ 🍰 ✨
    1 file reformatted.
    ```
    
    * Implemented suggestions for shell script
    xavier-contreras authored Jan 4, 2024
    Copy the full SHA
    7613086 View commit details

Commits on Feb 11, 2024

  1. Copy the full SHA
    f078462 View commit details

Commits on Feb 13, 2024

  1. Fix presence with SplitClassDir option, and containing Groups (#339)

    * When unsetting a PresenceContainer, set no changes.
    * If splitting, add local imports for presenceContainers.
    * Add UnitTests for Presence Set/Unset.
    * Fix for Presence Containers that use Groupings
    JoseIgnacioTamayo authored Feb 13, 2024
    Copy the full SHA
    cf4c3bd View commit details

Commits on Feb 27, 2024

  1. Fix nested choice (#340)

    * Add UnitTest for nested Choices
    
    * Fix to support nested Choice statements
    JoseIgnacioTamayo authored Feb 27, 2024
    Copy the full SHA
    4e2054b View commit details
  2. Tweaks to allow development in Windows (#341)

    * Replace colons in filenames.
    
    This stops Windows from complaining when cloning the repo because of the filenames.
    
    * Add py and dependency for development on Windows.
    JoseIgnacioTamayo authored Feb 27, 2024
    Copy the full SHA
    5449020 View commit details

Commits on Feb 29, 2024

  1. Copy the full SHA
    ba5f85c View commit details

Commits on Mar 11, 2024

  1. Add Py12 to tests and package (#343)

    * Add Py12 to tests and package
    
    * Use Raw strings for Coverage to be OK
    
    * Linting with black
    JoseIgnacioTamayo authored Mar 11, 2024
    Copy the full SHA
    d396819 View commit details

Commits on Apr 9, 2024

  1. Fix decoding xml blob with key that must follow a pattern (#346)

    * Add TestCase for XML Decode of Regexd Key
    
    This Test checks that an XML blob can be decoded, when there is a list whose string keys are restricted.
    
    * Fix for XML Decode of Regexd Key
    
    Fix for decoding an XML blob when there is a list whose string keys are restricted.
    JoseIgnacioTamayo authored Apr 9, 2024
    Copy the full SHA
    27a84dc View commit details

Commits on May 21, 2024

  1. Copy the full SHA
    daf530f View commit details

Commits on Jul 31, 2024

  1. Remove six (#344)

    * No longer use six in generated binds.
    
    The supported PythonVersion is PY3.
    
    * Replace six.text_type by str
    
    * Replace six.iteritems() by .items()
    
    * Replace six.itervalues() by .values()
    
    * Replace six.string_types
    
    * Add coverage report and pyang output
    
    * Replace six.string_types and six.integer_types
    
    * No longer import six
    
    * Replace six.text_type for str in tests
    
    * Format with black
    
    * Remove six as dependency.
    
    * Remove six from tests
    JoseIgnacioTamayo authored Jul 31, 2024
    Copy the full SHA
    f3dda7c View commit details

Commits on Aug 5, 2024

  1. Ensure in json-ietf the Containers with Presence are shown (#351)

    * Update UnitTest for Presence on Empty Containers
    
    * Ensure in json-ietf the Containers with Presence are shown.
    JoseIgnacioTamayo authored Aug 5, 2024
    Copy the full SHA
    5ffbcbf View commit details
  2. Dimbleby multiple bases (#354)

    * Fork here PR #248
    
    #248
    
    * Add ids and idrefs derived from multiple bases
    
    * Update UnitTests to check for Identities of multiple bases
    
    * Fix format with black
    JoseIgnacioTamayo authored Aug 5, 2024
    Copy the full SHA
    8bcdf61 View commit details
  3. Copy the full SHA
    35fb9a8 View commit details

Commits on Sep 12, 2024

  1. Fix Python header formatting (#359)

    Spaces between import blocks
    JoseIgnacioTamayo authored Sep 12, 2024
    Copy the full SHA
    a4bd3bd View commit details
Loading