Custom Search

Sunday, August 30, 2015

contrail-vrouter-utils files


$ dpkg -L contrail-vrouter-utils

/.
/usr
/usr/bin
/usr/bin/dropstats
/usr/bin/mirror
/usr/bin/vrfstats
/usr/bin/rt
/usr/bin/flow
/usr/bin/vif
/usr/bin/nh
/usr/bin/mpls
/usr/bin/vxlan
/usr/share
/usr/share/doc
/usr/share/doc/contrail-vrouter-utils
/usr/share/doc/contrail-vrouter-utils/copyright
/usr/share/doc/contrail-vrouter-utils/changelog.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/rt.1.gz
/usr/share/man/man1/vif.1.gz
/usr/share/man/man1/flow.1.gz
/usr/share/man/man1/vxlan.1.gz
/usr/share/man/man1/vrfstats.1.gz
/usr/share/man/man1/nh.1.gz
/usr/share/man/man1/mirror.1.gz
/usr/share/man/man1/dropstats.1.gz
/usr/share/man/man1/mpls.1.gz

Tuesday, August 25, 2015

OpenStack nova get-vnc-console example


$ nova get-vnc-console eab98b2b-a527-4b01-bc40-566ae8ed69ec novnc
+-------+-----------------------------------------------------------------------------------------------+
| Type  | Url                                                                                           |
+-------+-----------------------------------------------------------------------------------------------+
| novnc | http://api.mycloudservices.com:6080/vnc_auto.html?token=a92856a5-d13d-4a19-a52b-b5537fbcb278 |
+-------+-----------------------------------------------------------------------------------------------+

* eab98b2b-a527-4b01-bc40-566ae8ed69ec <---- id="" span="" vm="">





Monday, August 24, 2015

Contrail Config Node Service Port Check


$sudo netstat -tuplen | grep -E "9100|9160|9110|2181|5672|8443|8082|5998"


crontab set password


$sudo crontab -e

#Set password
5 * * * * echo "saju:saju" | sudo chpasswd

* To run every 5 minute

Location of dkms vRouter kernel module


1)
$ locate vrouter.ko

/lib/modules/3.13.0-62-generic/updates/dkms/vrouter.ko

/var/lib/dkms/vrouter/2.1+4986+999644c/3.13.0-62-generic/x86_64/module/vrouter.ko

/var/lib/dkms/vrouter/2.1+4986+999644c/build/.vrouter.ko.cmd

/var/lib/dkms/vrouter/2.1+4986+999644c/build/vrouter.ko

2)
$ modinfo vrouter
 
filename:       /lib/modules/3.13.0-62-generic/updates/dkms/vrouter.ko
version:        1.0
license:        GPL
srcversion:     7CFF1F328307FC11BFF293D
depends:       
vermagic:       3.13.0-62-generic SMP mod_unload modversions
parm:           vr_flow_entries:int
parm:           vr_oflow_entries:int
parm:           vr_bridge_entries:int
parm:           vr_bridge_oentries:int
parm:           vrouter_dbg:Set 1 for pkt dumping and 0 to disable, default value is 0 (int)







Ubuntu Find version of running Kernel and List all Installed kernel

1)
Version of running Kernel
$ uname -r

3.13.0-62-generic

2)
List all Installed kernel
$ dpkg -l | grep  linux-image

ii  linux-image-3.13.0-45-generic        3.13.0-45.74                          amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-62-generic        3.13.0-62.102                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-virtual                  3.13.0.62.69                          amd64        This package will always depend on the latest minimal generic kernel image.




Tuesday, August 4, 2015

$sudo pip install $sudo apt-get install path of dist-packages


1)
Installed via #sudo apt-get install
/usr/lib/python2.7/dist-packages/

2)
Installed via #sudo pip install
/usr/local/lib/python2.7/dist-packages/