File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
src/services/pcn-transparent-helloworld Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11module transparenthelloworld {
22 yang-version 1.1 ;
3- namespace "http://polycube.network/transparenthelloworld " ;
4- prefix "transparenthelloworld " ;
3+ namespace "http://polycube.network/trhelloworld " ;
4+ prefix "trhelloworld " ;
55
66 import polycube-base { prefix "polycube-base" ; }
77 import polycube-transparent-base { prefix "polycube-transparent-base" ; }
88
99 organization "Polycube open source project" ;
10- description "YANG data model for the Polycube Transparent- Helloworld service" ;
10+ description "YANG data model for the Polycube Transparent Helloworld service" ;
1111
12- polycube-base:service-description "Transparent- Helloworld Service" ;
12+ polycube-base:service-description "Transparent Helloworld Service" ;
1313 polycube-base:service-version "1.0" ;
14- polycube-base:service-name "transparenthelloworld " ;
14+ polycube-base:service-name "trhelloworld " ;
1515 polycube-base:service-min-kernel-version "4.14.0" ;
1616
1717 uses "polycube-transparent-base:transparent-base-yang-module" ;
@@ -24,6 +24,7 @@ module transparenthelloworld {
2424 }
2525 default PASS;
2626 description "Action performed on ingress packets" ;
27+ polycube-base:cli-example "DROP/PASS/SLOWPATH (default: PASS)" ;
2728 }
2829
2930 leaf egress-action {
@@ -34,5 +35,6 @@ module transparenthelloworld {
3435 }
3536 default PASS;
3637 description "Action performed on egress packets" ;
38+ polycube-base:cli-example "DROP/PASS/SLOWPATH (default: PASS)" ;
3739 }
3840}
Original file line number Diff line number Diff line change 1313/* Do not edit this file manually */
1414
1515#include " api/TransparenthelloworldApiImpl.h"
16- #include " ../datamodel/transparent-helloworld .h" // generated from datamodel
16+ #include " ../datamodel/transparenthelloworld .h" // generated from datamodel
1717
1818#define SERVICE_PYANG_GIT " "
1919#define SERVICE_SWAGGER_CODEGEN_GIT " implement_help_in_framework/be2c60c"
Original file line number Diff line number Diff line change 1919
2020#pragma once
2121
22- #define POLYCUBE_SERVICE_NAME " transparenthelloworld "
22+ #define POLYCUBE_SERVICE_NAME " trhelloworld "
2323
2424
2525#include " polycube/services/response.h"
You can’t perform that action at this time.
0 commit comments