History log of /hc2vpp/examples/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5543345d 27-May-2019 Michal Cmarada <mcmarada@cisco.com>

HC2VPP-411: remove deprecated interface-state

- new ietf-interfaces obsoletes interfaces-state container,
only interfaces container should be used from now on.

Change-Id: Ifb24611a3dca987bdf6b029d32e01d9b1f479fe8
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>

4901d945 12-Feb-2019 Michal Cmarada <mcmarada@cisco.com>

HC2VPP-372: Update docker demos for ubuntu bionic

Change-Id: Ieb20de52baaa2b004ce3b390a5d13857a52f3e6a
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>

498be110 23-Jan-2019 Michal Cmarada <mcmarada@cisco.com>

Update ncclient examples

- added optional parameter host for copy_config, get_config
and edit-config.
- added basic tests for interfaces:
- loopback interface
- af-packet interface
- tap interface
- added diff_xml.py to find differences between two sets of config.
It supports both full xml comparison and comparison based on xPath
- added example diff between running and candidate config (interfaces)
- fixed formatting and namespaces

Change-Id: If6dd7a76fab538735ab92c67f9457326fbcba7ec
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>

f5801c9e 22-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

examples/ncclient: various readme fixes

- fix link to honeycomb <validate> implementation
- fix paths in the examples

Change-Id: Ifa72c4f7dbff67fe090ddbc3a67bd94f587b65a3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

834e67e5 21-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

examples/ncclient: update copyright information

This patch:

- removes copyright information from config XML files

The change is required due to ncclient bug.
If <config> embeded in <copy-config> request contains
'://', then it is treated as URL and included in <url> node
before sending to NETCONF server.

- updates licence to Apache 2.0 in other XML files.

Change-Id: I526de3c1beee6ff4cb255481fc01608beea159ff
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

a92966bf 22-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

examples/ncclient: make validate and commit optional

Change-Id: I9da8729b58500d18c82981284c44ad07bcbee167
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

8b2e577e 22-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

examples/ncclient: set default log level to INFO

Change-Id: I959045c8d7ec16291f7144c572faea06cf1ad433
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

1d314d7e 22-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

examples/ncclient: update Readme.adoc after bump to Oxygen SR3

Patches, that fixes issues with ncclient compatibility,
are inclded in Oxygen SR3, so ncclient section can be removed.

Detailed information about NETCONF improvements
in future ODL versions was added.

Change-Id: I33c5013f106fcf5cff3216a723e7670b360d404f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

82ced1fb 22-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

examples: add ncclient examples of URL capability

Change-Id: Icf3bfc331548d1e0f1862bf87615f7c03a24780a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

4a43e8b5 21-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

examples/ncclient: <copy-config> example of bridge domain configuration

Change-Id: I66bf46a953ff40a6937fa77bfe58fa3ee179ed24
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

579bc2fc 21-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

examples/ncclient: update readme with <validate> example

Change-Id: Id5aa173292d00aee0dd37d0853d46cb98e2cce05
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

160ba2a4 21-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

examples: convert ncclient Readme to adoc

Change-Id: Ida137d00b51a480e4f27950cc9bbc609f4782efd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

c85493b5 21-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

examples: add verbose option to ncclient scripts

Change-Id: I42f1efed55072ec9885dda2a9dcd3c8d85980d8f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

c7425cb7 21-Aug-2018 Marek Gradzki <mgradzki@cisco.com>

Adapt ncclient examples to 18.07 ietf-nat model changes

The ietf-nat model was updated by HC2VPP-226 and HC2VPP-367.

Change-Id: I1bf8bfdbc0a106c933a565b5f11032e802598fbb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

16d190d2 13-Jun-2018 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-343: enable validation for acl list

This patch moves all validation for acl list to VppAclValidator,
implementation of Validator interface brought by (HONEYCOMB-431):

To test <validate> RPC, run ncclient tests with:
./edit_config.py acl/copy_config_unsupported-acl-type.xml -v

Support for <validate> RPC requres:

Change-Id: Iea591a76022e893f6aaf2a52637f45cadb284e4e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

430b7117 27-Jul-2018 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-341: remove v1.0/v2.0 postman collections

Hc2vpp examples are using now v2.1 format.

Change-Id: I945c03f8b80a4a74cf7064c566205ae5dc334d89
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

0c9b1fe0 27-Jun-2018 Marek Gradzki <mgradzki@cisco.com>

examples/ncclient: fix repo link

Change-Id: If9b2f1d8fd22b7e9df3069dd65e7db2900027a92
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

a6ad3687 27-Jun-2018 Marek Gradzki <mgradzki@cisco.com>

examples/ncclient: use ncclient repo instead of fork

There is no need for using fork after
support for <config> was merged:

Change-Id: I0bd4a1ce6c4263228771ae3a74e298640a0c2a40
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

1528ed5d 15-Jun-2018 Michal Cmarada <michal.cmarada@pantheon.tech>

Add SRv6 5 node docker demo

This demo is intended to test SRv6 implementation. There are
two options how to run the demo. First one is to use VPP only
configuration and the second one uses honeycomb to configure
SRv6 on nodes.

For detailed information about the demo read documentation in
./asciidoc/Readme.adoc file. Follow the instructions to run
the demo and use provided commands to verify the operation
of VPP nodes.

Change-Id: I7d17db0096cc48b06e9148e7c78faaf9d7b8a97d
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>

c6e27c7f 15-Jun-2018 Michal Cmarada <michal.cmarada@pantheon.tech>

Add configuration for mtu in docker examples

VPP is using mtu=9000 for interfaces that it creates.

This fixes the mtu value for veth interfaces on linux side
so they match the value configured in VPP for all veth interfaces
in docker examples. Originally veth interfaces use smaller value
since Linux automatically sets their MTU to be the smallest MTU
of their slave ports. For VPP this means if a bigger frame is sent
outside to the veth interface it will be dropped.

Change-Id: I41117490ec80a0b2d2d2897493c2690f92766734
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>

fe9af79a 01-Jun-2018 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-339: convert postman collections to v2.1.0 format

Mantaining postman collections in v1 format is difficult
due to UID strings.

Postman collection v2 fixes the issue and many others, see

Collections in v1 format, were converted
using postman-collection-transformer.
Output was transformed using JSON.stringify with space='\t',
to be compliant with Postman application which does not support
spaces for indentation.

Coverted collections were tested using Postman v6.1.3.

Previous version of postman collections were renamed
to *_v1.0.0.json or *_v2.0.0.json.
Removal is planned in 18.10 (HC2VPP-338).

Change-Id: I6caf496293fccc1f9aadcdece668b5200fe07122
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

03f60010 16-May-2018 Marek Gradzki <mgradzki@cisco.com>

docker: fix path in copy_packages.sh

Change-Id: I737000a63c81d6812a8fb6aa6d4d8d6b87ffdc7d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

149d172a 10-May-2018 Michal Cmarada <michal.cmarada@pantheon.tech>

HC2VPP-297 - MPLS model updates

This patch updates MPLS models to:
- hc2vpp-ietf-mpls-static@2017-07-02.yang
(draft at: https://tools.ietf.org/html/draft-ietf-mpls-static-yang-05)

Due to odl bugs these models were changed,
see HC2VPP-307 for more details.

see mpls_postman_collection.json for examples and usage

Summary of changes:
- leaf operation in static-lsp->config was replaced
with mpls-operations-type
- paths were refactored and moved to static-lsp
- outgoing-labels container was introduced in
- MPLS docker demo was updated to reflect model changes

Change-Id: I725ec5e4b3a1acea2aeabec41185949fc498ff26
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>

b104beed 02-May-2018 Marek Gradzki <mgradzki@cisco.com>

examples/ncclient: update Readme.txt with more detailed instructions

Change-Id: If22b47736937428b1aa84105ba589f53be8d35fa
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

9f9d2614 18-Apr-2018 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-313: <copy-config> examples using nnclient library

Shows how to configure VPP using nnclient library.

Requires following changes to ODL Netconf (HC2VPP-312):
- <copy-config> support:
- various fixes to make ODL Netconf compatible with nnclient:

and ncclient library with the following change:

Change-Id: I3dceb8ead6e6f558a3c76f6c1c3b0ba5f7c52f93
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 2e96f3423a2619cd2aa9d188de513723416c15e6)

30b088af 30-Apr-2018 Marek Gradzki <mgradzki@cisco.com>

Move docker files to examples directory

Change-Id: Ib2eb3dbae76a1e9b5d98ce9e0d5eea9adba280cf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit e4c58493ce5265ea0d1e17d160c339401c406186)