From b5a64c14f6ad75add778b79dd57b97a76db5b2be Mon Sep 17 00:00:00 2001 From: "Paul C. Buetow" Date: Fri, 16 May 2014 17:49:42 +0200 Subject: documentation --- docs/fapi.pod | 4 ++++ src/fapi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/fapi.pod b/docs/fapi.pod index e7a7bd1..21b9683 100644 --- a/docs/fapi.pod +++ b/docs/fapi.pod @@ -121,6 +121,10 @@ A simple nPath service can be created as follows. fapi vserver myvserver.example.com:443 create PROTOCOL_TCP nPath fapi vserver myvserver.example.com:443 set pool foopool + # Restrict the vserver to a specific VLAN (IMPORTANT! security + # hole otherwise!) + fapi vserver myvserver.example.com:443 set vlans VLANNAME + # Put the VirtualAddress of the vserver into a specific traffic group fapi vip myserver.example.com set tgroup some-traffic-group diff --git a/src/fapi b/src/fapi index 55c0bcc..5a8515c 100755 --- a/src/fapi +++ b/src/fapi @@ -93,7 +93,7 @@ class FapiBase(object): ' vserver NAME set nat|pat disabled|enabled', ' vserver NAME set pool POOLNAME', ' vserver NAME set snat automap|none' - ' vserver NAME set vlans list[,of,vlans,to,allow]', + ' vserver NAME set vlans [list,of,vlans,to,allow]', + reset, 'The following partially needs admininstrator privileges on / and /Common', style + -- cgit v1.2.3