HomePhabricator

Add unique constraint to AlmanacInterfaces

Description

Add unique constraint to AlmanacInterfaces

Summary: See discussion in D19379. The 4-tuple of (device, network, address, port) should be unique.

Test Plan: Created lots of duplicate interfaces, bound those interfaces to various services, observed migration script clean things up correctly.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, PHID-OPKG-gm6ozazyms6q6i22gyam

Differential Revision: https://secure.phabricator.com/D19388

Details

Provenance
amckinleyAuthored on Apr 18 2018, 5:49 PM
amckinleyPushed on Apr 20 2018, 2:16 AM
Reviewer
epriestley
Differential Revision
D19388: Add unique constraint to AlmanacInterfaces
Parents
rP843bfb4fd8ac: Add a "commits" attachment to "differential.diff.search" for retrieving local…
Branches
Unknown
Tags
Unknown
Build Status
Buildable 20194
Build 27404: Run Core Tests