Skip to main content

Business impact

In this demo, each service is linked to its customer and service tier in the same Infrahub graph as the switch, edge router and IP resources that support the service. Each tier records one rule: the minimum number of separate paths its services keep during a change. Gold services must keep at least 1 separate path.

With these links in place, you can plan a change based on its effect on customers. Before a proposed change merges, the portal pages in this repository read the data from Infrahub and show which services the change puts at risk or takes down. Infrahub refuses to merge a plan that leaves a Gold service without a path. To learn which parts run in Infrahub and which run in the portal, see the developer walkthrough.

The business impact pages cover three separate tasks:

The demo also has a page that lists the Gold services that depend on a single device on the current network.

Infrahub uses the stored data to link customers and devices. In Object Management, Path Traversal from the customer Northbank to Paris edge router 1 finds two paths. Each path passes through one of the two Northbank services at that site, DI-1001 or DI-1002, and the service's gateway interface on the router:

Path Traversal from the customer Northbank to Paris edge router 1: two paths, through DI-1001 and DI-1002 and their gateway interfaces

Why business context belongs in the source of truth​

Change review usually happens at the level of devices and interfaces. A maintenance window on an edge router looks the same whether a lab circuit or the main internet connection of your largest customer runs through the router. The people who plan and approve the change ask a different question: which customers depend on this device during the window, and which of them need another path to stay in service?

When customers and tiers are stored in a separate CRM or spreadsheet, someone must answer that question manually and may not do so until after the window is scheduled. When they are stored in the same graph as the infrastructure, the proposed change includes the answer, calculated from the same data the automation already uses. The answer is part of the review, and you can enforce a rule such as "no plan may leave a Gold service without a path" as a check instead of a reminder.

Storing business intent in the same graph as the network changes how a team plans and approves a change:

  • The Planned maintenance page and the redundancy check calculate the impact of a change from the stored data. They read the services, customers, tiers and devices from one stored query on both the proposed change and the current network. Nobody has to match a list of devices against a list of customers manually.
  • A commitment becomes a rule that the network is checked against. Each tier records the minimum number of separate paths its services keep during a change. The redundancy check reads that number and refuses to merge a plan that leaves a service below it. The rule is data in the model, where a reviewer can read it, not a value in the code of a check.
  • A commitment changes through the same review as the network. Tiers and customers are branch-aware, so raising a tier's rule is a proposed change, like a maintenance plan. The redundancy check compares the new rule with the current network before the merge, so the team cannot promise customers more separate paths than the network delivers.
  • Every tool reads the same answer. The pages, the redundancy check, the artifacts and the generator work from the same model. A portal, an ITSM tool, a CRM or a report can read the same stored query instead of keeping its own copy of which customer depends on which device.
  • The record of a change includes its business context. Each service records who requested it and why. Each proposed change keeps the redundancy check result, the list of affected customers, the approver and the merge time.

The maintenance review, before and after​

When customers and tiers are kept outside the source of truth, the review of a maintenance window usually takes these steps:

  1. Read the device configs to find the ports and VLANs the change touches.
  2. Match those ports to services in the inventory or a spreadsheet.
  3. Look up each service's customer and tier in the CRM.
  4. Check manually which services lose their last path, often after the window is booked.
  5. Email the affected customers from a list someone compiled manually.
  6. The approver signs off on the plan's description, with no check against customer commitments.

With the business context in Infrahub, the same review takes these steps:

  1. Open the proposed change. The Planned maintenance page shows the services at risk and the services down during the change, with their customers and tiers.
  2. Read the redundancy check result. It checks the plan against each tier's rule and blocks the merge until the plan meets the rule.
  3. Read the affected customers list. The Gold customers at risk are the ones to notify, and a webhook can send them to the CRM.
  4. Approve and merge. The proposed change keeps the redundancy check result, the approver and the merge time.

The business data​

The demo schema adds two pieces of business data to every Dedicated Internet service. Both are demo inputs:

  • Service tier: Gold, Silver or Bronze, stored as a ServiceTier node. Each tier has a minimum number of separate paths during a change: Gold 1, Silver 0 and Bronze 0.
  • Customer: Northbank, Helix Health, Maison Verte or Rapid Freight, stored as an OrganizationCustomer node beside manufacturers and providers.

The customer and the tier are branch-aware. You can change them in a proposed change without changing the current network.

Each service in the demo data also records who requested it, in Requested by, and why, in Reason for the request. These two fields have the same value on every branch.

The cost of service page uses two more inputs, a list price per device type and a monthly cost per upstream circuit. View what each service costs to deliver describes where they sit in the model.

Where the business data comes from and where the results go​

In the demo, a seed task loads the customers, tiers and request records. In production, this data is owned by other systems:

  • Customers and tiers come from the CRM. Infrahub Sync, or a script that uses the Infrahub SDK, loads them into Infrahub and keeps them current, so each service links to the customer and tier the business systems hold.
  • Service requests come from the order or ticketing system, which sets who requested the service and why when it creates the service.
  • Results go back to the change process and the CRM. The proposed change holds the redundancy check result, the approval and the merge. The affected customers artifact lists the customers of each change, and the gold-outreach webhook can send the at-risk Gold customers to the CRM when a proposed change is created. Contact details stay in the CRM.

