You are on page 1of 2

To configure git to server

git config --global user.email


git config --global user.name

1. Login your dev Server

2. change dir to the cloned folder(frr)


cd frr

3. Checkout your private branch

git fetch

git checkout -b <yourname>-bugid main

ex : git checkout -b Vinod-12/13/14 main

4. Make files changes. (Based on the issue assigned to you)

Step 1 : Read the bug and understood the bug first


Step 2 : Go to router and identify the code and execute the perticular '?'
then go to cscope and find the string where to change (which file and
which line ) then apply the changes.

Vinod-R1# config
Vinod-R1(config)# router rip
Vinod-R1(config-router)#
allow-ecmp Allow Equal Cost MultiPath
default-information Control distribution of default route
default-metric Set a metric of redistribute routes
distance Administrative distance
distribute-list Filter networks in routing updates
end End current mode and change to enable mode
exit Exit current mode and down to previous mode
find Find CLI command matching a regular expression
list Print command list
neighbor Specify a neighbor router
network Enable routing on an IP network
no Negate a command or set its defaults
offset-list Modify RIP metric
output Direct vtysh output to file
passive-interface Suppress routing updates on an interface
quit Exit current mode and down to previous mode
redistribute Redistribute information from another routing
protocol
route RIP static route configuration
route-map Route map set
timers Adjust routing timers
version Set RIP version
Vinod-R1(config-router)#

Step 3 : compile the code by using these commands

5. Run make in the folder to rebuild


make
6. After compilation is success, install the frr

sudo make install


7. Restart the frr
sudo /usr/lib/frr/frrinit.sh restart

8. Then again check in router whether it has changed or not in the file
Go to router and identify the code and execute the perticular '?'

Step 4 : Commit the changes and push the code into git then pull the code in git
and send it to review

git diff - to see chnages in code


git status
git add 'filename' |
git commit | git commit -a -m "Testing Changes "
git log |
git push
git push --set -upstream
git stash - If we want to Remove all changes

Description :
RCA :
Analysis :
UT cases :
UT logs :

You might also like