Browse Source

Optimize the link address for fetching git code

Use https instead of http to ensure the safety without containing our
account/password information

Change-Id: I1f6b32a5323571f584efd194e0bd404bd6758af5
changes/56/447756/3
zhangyanxian 5 years ago
parent
commit
1aedd827c4
  1. 6
      devstack/README.rst
  2. 4
      devstack/computenode-local.conf.sample
  3. 4
      devstack/db-local.conf.sample
  4. 6
      devstack/local.conf.sample
  5. 4
      devstack/vtep-local.conf.sample
  6. 14
      doc/source/testing.rst

6
devstack/README.rst

@ -4,15 +4,15 @@
1. Download devstack and networking-ovn::
git clone http://git.openstack.org/openstack-dev/devstack.git
git clone http://git.openstack.org/openstack/networking-ovn.git
git clone https://git.openstack.org/openstack-dev/devstack.git
git clone https://git.openstack.org/openstack/networking-ovn.git
2. Add networking-ovn to devstack. The minimal set of critical local.conf
additions are the following::
cd devstack
cat << EOF >> local.conf
> enable_plugin networking-ovn http://git.openstack.org/openstack/networking-ovn
> enable_plugin networking-ovn https://git.openstack.org/openstack/networking-ovn
> enable_service ovn
> EOF

4
devstack/computenode-local.conf.sample

@ -20,10 +20,10 @@ ADMIN_PASSWORD=password
# The DevStack plugin defaults to using the ovn branch from the official ovs
# repo. You can optionally use a different one. For example, you may want to
# use the latest patches in blp's ovn branch:
#OVN_REPO=http://github.com/blp/ovs-reviews.git
#OVN_REPO=https://github.com/blp/ovs-reviews.git
#OVN_BRANCH=ovn
enable_plugin networking-ovn http://git.openstack.org/openstack/networking-ovn
enable_plugin networking-ovn https://git.openstack.org/openstack/networking-ovn
disable_all_services
enable_service n-cpu

4
devstack/db-local.conf.sample

@ -19,10 +19,10 @@ ADMIN_PASSWORD=password
# The DevStack plugin defaults to using the ovn branch from the official ovs
# repo. You can optionally use a different one. For example, you may want to
# use the latest patches in blp's ovn branch:
#OVN_REPO=http://github.com/blp/ovs-reviews.git
#OVN_REPO=https://github.com/blp/ovs-reviews.git
#OVN_BRANCH=ovn
enable_plugin networking-ovn http://git.openstack.org/openstack/networking-ovn
enable_plugin networking-ovn https://git.openstack.org/openstack/networking-ovn
disable_all_services
enable_service ovn-northd

6
devstack/local.conf.sample

@ -19,10 +19,10 @@ ADMIN_PASSWORD=password
# The DevStack plugin defaults to using the ovn branch from the official ovs
# repo. You can optionally use a different one. For example, you may want to
# use the latest patches in blp's ovn branch:
#OVN_REPO=http://github.com/blp/ovs-reviews.git
#OVN_REPO=https://github.com/blp/ovs-reviews.git
#OVN_BRANCH=ovn
enable_plugin networking-ovn http://git.openstack.org/openstack/networking-ovn
enable_plugin networking-ovn https://git.openstack.org/openstack/networking-ovn
enable_service ovn-northd
enable_service ovn-controller
@ -59,7 +59,7 @@ disable_service q-meta
#OVN_BUILD_MODULES=False
# Enable QoS
#enable_plugin neutron http://git.openstack.org/openstack/neutron
#enable_plugin neutron https://git.openstack.org/openstack/neutron
#enable_service q-qos
# Skydive

4
devstack/vtep-local.conf.sample

@ -19,10 +19,10 @@ ADMIN_PASSWORD=password
# The DevStack plugin defaults to using the ovn branch from the official ovs
# repo. You can optionally use a different one. For example, you may want to
# use the latest patches in blp's ovn branch:
#OVN_REPO=http://github.com/blp/ovs-reviews.git
#OVN_REPO=https://github.com/blp/ovs-reviews.git
#OVN_BRANCH=ovn
enable_plugin networking-ovn http://git.openstack.org/openstack/networking-ovn
enable_plugin networking-ovn https://git.openstack.org/openstack/networking-ovn
disable_all_services
enable_service ovn-controller-vtep

14
doc/source/testing.rst

@ -20,8 +20,8 @@ Create a user and grant it sudo access. Install git.
::
$ git clone http://git.openstack.org/openstack-dev/devstack.git
$ git clone http://git.openstack.org/openstack/networking-ovn.git
$ git clone https://git.openstack.org/openstack-dev/devstack.git
$ git clone https://git.openstack.org/openstack/networking-ovn.git
3. Configure DevStack to use networking-ovn.
@ -394,8 +394,8 @@ Once the VM is setup, create a user with sudo access and install git.
::
$ git clone http://git.openstack.org/openstack-dev/devstack.git
$ git clone http://git.openstack.org/openstack/networking-ovn.git
$ git clone https://git.openstack.org/openstack-dev/devstack.git
$ git clone https://git.openstack.org/openstack/networking-ovn.git
networking-ovn comes with another sample configuration file that can be used
for this::
@ -590,9 +590,9 @@ Next, get networking_ovn, neutron and devstack.
::
$ git clone http://git.openstack.org/openstack/networking-ovn.git
$ git clone http://git.openstack.org/openstack/neutron.git
$ git clone http://git.openstack.org/openstack-dev/devstack.git
$ git clone https://git.openstack.org/openstack/networking-ovn.git
$ git clone https://git.openstack.org/openstack/neutron.git
$ git clone https://git.openstack.org/openstack-dev/devstack.git
Then execute the script to prepare the environment.

Loading…
Cancel
Save