Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

separated enterprise code from orchestrator for sharing #550

Open
wants to merge 226 commits into
base: mitaka_21st_march_base
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
28839c6
Add support to build oc-vyos agent deb package
ashutosh-mishra Jun 28, 2016
0ebad16
Removed deb-packages folder
ashutosh-mishra Jun 28, 2016
30eb40c
Added missing bin/ folder
aijaz-baig Jun 29, 2016
0181b43
Image Builder
aijaz-baig Jun 29, 2016
008bf9e
VyOS Image Builder
aijaz-baig Jun 29, 2016
a47ae54
VyOS Image Builder
aijaz-baig Jun 29, 2016
2672272
VyOS ImageBuilder
aijaz-baig Jun 29, 2016
21b7556
basic pep8 fix
dpaks Jun 30, 2016
6ee2628
level 1 aggressive pep8 fix
dpaks Jun 30, 2016
1a39fa5
level 2 aggressive pep8 fix
dpaks Jun 30, 2016
f9b106e
removed duplicate files; renamed oc_fw_module
dpaks Jun 30, 2016
76af066
renamed vyos-oc to vyos
dpaks Jun 30, 2016
a5e6257
renamed oc-vyos dir and dependencies to vyos
dpaks Jun 30, 2016
279a896
renamed oc-pbr and dependencies to vyos
dpaks Jun 30, 2016
de35fe2
renamed oc-pbr inside src to vyos-pbr, renamed outer vyos to agent
dpaks Jul 1, 2016
60b8da5
imports sorted
dpaks Jul 1, 2016
3c83cd7
removed unused variables and imports
dpaks Jul 1, 2016
2188b1e
added headers
dpaks Jul 1, 2016
502a0c7
remaining OC references
dpaks Jul 1, 2016
0ebbf31
bug fix
dpaks Jul 1, 2016
f51c238
enhancements
dpaks Jul 1, 2016
07ec21a
enhancements
dpaks Jul 1, 2016
56dce7c
dib fixes
dpaks Jul 1, 2016
cd1da97
json to jsonutils
dpaks Jul 4, 2016
c92b093
removed HA references; fixed all remainder flake8 errors
dpaks Jul 4, 2016
daa466b
proper import of jsonutils lib; dib changes for new packages
dpaks Jul 5, 2016
455e8e2
jsonutils workaround
dpaks Jul 7, 2016
c52c93a
remaining oc refs removed
dpaks Jul 7, 2016
ae8975b
review comments addressed except for class headers
dpaks Jul 11, 2016
077fc5c
review comments addressed except for class headers
dpaks Jul 11, 2016
920370e
Sometimes PBR addition doesn't work properly when interfaces don't ge…
dpaks Jul 12, 2016
293a366
indentation fix
dpaks Jul 12, 2016
78b28b8
Re-organized the lib/nfp and added comments
rajendramachani Jul 12, 2016
d9788d1
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
rajendramachani Jul 13, 2016
7af605c
review comments addressed except for class headers
dpaks Jul 13, 2016
b4b1254
reverting accidental changes to files
dpaks Jul 13, 2016
74e7ab8
code restructure
dpaks Jul 13, 2016
18fd19f
code reorg in base driver
dpaks Jul 13, 2016
3673ace
refinements
dpaks Jul 13, 2016
36e5108
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
rajendramachani Jul 13, 2016
ac6a3b2
corrected changelog
dpaks Jul 13, 2016
8d4dd98
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
rajendramachani Jul 13, 2016
ec175d5
merged 13 july daily branch
dpaks Jul 13, 2016
828d72e
added fix for ASAv Firewall moving error state
sdharav Jul 13, 2016
0b7db21
Merge pull request #500 from oneconvergence/mitaka_nfp_13_july_2016_a…
njagadish Jul 13, 2016
db374d1
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
rajendramachani Jul 13, 2016
aa426e9
Fixed diskimage directory path
rajendramachani Jul 13, 2016
4801128
Addressing review comments for LB agent and drivers code submission
pkharat Jul 14, 2016
798e6a9
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
dpaks Jul 14, 2016
ff93f74
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
rajendramachani Jul 14, 2016
f90b7b1
Merge branch 'good_to_have_devstack_changes' of https://github.com/on…
rajendramachani Jul 14, 2016
2ecc166
Removed enterprise code from devstack
rajendramachani Jul 14, 2016
54d8b43
merged submitted code
dpaks Jul 14, 2016
66c8b6e
class comments included inside the class
dpaks Jul 14, 2016
e53a8c4
Addressed review comments
rajendramachani Jul 14, 2016
4fcb351
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
dpaks Jul 14, 2016
7ed77d2
Merge branch 'lb-patch-submission-comments-addressed' of https://gith…
pkharat Jul 14, 2016
898ebd5
Merge pull request #498 from oneconvergence/vyos_vm_agent-standardize…
njagadish Jul 14, 2016
b62b6bd
Merge pull request #503 from oneconvergence/haproxy-pbr-fix
njagadish Jul 14, 2016
45c3c19
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
rajendramachani Jul 14, 2016
ecfdd28
Merge branch 'good_to_have_devstack_changes' of https://github.com/on…
rajendramachani Jul 14, 2016
6152440
Merge pull request #496 from oneconvergence/good_to_have_devstack_cha…
njagadish Jul 14, 2016
ee0ca69
Addressed review comments
rajendramachani Jul 14, 2016
b53a75d
Fixed base mode installation
rajendramachani Jul 14, 2016
cae98fc
added nfp svc agent unit test
dpaks Jul 14, 2016
917a38d
fix for authentication
sdharav Jul 14, 2016
61d98d5
Addressed review comment
rajendramachani Jul 14, 2016
ff343f6
Fixed ENABLE_NFP=False and Corrected Readme(s)
rajendramachani Jul 14, 2016
79cab00
Merge pull request #505 from oneconvergence/mitaka_nfp_13_july_2016_a…
njagadish Jul 14, 2016
e7b701b
Synced OC git repo LB agent and driver code with gerrit LB agent and …
pkharat Jul 15, 2016
224c060
added nfp service driver and agent
dpaks Jul 15, 2016
7c39552
Fixed hard coded /opt/stack/ path
rajendramachani Jul 15, 2016
65dd419
Corrected syntax error
DhuldevValekar Jul 15, 2016
284daba
Merge branch 'devstack_split_enterprise' of https://github.com/onecon…
DhuldevValekar Jul 15, 2016
ca4685b
Corrected log file path
DhuldevValekar Jul 15, 2016
5c0ddd0
Synced gerrit LB unit test code with mitaka_21_march_base branch
pkharat Jul 15, 2016
987f398
Merge pull request #507 from oneconvergence/devstack_split_enterprise
njagadish Jul 15, 2016
7113fa1
removed generailzed REST API from base driver
dpaks Jul 15, 2016
41f9309
removed generailzed REST API from base driver
dpaks Jul 15, 2016
ab30aa8
removed generailzed REST API from base driver
dpaks Jul 15, 2016
f174b86
removed generailzed REST API from base driver
dpaks Jul 15, 2016
d2e8227
fixed all the testcases and pep8 issues
dpaks Jul 15, 2016
542f69f
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
dpaks Jul 15, 2016
f1192ef
removed assertRaises test cases
dpaks Jul 15, 2016
6d4159e
addressed the pep8 and code coverage
sdharav Jul 15, 2016
2f3ab95
addressed pep8 isses
sdharav Jul 15, 2016
9b8ad2c
Addressed review comments
pkharat Jul 16, 2016
08d75c5
Addressed review comments given by Jagadish
pkharat Jul 16, 2016
dd989d2
addressed review comments
sdharav Jul 16, 2016
22a0283
addressed pep8 isses
sdharav Jul 16, 2016
c7d9866
added hm test cases, addressed review comments
dpaks Jul 16, 2016
94261e2
fixed pep8
dpaks Jul 16, 2016
9935dfa
Merge pull request #510 from oneconvergence/finessing-configurator-su…
njagadish Jul 16, 2016
c4e7d1f
Merge pull request #506 from oneconvergence/finessing-loadbalancer-su…
njagadish Jul 16, 2016
e122372
Merge pull request #511 from oneconvergence/mitaka-sync-gerrit-lb-uni…
njagadish Jul 16, 2016
8e91b91
Merge pull request #509 from oneconvergence/finessing-configurator-su…
njagadish Jul 16, 2016
cd029b5
Relocated configurator and config_orchestrator to gbpservice/contrib/…
rajendramachani Jul 17, 2016
43620f0
Merge pull request #512 from oneconvergence/configurator_and_config_o…
njagadish Jul 17, 2016
03d6cf9
Adding back DRIVER_NAME which is used in LB plugin
pkharat Jul 17, 2016
d9032a7
Merge pull request #513 from oneconvergence/mitaka_nfp_13_july_2016_l…
njagadish Jul 17, 2016
5ec7e74
Since the patch ain't submitted, we need to point to our repo. Once s…
dpaks Jul 18, 2016
68ecf0b
Since the patch ain't submitted, we need to point to our repo. Once s…
dpaks Jul 18, 2016
8f0ff18
Merge pull request #514 from oneconvergence/docker_oc_repo
njagadish Jul 18, 2016
40afd87
vyos image creation script picked image from a wrong location. Now fixed
dpaks Jul 18, 2016
380f48d
Merge pull request #515 from oneconvergence/vyos-dib-fix
njagadish Jul 18, 2016
8e05ba2
enterprise code seperation from advance model code and pep8 error fix.
Rahul2702 Jul 18, 2016
0563ef7
Ran runtest.sh and fixed flake8 errors.
Rahul2702 Jul 18, 2016
89faefc
import error fix
Rahul2702 Jul 18, 2016
25d314f
Merge pull request #516 from oneconvergence/config_orchestrator_with_…
njagadish Jul 18, 2016
d44ab6a
1) Fixed pep8 warnings arised because of configurator dir restructure
pkharat Jul 18, 2016
8824094
Merge pull request #517 from oneconvergence/mitaka_nfp_13_july_2016_s…
njagadish Jul 18, 2016
7576018
vpn changes
sdharav Jul 18, 2016
8c12968
fixed pep8 issues
sdharav Jul 18, 2016
8abb059
fixed pep8
dpaks Jul 18, 2016
76c5e32
failure in log forward API won't block chain creation
dpaks Jul 18, 2016
c01df37
addressed the review comments
sdharav Jul 18, 2016
ec96a97
Merge pull request #519 from oneconvergence/mitaka_nfp_13_july_2016_v…
njagadish Jul 19, 2016
4f5b8ec
merged into 13th july branch
dpaks Jul 19, 2016
604a0b0
merged into 13th july branch
dpaks Jul 19, 2016
8daed78
Merge pull request #520 from oneconvergence/log-forward-ignore
njagadish Jul 19, 2016
7cc6627
changed the fip retrival api
sdharav Jul 19, 2016
1edae16
Fixed enterprise mode shift
rajendramachani Jul 19, 2016
89ebc3f
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
rajendramachani Jul 19, 2016
081c8d8
Enabled mode shift(uncommented)
rajendramachani Jul 19, 2016
8605197
Fixed configure nova
rajendramachani Jul 19, 2016
6aa98e5
Merge pull request #521 from oneconvergence/mitaka_nfp_13_july_2016_v…
njagadish Jul 19, 2016
6efa37f
pep8 fix
dpaks Jul 19, 2016
9ff7a38
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
dpaks Jul 19, 2016
5ea0b47
Addressed few review comments
rajendramachani Jul 20, 2016
16c067d
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
rajendramachani Jul 20, 2016
621ed88
fixed pep8 issue in vpn driver
sdharav Jul 20, 2016
6953eb0
l3policy-update fix
DhuldevValekar Jul 20, 2016
e686136
fixed testcase failure and pep8 isses
sdharav Jul 20, 2016
d2a7ee1
unit test and import related commets fix.
Rahul2702 Jul 20, 2016
11ce389
fixed pep8 issued
sdharav Jul 20, 2016
88d282d
Merge pull request #525 from oneconvergence/mitaka_nfp_13_july_2016__…
njagadish Jul 20, 2016
c3c505e
run_tests will read all unit test files under gbservice
dpaks Jul 20, 2016
dc9ab79
Merge pull request #526 from oneconvergence/config_orch_unit_test_pep…
njagadish Jul 20, 2016
29f23bf
Merge pull request #527 from oneconvergence/test-coverage-change
njagadish Jul 20, 2016
63e1d08
fixed unit test
dpaks Jul 20, 2016
a215060
Merge pull request #524 from oneconvergence/l3-policy-update-fix
njagadish Jul 20, 2016
19a5897
Merge pull request #528 from oneconvergence/configurator-submission-fix
njagadish Jul 20, 2016
bc84e8a
Removed service agents dependancy in devstack
rajendramachani Jul 20, 2016
4ccfa36
Updated Readme(s) and local.conf
rajendramachani Jul 20, 2016
b9a8c5a
code generalization of base and reference configurator
sdharav Jul 20, 2016
455ae0c
Merge pull request #530 from oneconvergence/mitaka_nfp_13_july_2016_c…
njagadish Jul 20, 2016
dbdd0ad
Addressed review comments
rajendramachani Jul 20, 2016
7b23ff1
Merge pull request #529 from oneconvergence/removed_service_agents_de…
njagadish Jul 20, 2016
1608277
code generalization for advanced mode controller
sdharav Jul 20, 2016
5b37f4a
added configurator decider
sdharav Jul 20, 2016
c2cbb70
Merge pull request #531 from oneconvergence/mitaka_nfp_13_july_2016_a…
njagadish Jul 20, 2016
b27fa6a
Fixed diskimage_create script
rajendramachani Jul 20, 2016
f2529e7
Merge pull request #532 from oneconvergence/diskimage_create_fix
njagadish Jul 20, 2016
f9a08d7
addressed pep8 isses
sdharav Jul 20, 2016
aacc40c
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
rajendramachani Jul 21, 2016
fd48fd1
fixed testcase file
sdharav Jul 21, 2016
53ee7d7
Modified to get the enterprise source from our repo
rajendramachani Jul 21, 2016
5d87f76
1. Moved configurator and config orch bin and ini files to contrib wh…
dpaks Jul 21, 2016
d7abe6e
changed base mode testfile directory
sdharav Jul 21, 2016
e76a74f
Added README for service image build and upload
rajendramachani Jul 21, 2016
0cdca1a
Addressed review comments
rajendramachani Jul 21, 2016
b4e0a61
Fixed the script to restart the processes, and adding README
rajendramachani Jul 21, 2016
c0ce427
fixed testcase errors
sdharav Jul 21, 2016
1d85609
Renamed mode_shift_enterprise.sh to mode_shift.sh
rajendramachani Jul 21, 2016
2396e50
changed the constants and imports
Rahul2702 Jul 21, 2016
9af95a2
Synced with the submitted source
rajendramachani Jul 21, 2016
dfc15a8
Merge pull request #533 from oneconvergence/build_image_readme
njagadish Jul 21, 2016
dd7847d
Merge pull request #535 from oneconvergence/gate_tests_sync
njagadish Jul 21, 2016
67b5751
addressed review comments
dpaks Jul 21, 2016
c867b2e
Merge pull request #534 from oneconvergence/bin-sps-path-change
njagadish Jul 21, 2016
3b0bd93
Fixed configurator copy to docker
rajendramachani Jul 21, 2016
a26a41c
reverted the commits
sdharav Jul 21, 2016
3156caf
Merge pull request #536 from oneconvergence/mitaka_nfp_13_july_2016_p…
njagadish Jul 21, 2016
696034d
added packes in test_requirements
sdharav Jul 21, 2016
f207cde
Merge pull request #537 from oneconvergence/mitaka_nfp_13_july_2016_a…
njagadish Jul 21, 2016
ce70792
fixed pep8 issues
sdharav Jul 21, 2016
9dbafff
Adding the DB schema for enterprise into ne version file. Updated HEAD
rajendramachani Jul 21, 2016
b3b788c
Added update db model
rajendramachani Jul 21, 2016
2e1ddd5
fixed configurator unit test file
dpaks Jul 22, 2016
e1a3030
Merge pull request #540 from oneconvergence/test-configurator-fix
njagadish Jul 22, 2016
92f46df
Restarts standard devstack processes
dpaks Jul 22, 2016
a8c5a0a
Restarts standard devstack processes
dpaks Jul 22, 2016
3d2985a
floating ip fix in NS
AkashDeepSrivastava Jul 22, 2016
2997fa4
review comment fix
AkashDeepSrivastava Jul 22, 2016
1a75719
removed hard coded revision number
mak-454 Jul 22, 2016
69613f6
automating db migration for enterprise mode
dpaks Jul 22, 2016
35e469e
fixed pep8 issues
sdharav Jul 22, 2016
f3fda69
Merge pull request #545 from oneconvergence/mitaka_nfp_13_july_2016_c…
njagadish Jul 22, 2016
cdacf82
removed the unnecessary variables
dpaks Jul 23, 2016
8e720e0
renamed nfp_enterprise_db-temp.py to nfp_enterprise_db.py
dpaks Jul 23, 2016
f2a013a
Merge pull request #544 from oneconvergence/enterprise_db_fix-dpak
njagadish Jul 23, 2016
2ed1c3c
Merge pull request #543 from oneconvergence/enterprise_install_fix-db…
njagadish Jul 23, 2016
9eaaec7
Merge pull request #541 from oneconvergence/enterprise_install_fix-dpak
njagadish Jul 23, 2016
eb09f57
Merge pull request #522 from oneconvergence/enterprise_install_fix
njagadish Jul 23, 2016
86f5e3f
Merge pull request #538 from oneconvergence/enterprise_db_fix
njagadish Jul 23, 2016
e4ae760
bug fix
dpaks Jul 23, 2016
ff05748
Merge pull request #547 from oneconvergence/db-bug-fix
njagadish Jul 23, 2016
e18b49c
fixed creation of pt for lb vip after heat stack is complete
mak-454 Jul 23, 2016
978079a
added provider auth_token for creating pt
AkashDeepSrivastava Jul 23, 2016
f6fd658
fixed unittest
sdharav Jul 23, 2016
054a5b3
added fix for vpn
sdharav Jul 23, 2016
9fb45e3
Fix for haproxy image build
rajendramachani Jul 24, 2016
80933ad
separated enterprise code from orchestrator for sharing
mak-454 Jul 24, 2016
b6bac64
Fix in apache2 configuration for image build
rajendramachani Jul 25, 2016
fffdc3f
enhanced and fixed db migration
dpaks Jul 25, 2016
4db616f
few changes
AkashDeepSrivastava Jul 25, 2016
1dd03a4
Merge pull request #549 from oneconvergence/mitaka_nfp_13_july_2016_f…
njagadish Jul 25, 2016
664ef6f
Merge pull request #552 from oneconvergence/db-mig-fix
njagadish Jul 25, 2016
84de5c6
Merge pull request #551 from oneconvergence/build_image_fix
njagadish Jul 25, 2016
f91fe2b
Added Advanced mode gate tests
DhuldevValekar Jul 25, 2016
05ff4a4
Docker build uses cached containers which can potentially lead to sta…
dpaks Jul 25, 2016
b923aef
Merge pull request #542 from oneconvergence/mitaka_nfp_13_july_2016_N…
njagadish Jul 25, 2016
3898e43
optimized docker cache logic
dpaks Jul 25, 2016
3064752
cache buster
dpaks Jul 25, 2016
0f39171
fixed bugs and tested,modified CREATE_NETWORK_FUNCTION_DEVICE to be s…
AkashDeepSrivastava Jul 25, 2016
63b5eb4
Added Advanced mode gate tests
DhuldevValekar Jul 26, 2016
222c9f1
Merge pull request #554 from oneconvergence/docker-cache-cleanup
njagadish Jul 26, 2016
3a0b689
Merge pull request #553 from oneconvergence/advanced_mode_gate_tests_…
njagadish Jul 26, 2016
46893dd
Removed last_built_image_path reference
rajendramachani Jul 26, 2016
9cbe05e
corrected creating multiple service chain with same node parallely.pe…
AkashDeepSrivastava Jul 26, 2016
66a271a
Merge pull request #555 from oneconvergence/vyos_build_image_fix
njagadish Jul 26, 2016
a9bc711
fixed bug for plug_interface count exceeding max value
AkashDeepSrivastava Jul 26, 2016
5d15cbb
Merge branch 'mitaka_nfp_13_july_2016' of https://github.com/oneconve…
AkashDeepSrivastava Jul 26, 2016
f2cde43
corrected a comment on target variable
mak-454 Jul 27, 2016
7da395a
Merge branch 'mitaka_21st_march_base_sharing_separate' of https://git…
AkashDeepSrivastava Jul 28, 2016
f9a17c4
merge changes of 21st march to it
AkashDeepSrivastava Jul 28, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .testr.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./gbpservice/neutron/tests/unit} $LISTOPT $IDOPTION
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./gbpservice} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list
13 changes: 10 additions & 3 deletions devstack/README-NFP-Advanced-Mode
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,22 @@ Fresh Installation Steps:

