User Tools

Site Tools


copper:copper_work_items

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
copper:copper_work_items [2015/02/03 04:01]
Bryan Sullivan
copper:copper_work_items [2015/09/29 23:23] (current)
Bryan Sullivan
Line 1: Line 1:
-Work Items for Copper+Note: this page and the linked pages are being migrated to the issue/task tracking tools ([[https://​jira.opnfv.org/​browse/​COPPER-3?​jql=project%20%3D%20COPPER|Jira]],​ [[https://​trello.com/​b/​vRhIA8sP/​opnfv|Trello]]) and the Copper ​design docs (latest version is [[http://​artifacts.opnfv.org/​review/​1174/​index.html|here]]. Content on this page will be removed as it is migrated.
  
-== Getting Copper sandbox ("​Academy"​) up and running (Bryan) ​== +===== Work Items for Copper =====
-This will setup a basic functional assessment platform ala [[https://​wiki.opnfv.org/​wiki/​sandbox|Sandbox]] prior to getting a BGS environment that we can use. As compared to Sandbox, the goal of this activity is rather to install the actual OPNFV components as listed ​for [[https://​wiki.opnfv.org/​get_started/​get_started_work_items|BGS]],​ under a single node (e.g. a laptop with lots of memory) or multi-node environment.+
  
-Here is a graphic of the conceptThis is very draft and leaves many things unclear partly because I'm not sure how to do them yet. +To add your name as an active contributor to these work items just edit this page, or send an email to the opnfv-tech-discuss@lists.opnfv.org mail list.
-{{ :​copper:​copper_sandbox.png?600 |}}+
  
-Following are notes on setting it up. This will be updated as bugs in the process are found.+== OpenStack Congress Assessment ​ == 
 +Participating:​ Bryan
  
-Restart process for For sandbox based upon host OSUnbuntu 14.04 Server LTS  +For more info: [[https://wiki.opnfv.org/copper/copper_work_items/​congress|Congress]]
-  * devstack/rejoin-stack.sh +
-  * from Horizon, launch mininet-vm created earlier +
-  * ssh to mininet VM and enter +
-    * sudo mn --controller=remote,​ip=192.168.1.132 +
-  * back in ubuntu terminal +
-  * cd distribution-karaf-0.2.1-Helium-SR1.1 +
-  * ./bin/karaf clean +
-  * (currently here in the debug process) install enough ODL features to get ODL UX working (ports 8080 and 8181) +
-  * feature:​install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core+
  
-Restart process for sandbox based upon host OS: Unbuntu 14.04 Server LTS  +This will develop information ​related to OpenStack ​Congress.
-  - Ensure you have enable virtualization support in your BIOS +
-  - Install Ubuntu. I selected options for SSH, LAMP, VM host. +
-    * Make sure you remember the mysql root password - you will need it below +
-  - install updates +
-    * sudo apt-get update +
-    * sudo apt-get upgrade  +
-  - install ubuntu desktop: sudo apt-get install ubuntu-desktop +
-    * Qemu requires a window system... something lighter than desktop env wil   +
-  - install Java 7 +
-      * Note that apparently [[https://​issues.apache.org/​jira/​browse/​KARAF-2562|Java 8 is not compatible with Karaf]] +
-      * I used the notes from [[http://​ubuntuhandbook.org/​index.php/​2014/​02/​install-oracle-java-6-7-or-8-ubuntu-14-04/​|ubuntuhandbook]] +
-      * sudo add-apt-repository ppa:​webupd8team/​java +
-      * sudo apt-get update +
-      * sudo apt-get install oracle-java7-installer +
-      * sudo apt-get install oracle-java7-set-default +
-      * export JAVA_HOME=/​usr/​lib/​jvm/​java-7-oracle +
-      * sudo vi /​etc/​environment +
-        * (add a line: JAVA_HOME=/​usr/​lib/​jvm/​java-7-oracle) +
-  - install git: sudo apt-get install git -y +
-  - Install OpenStack (DevStack) +
-    * git clone https://​git.openstack.org/​openstack-dev/​devstack +
-    * cd devstack +
-    * Create local.conf: cp samples/​local.conf . +
-    * Add/replace these lines: vi local.conf +
-      * FLAT_INTERFACE=(your ethernet interface) +
-      * ADMIN_PASSWORD=(something you will remember - you will use this to login to the Horizon UI) +
-      * MYSQL_PASSWORD=(mysql root password) +
-      * RABBIT_PASSWORD=(something you will remember) +
-      * SERVICE_PASSWORD=(something you will remember) +
-    * Start the devstack install: ./​stack.sh +
-    * If all goes well, you will get an output of key items at the end of the script +
-    * If you hit an error related to the mysql root password, you can reset it and try again +
-      * sudo mysql --defaults-file=/​etc/​mysql/​debian.cnf +
-      * mysql> UPDATE mysql.user SET Password=PASSWORD('​mysql root password'​) WHERE User='​root';​ +
-      * mysql> FLUSH PRIVILEGES;​ +
-      * mysql> quit; +
-      * mysql -u root -p +
-    * At this point you should be able to login to Horizon at your installed server e.g. http://​192.168.1.132/​ using the account "​admin"​ and the ADMIN_PASSWORD you set above. +
-  - install and configure mininet +
-       * download mininet vm: wget http://​downloads.mininet.org/​mininet-2.2.0-150106-ubuntu-14.04-server-amd64.zip -O mininet.zip +
-       * convert to QCOW2 format +
-       * unzip mininet.zip +
-       * qemu-img convert -O qcow2 mn-2.2.0-trusty64server-150106-01-30-00/​mininet-vm-x86_64.vmdk mn-2.2.0-trusty64server-150106-01-30-00/​mininet-vm-x86_64.qcow2 +
-       * In Horizon, create image for mininet-vm +
-         * create from file in qcow2 format +
-         * min RAM = 1024 +
-       *  +
-  - Install openvswitch:​ sudo apt-get install openvswitch-switch +
-  - Install OpenDaylight Controller (see [[https://​www.opendaylight.org/​sites/​opendaylight/​files/​bk-install-guide-20141002.pdf|Install Guide]]) +
-    * Get the ODL Helium distribution:​ curl https://​nexus.opendaylight.org/​content/​repositories/​public/​org/​opendaylight/​integration/​distribution-karaf/​0.2.1-Helium-SR1.1/​distribution-karaf-0.2.1-Helium-SR1.1.zip -o Helium-SR1.1.zip +
-    * unzip Helium-SR1.1.zip +
-    * cd distribution-karaf-0.2.1-Helium-SR1.1 +
-    * ./​bin/​karaf +
-    * You should get the OpenDaylight prompt "​opendaylight-user@root>"​ +
-    * verify it's working with: feature:​list +
-    * install the ODL components  +
-      * feature:​install odl-base-all odl-aaa-authn odl-restconf odl-nsf-all odl-adsal-northbound odl-mdsal-apidocs odl-ovsdb-openstack odl-ovsdb-northbound odl-dlux-core +
-        * start with this minimal set of features per the video ¨ODL & OpenStack ​Discussion +
-        * will pull these additional features as I find they are essential +
-          * feature:​install odl-mdsal-all odl-restconf-all odl-ovsdb-all odl-openflowplugin-flow-services-ui odl-sfc-all odl-groupbasedpolicy-ofoverlay odl-dlux-all odl-config-persister-all odl-aaa-all odl-ttp-all odl-openflowplugin-all odl-adsal-compatibility-all odl-tcpmd5-all odl-adsal-all odl-config-all odl-netconf-all odl-base-all odl-yangtools-all odl-integration-compatible-with-all odl-netconf-connector-all odl-akka-all odl-l2switch-switch odl-mdsal-apidocs odl-aaa-authn +
-          * (can't find a feature called ​ ML2-plugin) +
-    * At this point you should be able to login to DLUX at your installed server e.g. http://​192.168.1.132:​8181/​dlux/​index.html using the account "​admin"​ and the In Hidefault password "​admin"​. +
-    *  +
-  - In Horizon, launch mininet-vm created earlier +
-  - ssh to mininet VM and enter +
-    * sudo mn --controller=remote,​ip=192.168.1.132 +
-    *   +
-  - Bring up a VM and validate basic functionality:​ this will be initially a manual sequence and eventually scripted using OpenStack APIs +
-  - +
  
-=== Failed attempts to install ​===+== OpenStack Blueprints ​== 
 +Participating:​ Bryan 
 + 
 +As we develop concrete proposals for new functionality in OpenStack (e.g. for Congress) they will be listed on the [[https://​wiki.opnfv.org/​community/​openstack/​|OpenStack community]] ​ page.  
 + 
 +== Policy Architecture == 
 +Participating:​ Bryan 
 + 
 +For more info: [[https://​wiki.opnfv.org/​copper/​copper_work_items/​policy_architecture|Policy Architecture]] 
 + 
 +This will develop an architectural view for incorporating the diverse policy functions of OPNFV components (e.g. OpenStack, OpenDaylight) into a layered architecture for policy management, including:​ 
 +  * functions and interfaces of a policy agent/​engine that leverages NB policy APIs of components (e.g. [[https://​wiki.openstack.org/​wiki/​Congress|Congress]],​ [[https://​wiki.opendaylight.org/​view/​Group_Policy:​Main|OpenStack GBP]], etc. 
 +  * how policy functions are driven through components into other SB components 
 + 
 +== Congress Installation in OPNFV Test Platforms == 
 +Participating:​ Bryan, Iben 
 + 
 +For more info:  
 + 
 +This will include [[https://​wiki.openstack.org/​wiki/​Congress|Congress]] in single-node (see "​Academy"​ below) and multi-node OPNFV testbed environments using scripted installers, initially focusing on [[https://​wiki.opnfv.org/​salt4nfv|SaltStack]],​ but expanding to other installers asap.
  
-Tried CentOS 7 but continually getting errors: 
-  - Install [[http://​isoredirect.centos.org/​centos/​7/​isos/​x86_64/​CentOS-7.0-1406-x86_64-DVD.iso|CentOS 7 "DVD ISO"]] 
-  - When installing, select the "​Server with GUI" profile, leaving all options blank (it's unclear whether any are needed at this point) 
-  - As su, add your username to /​etc/​sudoers via "​visudo"​ 
-  - Log out of root! 
-  - Install git: sudo yum install git 
-  - Download devstack: git clone https://​git.openstack.org/​openstack-dev/​devstack 
-  - Create devstack/​local.conf,​ adding/​replacing these lines 
-    * FLAT_INTERFACE=(your ethernet interface) 
-    * ADMIN_PASSWORD=(random string) 
-    * MYSQL_PASSWORD=(random string) 
-    * RABBIT_PASSWORD=(random string) 
-    * SERVICE_PASSWORD=(random string) 
-  - Start the devstack install: cd devstack; ./stack.sh 
-  - A variety of errors received - no reason why, not time to debug 
-  -  
copper/copper_work_items.1422936081.txt.gz · Last modified: 2015/02/03 04:01 by Bryan Sullivan