[racktables-users] Re: Importing CSV results in foreign key violation

  • From: Tim W <twielgos@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Tue, 9 Jan 2018 15:14:02 -0600

Figured it out!

For future people with my issue --

I needed to put the outer interface in the CSV.  What I had for the last
field was "1084,1084" when I needed "9-1084,9-1084" so that the outer
interface was set to something.

On Tue, Jan 9, 2018 at 1:41 PM, Tim W <twielgos@xxxxxxxxx> wrote:

Anyone able to duplicate this?  Am I the only one trying to use the CSV
import function like this?

On Wed, Jan 3, 2018 at 2:29 PM, Tim W <twielgos@xxxxxxxxx> wrote:

Hello,

Every time I try to add an object via CSV in the following form:

OBJECT;SWITCH;Switch105;Switch105;;Ethernet105/1/[1-32],
Uplink[1-8];1084,1084


I get a 'foreign key violation'.  The object is created, but none of the
ports are created.

Am I doing something wrong?




Other related posts: