neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-upf/+/30228 )


Change subject: tests/upf.vty: add some missing nodes to the test
......................................................................

tests/upf.vty: add some missing nodes to the test

Change-Id: I93c49dce23efaf9c533619112fb7a8114e258fa0
---
M tests/upf.vty
1 file changed, 24 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-upf refs/changes/28/30228/1

diff --git a/tests/upf.vty b/tests/upf.vty
index d1cebe5..6d40841 100644
--- a/tests/upf.vty
+++ b/tests/upf.vty
@@ -16,10 +16,17 @@
 OsmoUPF(config)# gtp
 OsmoUPF(config-gtp)# list
 ...
+  mockup
+  no mockup
   dev create DEVNAME [LISTEN_ADDR]
   dev use DEVNAME
   dev delete DEVNAME

+OsmoUPF(config-gtp)# mockup?
+  mockup  don't actually send commands to the GTP kernel module, just return 
success
+OsmoUPF(config-gtp)# no ?
+  mockup  operate GTP kernel module normally
+
 OsmoUPF(config-gtp)# dev?
   dev  Configure the GTP device to use for encaps/decaps.
 OsmoUPF(config-gtp)# dev ?
@@ -33,3 +40,20 @@
 OsmoUPF(config-gtp)# dev delete ?
   DEVNAME  device name, e.g. 'apn0'
 OsmoUPF(config-gtp)# exit
+
+OsmoUPF(config)# nft
+OsmoUPF(config-nft)# list
+...
+  mockup
+  no mockup
+  table-name TABLE_NAME
+
+OsmoUPF(config-nft)# mockup?
+  mockup  don't actually send rulesets to nftables, just return success
+OsmoUPF(config-nft)# no ?
+  mockup  operate nftables rulesets normally
+
+OsmoUPF(config-nft)# table-name?
+  table-name  Set the nft inet table name to create and place GTP tunnel 
forwarding chains in (as in 'nft add table inet foo'). If multiple instances of 
osmo-upf are running on the same system, each osmo-upf must have its own table 
name. Otherwise the names of created forwarding chains will collide. The 
default table name is "osmo-upf".
+OsmoUPF(config-nft)# table-name ?
+  TABLE_NAME  nft inet table name

--
To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/30228
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-upf
Gerrit-Branch: master
Gerrit-Change-Id: I93c49dce23efaf9c533619112fb7a8114e258fa0
Gerrit-Change-Number: 30228
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-MessageType: newchange

Reply via email to