Add port argument to bv-bstctl examples

Change-Id: I0bea91332457a70babc070ae9130e8470bd002b3
This commit is contained in:
Volodymyr Samotiy 2016-06-10 13:52:22 +03:00
parent 8c23258ae8
commit 724700c104
1 changed files with 20 additions and 19 deletions

View File

@ -13,43 +13,44 @@
# limitations under the License.
host=10.14.244.128
port=8082
echo "********** cfg-feature **********"
python bv-bstctl.py cfg-feature timeout:30 host:$host enable send_async_reports
python bv-bstctl.py cfg-feature timeout:30 host:$host port:$port enable send_async_reports
echo "********** get-feature **********"
python bv-bstctl.py get-feature host:$host
python bv-bstctl.py get-feature host:$host port:$port
echo "********** cfg-tracking **********"
python bv-bstctl.py cfg-tracking host:$host track_ingress_port_priority_group
python bv-bstctl.py cfg-tracking host:$host port:$port track_ingress_port_priority_group
echo "********** get-tracking **********"
python bv-bstctl.py get-tracking host:$host
python bv-bstctl.py get-tracking host:$host port:$port
echo "********** clr-statistics **********"
python bv-bstctl.py clr-statistics host:$host
python bv-bstctl.py clr-statistics host:$host port:$port
echo "********** clr-thresholds **********"
python bv-bstctl.py clr-thresholds host:$host
python bv-bstctl.py clr-thresholds host:$host port:$port
echo "********** cfg-thresholds **********"
python bv-bstctl.py get-thresholds host:$host include_ingress_port_priority_group include_ingress_port_service_pool include_ingress_service_pool include_egress_port_service_pool include_egress_service_pool
python bv-bstctl.py get-thresholds host:$host port:$port include_ingress_port_priority_group include_ingress_port_service_pool include_ingress_service_pool include_egress_port_service_pool include_egress_service_pool
echo "********** get-report **********"
python bv-bstctl.py get-report host:$host include_ingress_port_priority_group include_ingress_port_service_pool include_ingress_service_pool include_egress_port_service_pool include_egress_service_pool
python bv-bstctl.py get-report host:$host port:$port include_ingress_port_priority_group include_ingress_port_service_pool include_ingress_service_pool include_egress_port_service_pool include_egress_service_pool
echo "********** cfg-thresholds device **********"
python bv-bstctl.py cfg-thresholds host:$host device:10100
python bv-bstctl.py cfg-thresholds host:$host port:$port device:10100
echo "********** cfg-thresholds egress-cpu-queue **********"
python bv-bstctl.py cfg-thresholds host:$host egress-cpu-queue:5:20202
python bv-bstctl.py cfg-thresholds host:$host port:$port egress-cpu-queue:5:20202
echo "********** cfg-thresholds egress-rqe-queue **********"
python bv-bstctl.py cfg-thresholds host:$host egress-rqe-queue:6:30130
python bv-bstctl.py cfg-thresholds host:$host port:$port egress-rqe-queue:6:30130
echo "********** cfg-thresholds egress-port-service-pool **********"
python bv-bstctl.py cfg-thresholds host:$host egress-port-service-pool:"2":2:204556:30000:40000:5000
python bv-bstctl.py cfg-thresholds host:$host port:$port egress-port-service-pool:"2":2:204556:30000:40000:5000
echo "********** cfg-thresholds egress-service-pool **********"
python bv-bstctl.py cfg-thresholds host:$host egress-service-pool:2:30:40:50
python bv-bstctl.py cfg-thresholds host:$host port:$port egress-service-pool:2:30:40:50
echo "********** cfg-thresholds egress-uc-queue **********"
python bv-bstctl.py cfg-thresholds host:$host egress-uc-queue:5:20200
python bv-bstctl.py cfg-thresholds host:$host port:$port egress-uc-queue:5:20200
echo "********** cfg-thresholds egress-uc-queue-group **********"
python bv-bstctl.py cfg-thresholds host:$host egress-uc-queue-group:5:204
python bv-bstctl.py cfg-thresholds host:$host port:$port egress-uc-queue-group:5:204
echo "********** cfg-thresholds egress-mc-queue **********"
python bv-bstctl.py cfg-thresholds host:$host egress-mc-queue:5:204:10500
python bv-bstctl.py cfg-thresholds host:$host port:$port egress-mc-queue:5:204:10500
echo "********** cfg-thresholds ingress-port-priority-group **********"
python bv-bstctl.py cfg-thresholds host:$host ingress-port-priority-group:"5":2:20456:40404
python bv-bstctl.py cfg-thresholds host:$host port:$port ingress-port-priority-group:"5":2:20456:40404
echo "********** cfg-thresholds ingress-port-service-pool **********"
python bv-bstctl.py cfg-thresholds host:$host ingress-port-service-pool:"4":2:50505
python bv-bstctl.py cfg-thresholds host:$host port:$port ingress-port-service-pool:"4":2:50505
echo "********** cfg-thresholds ingress-service-pool **********"
python bv-bstctl.py cfg-thresholds host:$host ingress-service-pool:2:56783
python bv-bstctl.py cfg-thresholds host:$host port:$port ingress-service-pool:2:56783
#