Getting Started

  • Register with ONF

  • gerrit user account

  • github user account

Register with ONF

Begin by registering with OpenNetworkingFoundation, this will create a user account for you to access resources: gerrit, jenkins, wiki, etc.

Gerrit user account

Next navigate to gerrit.opencord.org, login and configure your user account

  • Gerrit Login

  • User Settings
    • Verify full name and display name fields are populated.

    • Verify your email address is correct.

  • Generate and deploy an ssh key to interact with the repository:
  • Verify your ssh access

# Generate a new ssh key
$ cd .ssh
$ ssh-keygen -t ed25519 -f id_gerrit -C 'tux@opennetworking.org'

# Connect passing -T, -p(ort), -i(dentity)
$ ssh -T -p 29418 -i ~/.ssh/id_gerrit 'tux@opennetworking.org@gerrit.opencord.org'

$ ssh-add ~/.ssh/id_gerrit
$ ssh -T -p 29418 'tux@opennetworking.org@gerrit.opencord.org'

Github user account

Enable two-factor authentication

Generate and upload a public ssh key to interact with the repository:

Git config settings

## Config required by git:
$ git config --global user.name  'Tux Penguin'
$ git config --global user.email 'tux@opennetworking.org'

## Config required by gerrit:
$ git config --global gitreview.username 'tux@opennetworking.org'

## Convenience:
$ git config --global alias.br    branch
$ git config --global alias.ci    commit
$ git config --global alias.co    checkout
$ git config --global alias.st    status

## Optional configs:
$ git config --global color.ui    auto
$ git config --global pater.diff  false