NetBox as Voice and UC Source of Truth

Hello Habr! Have you ever experienced difficulties with the documentation of corporate Voice and Unified Communications infrastructures?







  • What is this number? Where does it come from?
  • Is this SIP trunk still relevant?
  • Which of these Excel files do I need the information in?
  • Do we have a free city number for a new service?
  • Phone_numbers_new_072019 (3) .xlsx ?!


Sounds painfully familiar? There is an option that can help with this.

All interested are welcome under the cut!







TLDR: Using the Source of Truth paradigm (and NetBox as its implementation) in Voice and Unified Communications can be beneficial and promising. I also developed and published a new plugin for NetBox for managing phone numbers and much more.







How and what companies document



Since 2011, when I started my career in corporate IT, I have seen many options for organizing documentation. I have worked with distributed Voice and UC infrastructures with thousands of users, failover clusters, hundreds of voice devices and communication channels in total. However, regardless of region and size, all of these infrastructures had something in common: all the documentation for Voice and UC consisted of Microsoft Office and PDF files of varying degrees of order.







, . , , . ( .) Voice UC . " ?" — , . .







, , . :







  1. . ?

    .
  2. . ? .1.
  3. . : Voice UC , , PRI, DSP .. , -, .
  4. . - ? , , , , . *.* VoIP .
  5. IP-. IP- ?
  6. . : SIP-, PRI, .. , , .
  7. . ?
  8. . ?
  9. . .1 ? .
  10. -. ?
  11. . ? PDF- — . * *.


. . - . , :







  1. . , .
  2. , , .
  3. , .
  4. .
  5. .
  6. .
  7. . , Voice/UC, . - (, end-to-end QoS ).


, , . - , , . . . , , , .







. . . , , .







UC Infrastructure-as-Code UC Source-of-Truth



, , Infrastructure-as-Code (IaC) Single-Source of-Truth ( Source-of-Truth, SoT). , :







  • - () () . , DevOps.
  • Single Source of Truth ( Source-of-Truth, SoT), — , . , . , - . — - .
  • . Source-of-Truth. , Infrastructure-as-Code, ( ), c .


Souce-of-Truth . — Souce-of-Truth IaC. , .







, Source-of-Trust Infrastructure-as-Code . ( ) . .







, , Excel : . . - . .







, DevOps-. , NetDevOps. , UC. , UC . ( ?) SBC — . BGP- SIP-.







, NetDevOps UC. NetBox.







NetBox



: " NetBox?" :







NetBox — - , . DigitalOcean, NetBox - . :



  • IP address management (IPAM) — IP , VRF' VLAN'.
  • Equipment racks — , .
  • Devices — , .
  • Connections — , .
  • Virtualization — .
  • Data circuits — .
  • Secrets — .


NetBox, , – eucariot.







NetBox Network Source-of-Truth, . NetBox API, NetBox . NetBox (PostgreSQL). NetBox , . , NetBox . , .







, NetBox Voice UC . (IP)-, SBC, , MCU Voice UC (Devices). , (Equipment Racks) ToR-. (Connections) (Data Circuits) (Providers), . - Voice UC (Virtual Machines). Voice UC ( ) IP- (IPAM).







, , , . , NetBox — (Plugins). NetBox . NetBox , Voice UC .







:







  • - . Voice UC .
  • Voice Unified Communications, .
  • - .
  • .


PhoneBox NetBox.







PhoneBox Plugin



PhoneBox , Voice&UC NetBox.

-, . . feature request' NetBox .







(Phone Number) :







  • Number – . .
  • Tenant – Netbox Tenant. . Number-Tenant.
  • Description – .
  • Provider – NetBox Provider. , .
  • Region – NetBox Region. .
  • Forward_ToNumber. .
  • Tags – NetBox tag.


NetBox :













CRUD (Create, Read, Update, Delete) (Phone Numbers) - NetBox REST API.

CSV- .







The plugin source code and instructions for installing and activating it inside NetBox are available on my GitHub page .







I plan to add additional abstractions and relationships to the plugin in the future. The difficulty of choosing abstractions suitable for describing arbitrary infrastructures, perhaps, deserves a separate article. Let me know if such material would be of interest to you.







Anyway, thanks for reading to the end. Feedback and alternative points of view would be welcome.








All Articles