The pages and the redundancy check read only Infrahub. Replacing the seed data with data from these systems changes nothing in the pages, the redundancy check or the stored query.

Paths, and when a service is at risk or down​

A path is the route a service's traffic takes through the network at a site. The traffic enters through a switch port, goes through a switch, and leaves through an edge router. At each site, a switch always connects to the edge router with the same number. For example, traffic that goes through Paris switch 1 always leaves through Paris edge router 1. So each path is one switch and its matching edge router.

To find the paths for a service, Infrahub starts at the service's switch ports and gateway interfaces. It follows the connections from there to the switches and edge routers they reach. The redundancy check, the portal pages and the cost of service all use the list of paths that Infrahub finds.

Three Paris Gold services, DI-1001, DI-1002 and DI-1003, have two paths: one through switch 1 and edge router 1, and one through switch 2 and edge router 2. If one path fails, their traffic can still use the other. Every other service has one path.

A path is out of service during a change when its switch or its edge router has any status other than active on the proposed change. Maintenance, provisioning and drained all count as out of service. Interface status is not considered.

Each active service affected by a change gets one of two statuses:

  • At risk: the service has fewer separate paths during the change than on the current network, and at least 1 remains.
  • Down: the service has no path left during the change.

The Planned maintenance page for Paris router 1 maintenance: 4 customers affected, 3 Gold services at risk and 2 services down

Every figure on the Planned maintenance page is counted from the network model: services, customers, tiers and separate paths.

The redundancy check​

The redundancy check runs in the proposed change pipeline. It reads the same data as the Planned maintenance page. For each active service, it counts the separate paths the service keeps during the change and compares that number with the rule of the service's tier.

The redundancy check reads the rule of each tier on the proposed change's branch and on the current network. In the demo data, Gold has 1, Silver 0 and Bronze 0. A rule of 0 means that announced maintenance may take a Silver or Bronze service down. The redundancy check applies the rule of every tier. The demo focuses on Gold because it is the only tier with a rule above 0 in the demo data.

For each proposed change, the result is:

SituationResult
An active Gold service has no path left during the changeFails
The proposed change deletes the switch or edge router of an active Gold service, or removes its switch port or gateway interface, and the service has no other pathFails
The proposed change raises a tier's rule and active services of that tier have fewer separate pathsFails
Every active Gold service keeps at least 1 separate path, even if it has fewer than on the current networkPasses
A Gold service's device was already out of service on the current networkPasses, and logs a message naming the service
Only Silver or Bronze services are affected, or nonePasses

When the plan leaves a service with fewer separate paths than its tier's rule, the message names the customer, the tier, the service and its paths before and after the change, and ends with the rule, for example "Gold requires at least 1 separate path during a change, and this change leaves 0." When the proposed change raises a tier's rule, the message names the services with fewer paths than the new rule, with the number of paths each one has. For a rule raised from 0, it ends with "Build the paths first, or keep the rule at 0."

Infrahub does not merge a proposed change while a check has failed. The redundancy check has no override: no tag, setting or role allows the change to merge. To merge the change, the plan must leave every Gold service at least 1 path, for example by building a second path for the service first.

The failed redundancy check on Brussels switch 1 maintenance, with its message

Single points of failure​

A device is a single point of failure for a service when every path of the service passes through it. A Paris Gold service has two paths, so no single Paris device is a single point of failure for it. A Brussels Gold service has one path, its switch and its edge router, so each of those two devices is a single point of failure for it.

The Single points of failure page shows this for the current network, without a proposed change. It counts the active Gold services with a single point of failure, lists the devices they depend on, and shows what would have no path if a selected device failed now. For the selected device, the page uses the same rule and figures as the Planned maintenance page. It calculates them from a copy of the current network in which that device is not active. The page only reads data from Infrahub.

The record of a proposed change​

Infrahub keeps a record of each proposed change:

  • The plan: the proposed change's description, and its Data tab before the merge
  • The redundancy check result: its conclusion and message on the Checks tab
  • The affected customers: the "Affected customers" artifact on the Artifacts tab
  • Who approved it and when: Approved by on the proposed change, and the approval and merge with their dates on the Activities page

Infrahub refuses an approval from the account that opened the proposed change. In the demo, admin opens the plans, and Emma, the change manager account, approves them.

The demo runs on Infrahub Community. Infrahub records Emma's approval and refuses an approval from the account that opened the proposed change, but does not require an approval before merge. The redundancy check is what blocks a plan that fails the rule. Infrahub Enterprise can require approvals before merge.

The following table shows which parts of this demo each Infrahub edition includes:

Part of the demoInfrahub CommunityInfrahub Enterprise
Business data, branches and proposed changesYesYes
The redundancy check and the refused mergeYesYes
The affected customers and cost of service artifactsYesYes
The outreach webhook and its transformYesYes
The record of the approval, the check result and the mergeYesYes
Refusing an approval from the account that opened the proposed changeYesYes
Requiring approvals before mergeNoYes
Revoking approvals when the branch changes after approvalNoYes

To load the demo data, run the optional seed step in the installation guide.

In this section​