Custom Search

SUBSCRIBE

SUBSCRIBE : 300 + Free Video Tutorials Programming (Python, golang, Julia), DevOps

Thursday, April 23, 2015

Install python neutronclient from github.com/Juniper and test OpenContrail Extensions

1)
#git clone https://github.com/Juniper/python-neutronclient.git -b contrail/icehouse

2)
#cd python-neutronclient
#sudo pip install tox
#tox


3)
#vim neutron1

#!/usr/bin/python
# PBR Generated from 'console_scripts'
import sys
from neutronclient.shell import main
if __name__ == "__main__":
    sys.exit(main()
)

4)
#chmod a+x neutron1

5)

#./neutron1 net-list
#./neutron1 ipam-list
#./neutron1 policy-list
#./neutron1 route-table-list


No comments:

Post a Comment