To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorIP Address List
An user can create an IP Address list that can be used to create Firewall Rules
- Background
-
- Given
- Stark Industries has a network Domain called 'Iron Man'
- Scenarios
-
- Create an IP Address list
-
- Given
-
Pepper Potts performs a POST request for 'stark_industries_id/network/createIpAddressList' with the following JSON
{ "networkDomainId": "iron_man_id", "name": "myWebserver", "description": "production web servers", "ipVersion": "IPV4", "ipAddress": [ { "begin": "10.0.0.0" }, { "begin": "10.0.0.10", "end": "10.0.0.20" }, { "begin": "10.0.1.0", "prefixSize": "24" } ], "childIpAddressListId": "333174a2-ae74-4658-9e56-50fc90e086cf" }
- Then
- Pepper Potts should receive a JSON containing the created 'ipAddressListId'
- List the IP Address lists
-
- Given
- Stark Industries has procured some IP Address lists
- When
- Pepper Potts performs a GET request for 'stark_industries_id/network/ipAddressList'
- Then
-
the following IP Address Lists should be returned:
Name Description IP Version IP Address Child IP Address list myWebserver production web servers IPV4 begin: 10.0.0.0, begin:10.0.1.0 prefixSize:24 333174a2-ae74-4658-9e56-50fc90e086cf myWebserver2 production web servers Ipv6 IPV6 3331740495-ae74-4658-9e56-50fc90e086cf
- Error management when create IP Address list
-
- Given
- Stark Industries has procured some IP Address lists
- When
- Pepper Potts create an IPAddress List with Name,IP_Version and IP_Address
- Then
- Pepper Potts should receive the error Error with Error_message
Examples: Name IP_Version IP_Address Error Error_message existing_name IPV4 begin: 10.0.0.0 NAME_NOT_UNIQUE Another Address List named 'existing_name' already exists in Network Domain networkDomainId. new_name begin: 10.0.0.0 INVALID_INPUT_DATA ipVersion must be provided. new_name2 IPV4 INVALID_INPUT_DATA At least one ipAddress or childIpAddressListId must be provided. new_name3 IPV4 begin: 10.0.0.0,begin: 10.0.0.0 INVALID_INPUT_DATA The IP Address List cannot contain duplicate IP Addresses, IP Address Ranges or IP Address List.
Last published almost 5 years ago by Irene Marino.