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 1
1
module transparenthelloworld {
2
2
yang-version 1.1 ;
3
- namespace "http://polycube.network/transparenthelloworld " ;
4
- prefix "transparenthelloworld " ;
3
+ namespace "http://polycube.network/trhelloworld " ;
4
+ prefix "trhelloworld " ;
5
5
6
6
import polycube-base { prefix "polycube-base" ; }
7
7
import polycube-transparent-base { prefix "polycube-transparent-base" ; }
8
8
9
9
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" ;
11
11
12
- polycube-base:service-description "Transparent- Helloworld Service" ;
12
+ polycube-base:service-description "Transparent Helloworld Service" ;
13
13
polycube-base:service-version "1.0" ;
14
- polycube-base:service-name "transparenthelloworld " ;
14
+ polycube-base:service-name "trhelloworld " ;
15
15
polycube-base:service-min-kernel-version "4.14.0" ;
16
16
17
17
uses "polycube-transparent-base:transparent-base-yang-module" ;
@@ -24,6 +24,7 @@ module transparenthelloworld {
24
24
}
25
25
default PASS;
26
26
description "Action performed on ingress packets" ;
27
+ polycube-base:cli-example "DROP/PASS/SLOWPATH (default: PASS)" ;
27
28
}
28
29
29
30
leaf egress-action {
@@ -34,5 +35,6 @@ module transparenthelloworld {
34
35
}
35
36
default PASS;
36
37
description "Action performed on egress packets" ;
38
+ polycube-base:cli-example "DROP/PASS/SLOWPATH (default: PASS)" ;
37
39
}
38
40
}
Original file line number Diff line number Diff line change 13
13
/* Do not edit this file manually */
14
14
15
15
#include " api/TransparenthelloworldApiImpl.h"
16
- #include " ../datamodel/transparent-helloworld .h" // generated from datamodel
16
+ #include " ../datamodel/transparenthelloworld .h" // generated from datamodel
17
17
18
18
#define SERVICE_PYANG_GIT " "
19
19
#define SERVICE_SWAGGER_CODEGEN_GIT " implement_help_in_framework/be2c60c"
Original file line number Diff line number Diff line change 19
19
20
20
#pragma once
21
21
22
- #define POLYCUBE_SERVICE_NAME " transparenthelloworld "
22
+ #define POLYCUBE_SERVICE_NAME " trhelloworld "
23
23
24
24
25
25
#include " polycube/services/response.h"
You can’t perform that action at this time.
0 commit comments