Project

General

Profile

Actions

Feature #7285

open

add ability to allocate an IP address via the API

Added by Greg Petras over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I'd like to be able to add an interface to a host using the v2 API at /api/hosts/<host>/interfaces. I'd also like to be able to use this API to assign a free IP from one of the specified networks. Please extend the API to support this ability. Perhaps a subnet parameter could be added when creating an interface on a host, and if the IP address is left null then it retrieves one from the smart proxy for that subnet.

Thanks!

Greg


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #11223: Make subnets/freeip available through the APIDuplicate07/27/2015Actions
Actions

Also available in: Atom PDF