Project

General

Profile

« Previous | Next » 

Revision 7b7d7d1d

Added by Timo Goebel almost 8 years ago

fixes #14665 - support IPv6 via API

View differences:

test/functional/api/v2/interfaces_controller_test.rb
class Api::V2::InterfacesControllerTest < ActionController::TestCase
valid_attrs = { 'name' => "test.foreman.com", 'ip' => "10.0.1.1", 'mac' => "AA:AA:AA:AA:AA:AA",
'username' => "foo", 'password' => "bar", 'provider' => "IPMI",
'type' => "bmc" }
'type' => "bmc", 'ip6' => '2001:db8::1' }
def setup
@host = FactoryGirl.create(:host)

Also available in: Unified diff