Professional Documents
Culture Documents
== perforce configuration ==
export P4CONFIG=p4.config
export P4PORT=p4proxy-lwl.f5net.com:1999
export P4USER=vjosyula
export P4DIFF="/usr/bin/diff -u"
p4 set P4CLIENT=vjosyula-firewall
# viewing workspaces
p4 workspaces -u vjosyula
# deleting workspaces
open p4 client and change options to unlocked
p4 set P4CLIENT=vjosyula-firewall
p4 client -d vjosyula-firewall
# workspace creation
mkdir vjosyula-firewall
cd vjosyula-firewall
p4 client -t MASTER-tmos-firewall-general
p4 sync
== build setup ==
schroot -c centos7.4a64
./build -setup latest
./build -prebuilt
./build -j 8 -t 8 -maxload 28 iso-user (building complete iso)
== compiling tmm ==
cd tmm/compile
schroot -c centos7.4a64
make -j 10 PLATFORM=vadc DEBUG_SYMBOLS=YES DISABLE_OPTIMIZATION=YES debug
make -j 10 PLATFORM=padc DEBUG_SYMBOLS=YES DISABLE_OPTIMIZATION=YES debug
binary file is available in
/home/vjosyula/dev-vjosyula-firewall/tmm/compile/obj_x86_64.debug/tmm-vadc.debug
== installing iso ==
tmsh install sys software image BIGIP-tmos-pem-cec-15.0.0-0.0.789.iso volume HD1.2 create-volume
tmsh show sys software status
grub_default -b HD1.2
== big ip details ==
tmsh show sys hardware
== gdb ==
copy gdb rpm to /shared/images in big ip
gdb rpm location -> /home/vjosyula/pem-cec/RPMS/x86_64/gdb-7.6.1-94.el7.centos.x86_64.rpm
install gdb rpm using -> rpm -ivh --force gdb-7.6.1-94.el7.centos.x86_64.rpm
gdb --args tmm-vadc.debug -T 1 --tmid 0 --npus 1 --platform Z100 -m -s 2472
gdb --args tmm-padc.debug -T 2 --tmid 0 --npus 2 --platform C119 --split-planes -m -s 43692
(or)
schroot -c ionian64
copy libpython2.6.so and python2.6 (lib and lib64) from seadev to bigip instance on /shared/images
export LD_LIBRARY_PATH=/usr/lib/:/usr/lib64/:/shared/images/
export PYTHONHOME=/usr/:/shared/images/
== interface stats ==
tmsh show net interface
tmsh reset-stats net interface
== disabling unittests ==
export RUNTESTS=NO
== review board ==
https://docs.f5net.com/pages/viewpage.action?pageId=265598937
/build/cm/bin/rb2 create <changelist-no>
/build/cm/bin/rb2 edit --update-diff <changelist-no>
/build/cm/bin/rb2 submit <changelist-no>
https://docs.f5net.com/display/PDCSG/CSG-PD-General-Training
== EHF ==
step 1) /opt/pdtools/bin/autofix -v 15.0.0 -b <bz-id> <CL>
step 2) trigger build from cminfo https://build.f5net.com/cm/hf.cgi
step 3) promote the build