(3) Configure local.conf
# Modify NFP_DEVSTACK_MODE to 'advanced'
# Modify the GBPSERVICE_BRANCH to point to the top patch in devstack changeset refs/changes/05/335405
# Configure following external network details,
EXT_NET_GATEWAY=
EXT_NET_ALLOCATION_POOL_START=
EXT_NET_ALLOCATION_POOL_END=
EXT_NET_CIDR=
# Configure the following image paths,
# Configure the Configurator VM image path(optional),
# If configured, install step uploads the specified image
# If not configured, install step will build a new one and upload it
ConfiguratorQcow2Image=
# Configure the Service VM image paths(optional),
# If configured, install step uploads the specified images
# If not configured, install step ignores uploading these service images
VyosQcow2Image=
Haproxy_LBaasV2_Qcow2Image=
HaproxyQcow2Image=
# Configure PUBLIC_INTERFACE with the public interface name
# Modify the GBPSERVICE_BRANCH to point to the top patch in devstack changeset refs/changes/05/335405

(4) Install devstack.
# ./stack.sh
Expand Down
92 changes: 51 additions & 41 deletions devstack/Readme-NFP-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,48 +17,25 @@ Fresh Installation Steps:

* Advanced Mode Configuration:
# Devstack installation in enterprise mode
Example: [[ $ENABLE_NFP = True ]] && NFP_DEVSTACK_MODE=advanced
# Change the value of GBPSERVICE_BRANCH to use different branch(in OC repo)/patch(in Openstack repo)
# External network details
EXT_NET_GATEWAY=
EXT_NET_ALLOCATION_POOL_START=
EXT_NET_ALLOCATION_POOL_END=
EXT_NET_CIDR=
# VyOS image path
* Available only at 192.168.100.135:/home/stack/service_images/vyos.qcow2
Example: VyosQcow2Image=/home/stack/images/vyos.qcow2
# Haproxy LBaaS V2 image path
Haproxy_LBaasV2_Qcow2Image=
# Public interface
Example: PUBLIC_INTERFACE=eth1

* Enterprise Mode Configuration:
# Devstack installation in enterprise mode
Example: [[ $ENABLE_NFP = True ]] && NFP_DEVSTACK_MODE=enterprise
# Change the value of GBPSERVICE_BRANCH to use different branch
NFP_DEVSTACK_MODE=advanced
# External network details
EXT_NET_GATEWAY=
EXT_NET_ALLOCATION_POOL_START=
EXT_NET_ALLOCATION_POOL_END=
EXT_NET_CIDR=
# VyOS image path
* Available only at 192.168.100.135:/home/stack/service_images/vyos.qcow2
Example: VyosQcow2Image=/home/stack/images/vyos.qcow2
# Haproxy LBaaS V2 image path
Haproxy_LBaasV2_Qcow2Image=
# Public interface
Example: PUBLIC_INTERFACE=eth1
# Visibility GIT Repository Credentials
GIT_ACCESS_USERNAME=
GIT_ACCESS_PASSWORD=
# Docker image path
* Available only at 192.168.100.50. Change and configure for different nework
DOCKER_IMAGES_URL=http://192.168.100.50/docker_images/
# ASAv image path
AsavQcow2Image=
# PaloAlto image path
PaloAltoQcow2Image=

EXT_NET_GATEWAY=
EXT_NET_ALLOCATION_POOL_START=
EXT_NET_ALLOCATION_POOL_END=
EXT_NET_CIDR=
# Configurator VM image path, its optional
# If configured, install step uploads the specified image
# If not configured, install step will build a new one and upload it
ConfiguratorQcow2Image=
# Service VM image paths, they are optional
# One can build service images referring to the section "Build service images".
# If configured, install step uploads the specified images
# If not configured, install step ignores uploading these service images.
VyosQcow2Image=
HaproxyQcow2Image=
# Public interface name
PUBLIC_INTERFACE=
# Change the value of GBPSERVICE_BRANCH to use different branch(in OC repo)/patch(in Openstack repo)

(4) Run stack.sh from the /home/stack/devstack/ directory
# ./stack.sh
Expand All @@ -77,3 +54,36 @@ Re-installation Steps:

(2) Follow the fresh installation steps


Build service images:
====================

Steps to get the scripts to build images
# git clone -b mitaka_21st_march_base --single-branch https://github.com/oneconvergence/group-based-policy.git /home/stack/gbp_mitaka_21st_march_base

Steps to setup the diskimage build
# sudo -H -E pip install -r /home/stack/gbp_mitaka_21st_march_base/gbpservice/tests/contrib/diskimage-create/requirements.txt
# sudo apt-get install -y --force-yes qemu-utils
# sudo apt-get install -y --force-yes dpkg-dev

Steps to build VyOS service image:
# cd /home/stack/gbp_mitaka_21st_march_base/gbpservice/tests/contrib/diskimage-create/vyos/
# sudo python vyos_image_create.py vyos_conf.json
Image location:
# /home/stack/gbp_mitaka_21st_march_base/gbpservice/tests/contrib/diskimage-create/vyos/output/vyos.qcow2

Steps to build Haproxy service image:
# cd /home/stack/gbp_mitaka_21st_march_base/gbpservice/tests/contrib/diskimage-create/
# sudo python build_image.py haproxy_conf.json
Image location:
# /home/stack/gbp_mitaka_21st_march_base/gbpservice/tests/contrib/diskimage-create/output/haproxy.qcow2


Upload service images:
=====================

Steps to upload VyOS service image:
# glance image-create --name vyos --disk-format qcow2 --container-format bare --visibility public --file /home/stack/gbp_mitaka_21st_march_base/gbpservice/tests/contrib/diskimage-create/vyos/output/vyos.qcow2

Steps to upload Haproxy service image:
# glance image-create --name haproxy --disk-format qcow2 --container-format bare --visibility public --file /home/stack/gbp_mitaka_21st_march_base/gbpservice/tests/contrib/diskimage-create/output/haproxy.qcow2
Loading