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

Rebased core tests #286

Merged
110 commits merged into from Nov 3, 2016
Merged

Rebased core tests #286

110 commits merged into from Nov 3, 2016

Conversation

psykokwak4
Copy link
Contributor

  • Updated .travis.yml, test scripts and some sanity test cases to
    enable executing same tests in osx and linux.

  • Removed CI dependency on docker container.

  • Reorganized sdk/cpp/ydk/tests/confd, modified original Makefile
    under this directory, and added three directories: augmentation,
    deviation, and ydktest, that contain modified Makefile for different
    ConfD environments.

  • Moved deviation YANG models from profiles/test/deviation to
    yang/deviation, a profile file profiles/test/deviation.json could
    be used to generate API for it.

manradhaCisco and others added 30 commits August 24, 2016 14:38
-------------------------

1. libydk will be library component that will contain the all of the
model agnostic code. The public headers that will be exposed is
        ydk/ydk.hpp :- Declarations for Entity, Service, types,
        ServiceProvider etc
        ydk/netconf.hpp :- Declaration of the NetconfServiceProvider and
        other netconf releated public api
        ydk/core.hpp :- The path api

2. Private header are suffixed with _private.
3. All src is now under ydk/src
4. Samples under ydk/samples
5. Tests under ydk/tests
2. Get bgptest cases to test encode->decode for xml and json (Codec test
                                                              cases)
* Introduce entity, value classes
 * Add hand-written entity classes for a few nodes of bgp model
 * Add unit tests for all new and existing non-core ydk classes
 * Added crud test which configures bgp as, afi-safi, neighbor to device
 * Fixed const, removed get_ydk_path as it is no longer used (#8)

 * Temporarily committing hand-written APIs to get tests to work (#10)

 * Clean up

 * Added test_entity

 * added << and string override for Value

 * Add == override for Value

 * Added const == override to Value

 * Added == operator to EntityPath
* Added top entity lookup files, rebased on origin/ydk_core

* Moved generated code to sdk/cpp/ydk/tests/models_gen

* Clean up entity_lookup_printer
* Code generation changes, CRUD service update and add more coverage

* Add bgp sample and cmake

 * Updated to use C++14

* Generate CMakeList.txt

* Replaced GLOB

Because "We do not recommend using GLOB to collect a list of source
files from your source tree. If no CMakeLists.txt file changes when
a source is added or removed then the generated build system cannot
know when to ask CMake to regenerate."

* Update generate.py to create shared library using cmake

* Add .libs directory
 * Fixing memory allocation in provider
 * Handle empty data in read operation
 * Fix ietf bundle gen
 * Netconf client throws exceptions in case of error.
 * Added config support to crud read operation
111pontes and others added 26 commits October 31, 2016 10:08
* update readme

* update install.sh to create python3 env

* update readme with note about python envs
* Fix Enum references in oc-if sample

Sample for oc-if model was using old-style enum names (*_Enum). These
changes make the names consistent with the current name style.

* Make oc-if sample app executable
* Update model bundles for YDK 0.5.1

Updates models in cisco-ios-xr, ietf and openconfig bundles. The
cisco-ios-xr bundle now includes XR 6.1.1 models. Bundle version is now
aligned with XR release number.  The openconfig bundle now uses github
files exclusively.  The ietf bundle now includes model for syslog types.
The versions of the ietf and openconfig bundle is bumped to 0.1.1.

* Fix IETF bundle version

Bumping bundle version to 0.1.1. Bundle file was incorrectly using
bundle version 0.1.0.

* Add OC deviations for cisco-ios-xr bundle

* Rename initial bundle files

Initial bundle files now include version details in their name.  This
nomenclature facilitates the accumulation of bundle files over time, so
a particular bundle version can be re-generated at any point.  This
nomenclature is also consistent with how profile files were named before
the introduction of bundles.

* Remove XR deviations for OC interfaces

Deviations for OC interfaces break cisco-ios-xr bundle generation.
Deviation file is being removed from the bundle definition and a issue
filed (#259) for resolving the dependency appropriately in the next
release.
* Added weak "internal use" indicator

* Only print import identity statement used (#216)

* fix if statement
* Added datastore option check (#252)

Disabled delete config test case in test_sanity_netconf.py because ConfD
does not support startup and candidate datastore at the same time.

* Code review change

* Removed unnecessary import statement
Removed duplicated logging(#251), added loggin reply for get/get-config(#254)
- Updated documentation and docstring to NetconfService (#239)
- copy-config/validate now can accept YDK entity as source (#248)
- merged commit/commit_confirmed into one method (#247)
- make copy-config/validate consistent with RFC 6241 (#235)
 * Move types to types.cpp
 * Move errors to errors.cpp
 * Fix identity
 * Temporarily remove bgp-oper, mpls-te-oper, ospf-oper, infra-policymgr-oper
 * Add back the temporarily removed large models to cisco-ios-xr bundle profile
 * Generate/compile time down to ~36 mins on mac
* Migrated some static docs from core.hpp

* Update static doc

* tweak

* Added "Edit on GitHub" link, used forked branch temporarily.

* Added doc for crud service and netconf provider

* Code review update, disable "edit on GitHub" link for generated docs
Apply Abhi's C++ patch for compilation and test cases in ubuntu
environment.
- Updated .travis.yml, test scripts and some sanity test cases to
  enable execute same tests in osx and linux.

- Reorganized sdk/cpp/ydk/tests/confd, modified original Makefile
  under this directory, and added three directories: augmentation,
  deviation, and ydktest, that contain Makefile for different ConfD
  environments.

- Moved deviation YANG models from profiles/test/deviation to
  yang/deviation, a profile file profiles/test/deviation.json could
  be used to generate API for it.
…ests

* CiscoDevNet/master: (25 commits)
  Clean up service/provider logging (#284)
  Fix XML pretty print in logs (#280) (#283)
  Better error message for type mismatch errors(#241) (#278)
  Update README.md (#276)
  Update README.rst (#275)
  NetconfService Issues (#248), (#247), (#235) (#274)
  Loggin fix (#269)
  Update samples/readme for 0.5.1 (#271)
  CRUD delete on list with id ref as key bug fix (#270)
  Added datastore option check (#252) (#268)
  Removed auto cap (#265)
  Update ydk.services.rst (#263)
  Update version to 0.5.1 (#262)
  Issue 216 (#261)
  Add final bundle adjustments for next major release (#258)
  Update travis (#260)
  Fix oc-if sample app (#246)
  Fix minor typos in README file
  updating install.sh to create python 3 env and readme (#242)
  Fix README typo
  ...

# Conflicts:
#	.travis.yml
#	sdk/python/core/tests/test_sanity_delete.py
#	sdk/python/core/tests/test_sanity_deviation.py
#	sdk/python/core/ydk/providers/_provider_plugin.py
#	test/travis_ci.sh
#	ydkgen/api_model.py
#	ydkgen/printer/meta_data_util.py
#	ydkgen/printer/python/python_bindings_printer.py
@ghost ghost added the in progress label Nov 3, 2016
@ghost ghost merged commit 96e2c06 into CiscoDevNet:master Nov 3, 2016
@ghost ghost removed the in progress label Nov 3, 2016
@psykokwak4 psykokwak4 deleted the rebased_core_tests branch March 16, 2017 23:39
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants