Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

Conch::DB::Result::DeviceNeighbor

SOURCE

https://github.com/joyent/conch-api/blob/master/lib/Conch/DB/Result/DeviceNeighbor.pm

BASE CLASS: Conch::DB::Result

TABLE: device_neighbor

ACCESSORS

mac

data_type: 'macaddr'
is_foreign_key: 1
is_nullable: 0

raw_text

data_type: 'text'
is_nullable: 1

peer_switch

data_type: 'text'
is_nullable: 1

peer_port

data_type: 'text'
is_nullable: 1

created

data_type: 'timestamp with time zone'
default_value: current_timestamp
is_nullable: 0
original: {default_value => \"now()"}

updated

data_type: 'timestamp with time zone'
default_value: current_timestamp
is_nullable: 0
original: {default_value => \"now()"}

peer_mac

data_type: 'macaddr'
is_nullable: 1

PRIMARY KEY

RELATIONS

device_nic

Type: belongs_to

Related object: Conch::DB::Result::DeviceNic

LICENSING

Copyright Joyent, Inc.

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://www.mozilla.org/en-US/MPL/2.0/.