HC2VPP-257: MPLS interface management 32/9232/6
authorMarek Gradzki <[email protected]>
Thu, 26 Oct 2017 11:44:41 +0000 (13:44 +0200)
committerMarek Gradzki <[email protected]>
Tue, 7 Nov 2017 07:36:09 +0000 (08:36 +0100)
commitbaee9a73ebcf4db04d80f454094496a24595e142
treec29691cb253e1d497ee08b75220950882de0a708
parentcacb95739aed54605b6c89fa0f58898aadaece2f
HC2VPP-257: MPLS interface management

Translates
/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface

to
sw_interface_set_mpls_enable

which is equivalent to:
set interface mpls [...] enable

MPLS table is created before configuring MPLS
using mpls_table_add_del (required since VPP 17.10).

Reading MPLS configuration state is not supported
(VPP API is missing).

Change-Id: I3f1b987c3669b0836a27649a711e75d0dc37a779
Signed-off-by: Marek Gradzki <[email protected]>
mpls/impl/asciidoc/Readme.adoc [new file with mode: 0644]
mpls/impl/pom.xml [new file with mode: 0644]
mpls/impl/src/main/java/io/fd/hc2vpp/mpls/MplsInterfaceCustomizer.java [new file with mode: 0644]
mpls/impl/src/main/java/io/fd/hc2vpp/mpls/MplsModule.java [new file with mode: 0644]
mpls/impl/src/main/java/io/fd/hc2vpp/mpls/MplsWriterFactory.java [new file with mode: 0644]
mpls/impl/src/test/java/io/fd/hc2vpp/mpls/MplsInterfaceCustomizerTest.java [new file with mode: 0644]
mpls/pom.xml
vpp-integration/minimal-distribution/pom.xml