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

pull #1

Open
wants to merge 138 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
6124ba9
Merge branch 'release/v0.4.0' into develop
Nov 1, 2016
55ef456
Update status.html (#107)
joapstra Nov 1, 2016
4519e7b
Updated RTD badge
bobbywatson3 Nov 2, 2016
a8893f3
Converted coveralls to use public repo
bobbywatson3 Nov 2, 2016
70dfa1d
Delete .coveralls.yml
bobbywatson3 Nov 2, 2016
e8e2f81
Run coveralls after successful travis-ci test build
bobbywatson3 Nov 2, 2016
99848f2
Removed pytest travis env
bobbywatson3 Nov 2, 2016
4f483fe
Updated README to point to new RTD
bobbywatson3 Nov 2, 2016
beb4519
Upgrade travis packages before build
bobbywatson3 Nov 2, 2016
2867229
Added pytest version to travis.yml
bobbywatson3 Nov 2, 2016
759dfac
Removed "after_success" from travis.yml
bobbywatson3 Nov 2, 2016
8470e51
Run pytest and coveralls after all tox tests
bobbywatson3 Nov 2, 2016
dedcad1
Removed coveralls
bobbywatson3 Nov 2, 2016
8650302
Merge branch 'hotfix/download_link' into develop
Nov 18, 2016
c97994f
Merge branch 'hotfix/pep8_fix' into develop
Nov 18, 2016
2bf2496
Migrated Vagrant Box to ubuntu/trusty64 and changed DHCPD to use defa…
bobbywatson3 Nov 21, 2016
3a65b58
minor README corrections (#115)
ebeahan Nov 22, 2016
cbe4043
ztp script updates
Nov 23, 2016
7407245
update etc/profiles/default to be symlink
Nov 23, 2016
d92e074
update to example gateway ip-addr
Nov 23, 2016
b17b96f
Update ztp-cumulus.sh
bobbywatson3 Nov 28, 2016
c4854fa
Incorporate 0.5.0 changes from develop to master (#119)
bobbywatson3 Nov 29, 2016
e8e312b
Updated Vagrantfile to use Ubuntu Xenial (#120)
bobbywatson3 Nov 30, 2016
c418f9f
Feature/updates bugfixes (#121)
Nov 30, 2016
04c4cec
Feature/setup dhcp post install (#124)
Dec 1, 2016
12d35b8
files to support bootstrap of ubuntu (#125)
Dec 4, 2016
1d05053
Workaround EOS issue with bootfile-name, move tftp-server-name to NXO…
acarpi Dec 15, 2016
263f59f
set version to 0.6.0
Dec 15, 2016
25ced9a
Manual merge of changes from master
Dec 15, 2016
66d02ee
Fixed bug where celeryd service could not be found when installing
Dec 15, 2016
f934492
added vagrant support back to interfaces config
Dec 15, 2016
70c812f
Merge pull request #138 from Apstra/release/0.6.0
bobbywatson3 Dec 16, 2016
8c55d71
Added vagrant var that was missing
Dec 19, 2016
157f7e4
Merge pull request #140 from Apstra/fix_missing_vagrant_var
bobbywatson3 Dec 19, 2016
3eb230d
Added port 80 to nginx config, and removed default nginx site.
Dec 19, 2016
5530737
Merge branch 'master' into listen_on_port_80
bobbywatson3 Dec 19, 2016
1d635f6
Fixed web routing issue for dhcp lease flush
Dec 22, 2016
d524592
Merge pull request #141 from Apstra/listen_on_port_80
bobbywatson3 Dec 22, 2016
d71d925
Initial untested draft
Jan 12, 2017
3ce9a5b
failing at connection to ONIE rescue
Jan 12, 2017
1836d9b
Cumulus upgrade working
Jan 17, 2017
a6cf534
Updated ztp_celery to halt duplicate bootstrap runs.
Jan 19, 2017
7874c34
Updated cumulus-bootstrap log messages to be more specific.
Jan 20, 2017
5c566d9
Updated API unit tests to reflect new behavior of register attempt wh…
Jan 20, 2017
404f8b0
Fixed pep8 violations
Jan 20, 2017
f9847c9
Added better exception handling for Celestica Cumulus upgrades in cum…
Jan 23, 2017
24adc96
'cumulus' hostname no longer required to get appropriate DHCP options…
Jan 24, 2017
330c2e7
Fixed issue where ztp-cumulus.sh would check oldest dhcp lease for cu…
Jan 25, 2017
570596f
uprev to 0.6.1
Jan 25, 2017
5503643
Merge pull request #144 from Apstra/bugfix_cumulus_upgrade
bobbywatson3 Jan 26, 2017
0a73d00
Os selector device specific matching (#150)
bobbywatson3 Feb 5, 2017
8c6f077
Fixes for issues #126, #149 and #151 related to eos and nxos bootstr…
acarpi Feb 6, 2017
d411806
update aeon-venos package to 0.3.2 (#156)
bobbywatson3 Feb 7, 2017
791b17e
Added error reporting for bootstrap/finally script errors. (#157)
bobbywatson3 Feb 7, 2017
6da5ead
Don't install aeon-venos when run from packer (#158)
bobbywatson3 Feb 9, 2017
b639cdf
Changed all "FAIL" statuses to "ERROR" for consistency (#159)
bobbywatson3 Feb 10, 2017
2c22974
Disabled OS upgrade for cumulus, eos, and nxos virtual devices (#160)
bobbywatson3 Feb 10, 2017
741bb92
Remove venos bin (#163)
bobbywatson3 Feb 15, 2017
91e87e9
Removed unnecessary directory from aeon-ztps install (#164)
bobbywatson3 Feb 15, 2017
e92a9cf
Package dir fix (#165)
bobbywatson3 Feb 16, 2017
426630b
Catch finally errors (#166)
bobbywatson3 Feb 17, 2017
9026090
Fixed error in wait for device where dev=None (#170)
bobbywatson3 Feb 23, 2017
bf3cf6c
Update ztp_celery.py (#171)
bobbywatson3 Feb 23, 2017
7a74063
Updated group policy section of docs to include os-selector facts inf…
bobbywatson3 Feb 24, 2017
33fcf99
Cumulus Bootstrap Tests (#173)
bobbywatson3 Mar 1, 2017
be14e0f
VRF is now enabled after license installation. (#174)
bobbywatson3 Mar 3, 2017
5dbd40b
Eos bootstrap tests (#175)
bobbywatson3 Mar 3, 2017
8073547
Update README.md
bobbywatson3 Mar 3, 2017
937bbc8
NXOS bootstrap tests (#176)
bobbywatson3 Mar 5, 2017
3f1e43d
Ubuntu bootstrap tests (#177)
bobbywatson3 Mar 5, 2017
b85ca92
Update README.md
bobbywatson3 Mar 6, 2017
67cc54a
More tests (#178)
bobbywatson3 Mar 7, 2017
81ca196
version bump
bobbywatson3 Mar 7, 2017
b2160c0
Fix: NameError: uninitialized constant YAML (#182)
vnitinv Mar 17, 2017
b8e5f74
Updated docs to include admin account information. Fixes #183 (#184)
bobbywatson3 Mar 17, 2017
42c1feb
Add dhcp config (#180)
bobbywatson3 Mar 21, 2017
c51ae98
Data passing to finalize (#188)
bobbywatson3 Mar 28, 2017
7236b5c
Fixing is_cumulus_vx condition (#190)
acarpi Mar 29, 2017
dcef9c3
Select finally script based on device facts (#192)
bobbywatson3 Apr 7, 2017
46148d2
Change admin user creation to own home dir, which for some reason was…
bobbywatson3 Apr 19, 2017
01d6ee0
Fixed IncompleteRead error when EOS 4.18 is rebooted after software i…
bobbywatson3 May 30, 2017
2c7fb2b
Ansible version (#200)
bobbywatson3 Jun 2, 2017
80a2b9a
Update requirements.txt
bobbywatson3 Jun 2, 2017
2a850c4
Remove Cumulus VRF config from ztp-cumulus.sh (#202)
bobbywatson3 Jun 12, 2017
cd59a11
NXOS bootstrap: do not attempt to re-push config too quickly when it …
acarpi Jun 13, 2017
97f8b86
Log missing image (#205)
bobbywatson3 Jun 13, 2017
da5ce4b
Fixed issue where ztp-eos.sh would fail if (#206)
bobbywatson3 Jun 15, 2017
ce2d22d
Fixed EOS 4.18 upgrade issue (#207)
bobbywatson3 Jun 16, 2017
6ba83bb
Update requirements.txt
bobbywatson3 Jun 20, 2017
812b207
Update requirements.txt (#208)
bobbywatson3 Jun 22, 2017
bbc007c
Added DNS entry to example dhcpd.conf (#209)
bobbywatson3 Jun 28, 2017
07bae08
Migrate to Postgresql as DB in place of sqlite (#211)
bobbywatson3 Jul 17, 2017
593ff92
Add CentOS bootstrap script (#210)
acarpi Jul 17, 2017
272c6cf
Update version
bobbywatson3 Jul 17, 2017
3804d2a
Removed EOS VRF config (#212)
bobbywatson3 Sep 5, 2017
8014e2f
Updated DHCPD documentation
Sep 19, 2017
76386e8
Update README.md
bobbywatson3 Sep 19, 2017
797af13
Update README.md
bobbywatson3 Sep 19, 2017
323f9a5
Updated DHCPD documentation
Sep 19, 2017
f40bdb6
Merge remote-tracking branch 'origin/master'
Sep 19, 2017
32277ef
Update README.md
bobbywatson3 Sep 19, 2017
93f7908
Updated logging to use syslog instead of files on disk. (#214)
bobbywatson3 Sep 21, 2017
ddd5202
Removed duplicate log entries from celery tasks. (#215)
bobbywatson3 Sep 21, 2017
3e28230
Doc update (#216)
bobbywatson3 Sep 21, 2017
9f9f097
Safely write to md5 cache file (#218)
dmitrymex Oct 4, 2017
38479fd
* aeon group now has read privs for syslog (#219)
bobbywatson3 Oct 4, 2017
4df4d6f
Update setup.py
bobbywatson3 Oct 4, 2017
7d6f50e
* resolved unicodedecodeerror when reading from syslog (#220)
bobbywatson3 Oct 4, 2017
8d2ab75
Changed sudoers config (#221)
bobbywatson3 Oct 11, 2017
12f962d
Increase timeout and add retry for onie_install (#222)
acarpi Oct 12, 2017
cb1829a
Update setup.py
bobbywatson3 Oct 12, 2017
1b3e4ff
Ztp retry (#227)
bobbywatson3 Nov 16, 2017
d560fd4
Time format fix (#228)
bobbywatson3 Nov 23, 2017
df600d9
Remove nxos config snippets (#229)
bobbywatson3 Dec 7, 2017
7199588
Add support for DB migration (#232)
bobbywatson3 Mar 19, 2018
519f123
Add OPX support (#233)
bobbywatson3 Mar 26, 2018
d5ae551
Give OPX device time to stabilize since SSH may not be reliable yet d…
bobbywatson3 Mar 30, 2018
45f649f
Workaround for Arista 4.20.1 issue with IP/subnet/subnet (#235)
acarpi Apr 18, 2018
462f4e0
Looks like we now have support for v6 dhcp as well. So the message is…
aaronpereira Jul 12, 2018
67da536
Merge pull request #239 from Apstra/aaron-update-dhcp-v4_v6
acarpi Jul 12, 2018
cefbab2
Download image before installation
Jul 27, 2018
6c07629
Get exact pytest version since newer versions are causing test failures
Aug 4, 2018
25be593
Merge pull request #241 from Apstra/ale-eos-bootstrap
acarpi Aug 4, 2018
f6f60c1
When buffering of responses from the uwsgi server is enabled, and the…
aaronpereira Jan 23, 2019
865cb4e
Fix flake8 version
aaronpereira Jan 23, 2019
7846550
Merge pull request #246 from Apstra/increase-temp-size
acarpi Jan 30, 2019
b8d8e10
Add placeholders for few other platforms to simplify deploy
Ragsboss Apr 4, 2019
996dab4
Merge pull request #249 from Apstra/rags-add-platforms
Ragsboss Apr 4, 2019
3779d16
Fix permissions to make sure os-selector and other config files are
Ragsboss Apr 10, 2019
584f1d6
Merge pull request #250 from Apstra/rags-fix-perms
Ragsboss Apr 10, 2019
618d456
Serve static NOS images directly from nginx instead of uwsgi app
Apr 10, 2019
4586964
Address PR comments
Apr 10, 2019
6cb11eb
Remove obsoleted test
Apr 11, 2019
ce4d0c6
Merge pull request #251 from Apstra/ale-nginx-nos-images
acarpi Apr 11, 2019
3baff7b
[AOS-12479] Fx pass env variables to bootstrap script
Apr 12, 2019
5275d9f
Merge pull request #252 from Apstra/ale-bootstrap-env
acarpi Apr 12, 2019
2fcbc56
add boot drive support for eos bootstrap
May 20, 2019
6f698b1
Merge pull request #255 from Apstra/eric-eos-bootstrap-usb-aware
ericdong66 May 23, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address PR comments
Alessandro Carpi committed Apr 11, 2019
commit 4586964db76ac42f02af95de7955fa8d77765593
6 changes: 0 additions & 6 deletions aeon_ztp/api/views.py
Original file line number Diff line number Diff line change
@@ -30,12 +30,6 @@ def download_file(filename):
return send_from_directory(from_dir, filename)


@api.route('/images/<path:filename>', methods=['GET'])
def get_vendor_file(filename):
from_dir = path.join(_AEON_TOPDIR, 'vendor_images')
return send_from_directory(from_dir, filename)


@api.route('/api/about')
def api_version():
version = pkg_resources.get_distribution("aeon_ztp").version
2 changes: 1 addition & 1 deletion install/roles/web-server/files/nginx.aeon-ztp.ini
Original file line number Diff line number Diff line change
@@ -16,8 +16,8 @@ server {
autoindex on;
gzip on;
gzip_comp_level 5;
gzip_http_version 1.1;
gzip_min_length 256;
gzip_types *;
alias /opt/aeonztps/vendor_images/$1;
}