Skip to content

Add a group ID field to the IP address model #2456

@jeremystretch

Description

@jeremystretch

Environment

  • Python version: 3.5.2
  • NetBox version: 2.4.4

Proposed Functionality

Add a numeric group_id field to the ipam.IPAddress model, which accept a value between 0 and 255 (incusive).

Use Case

Although NetBox allows for the designation of an IP address as a virtual/shared IP address (e.g. VRRP, HSRP, etc.), it does not provide a mechanism to associate the IP with a particular group within an interface. For example, VRRP requires the definition of a group ID (0-255), which is used to generate the virtual MAC address for the shared IP address.

Database Changes

Add the field to the IPAddress model. This will require a new database migration.

External Dependencies

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureIntroduction of new functionality to the application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions