Ignite is a tool to bootstrap your network. It supports Cisco Nexus switches leveraging Power-On Auto Provisioning (POAP) capabilities.
Ignite provides bootstrapping with the following capabilities:
- Topology design
- Configuration design
- Image and configuration store for POAP
- POAP request handler
https://cisco.box.com/shared/static/7om0zdujm98e0u9g7kpbergau0znphq4.ova
Follow steps 4-7 below (skip step 6)
1.Install postgresql
apt-get install postgresql-9.3 postgresql-common
2.Set up database
psql –U postgres
create database DATABASE_NAME;
\q
Edit following section in ~/ignite/ignite/prod.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': ‘DATABASE_NAME’, #Name of database created
'USER': 'postgres', #Database User
'PASSWORD': 'PASSWORD', #password for Database user
'HOST': 'localhost', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
'PORT': '', # Set to empty string for default.
}
}
3.Create tables in database
python ~ignite/ignite/manage.py makemigrations
python ~ignite/ignite/manage.py migrate
4.Edit following line ~ignite/ignite/dist/scripts/utils/settings.*.js to ignite server ip and port (8000).
"baseURL" : "http://localhost:9010"
to
"baseURL" : "http://<ignite_vm_ip>:<port>"
5.Run server
python manage.py runserver <ip:port>
6.Run following command to create user on server
curl -X POST -i -H "Content-type: application/json" http://<ignite_vm_ip>:<port>/auth/register/ -d '{"username”:”admin”, "password”:”admin”, "email":"[email protected]"}'
7.Run UI on web browser http://<ignite_vm_ip>:/ui/index.html
Login using credentials: admin/admin
Copyright 2015 Cisco Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.