summaryrefslogtreecommitdiffstats
path: root/nsh/api/src
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2016-10-26 19:28:30 +0800
committerHongjun Ni <hongjun.ni@intel.com>2016-10-26 19:42:57 +0800
commitbc854d9d1050a3f696334d123dead72e9e9e0a1f (patch)
tree25c356f1b52ca981ec08c6940bcfdf681af56ca3 /nsh/api/src
parentbb090e1254eacc95d7bd1dd45f6311967f81af86 (diff)
Augment postman json with nsh_action
Change-Id: I2940b98397f1bdb140b042e78551971b868180f2 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh/api/src')
-rw-r--r--nsh/api/src/main/yang/vpp-nsh.yang1
1 files changed, 1 insertions, 0 deletions
diff --git a/nsh/api/src/main/yang/vpp-nsh.yang b/nsh/api/src/main/yang/vpp-nsh.yang
index a3313bad4..d4914f4fd 100644
--- a/nsh/api/src/main/yang/vpp-nsh.yang
+++ b/nsh/api/src/main/yang/vpp-nsh.yang
@@ -210,6 +210,7 @@ module vpp-nsh {
}
leaf nsh-action {
type nsh-action-type;
+ default "swap";
}
leaf encap-type {
type nsh-encap-type;