Follow these steps to get familiar with Branching in NetBox
- In the Web UI main menu, navigate to Branching > Branches and click on the plus sign to add a new branch.
- Name the new branch
New Site - Lisbon
, and give it a description ofNew site deployment - Lisbon, Portugal
, and then click Create. - Note that the Status is
Provisioning
and then if you refresh, you will see it change toReady
. - Make the new branch active, by clicking Activate and note that the active branch name in the top-right corner has now been updated.
- Make changes in the branch - add a new
Site
calledLisbon
and a new rack calledPOLIS01-RK-01
- Navigate to Branching > Branches and click on the name of the new branch. Explore the Diff and Changes Ahead tabs
- When you are happy with your changes, click on Merge tick the box to commit the changes to the database click Merge Branch.
- Refresh and note that the Status is now
Merged
and the branch is no longer active, but you can still view the branch under the Branching menu.