diff options
author | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-08-12 14:51:28 +0300 |
---|---|---|
committer | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-08-12 15:02:57 +0300 |
commit | 4a4dcc5185f8ba5a28c7f9fef509f32c0c2389e6 (patch) | |
tree | 23e55ee7e1ad9b91bcc3ef1dbe1fb7b183f8b2b6 /vid-automation/src/main/resources/changeManagement | |
parent | 661a24fd57de02869a9771761e0fcba7eb77d121 (diff) |
vid-automation selenium tests
Change-Id: I6c1b0a0cf3bbfa4314c81f0cc72507db805ec632
Issue-ID: VID-281
Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'vid-automation/src/main/resources/changeManagement')
6 files changed, 100 insertions, 0 deletions
diff --git a/vid-automation/src/main/resources/changeManagement/configuration_file.csv b/vid-automation/src/main/resources/changeManagement/configuration_file.csv new file mode 100644 index 000000000..3e6743a7c --- /dev/null +++ b/vid-automation/src/main/resources/changeManagement/configuration_file.csv @@ -0,0 +1,7 @@ +payload,request-parameters,,,vnf-name,ibcx0099v +payload,request-parameters,[vm],,vm-name,ibcx0001vm001 +payload,request-parameters,[vm],[vnfc],vnfc-name,ibcx0001vm001dbg001 +payload,request-parameters,[vm],[vnfc],vnfc-function-code,dbg +payload,request-parameters,[vm],,vm-name,ibcx0001vm002 +payload,request-parameters,[vm],[vnfc],vnfc-name,ibcx0001vm002dbg001 +payload,configuration-parameters,,,node0_hostname,dbtx0001vm001
\ No newline at end of file diff --git a/vid-automation/src/main/resources/changeManagement/emptyFile.csv b/vid-automation/src/main/resources/changeManagement/emptyFile.csv new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/vid-automation/src/main/resources/changeManagement/emptyFile.csv diff --git a/vid-automation/src/main/resources/changeManagement/non-valid.json b/vid-automation/src/main/resources/changeManagement/non-valid.json new file mode 100644 index 000000000..b7272b4c3 --- /dev/null +++ b/vid-automation/src/main/resources/changeManagement/non-valid.json @@ -0,0 +1,3 @@ +{ + "file_type": "invalid" +}
\ No newline at end of file diff --git a/vid-automation/src/main/resources/changeManagement/withoutConfigurationParameters.csv b/vid-automation/src/main/resources/changeManagement/withoutConfigurationParameters.csv new file mode 100644 index 000000000..f8f4e86c0 --- /dev/null +++ b/vid-automation/src/main/resources/changeManagement/withoutConfigurationParameters.csv @@ -0,0 +1,44 @@ +payload,request-parameters,,,vnf-name,ibcx0099v +payload,request-parameters,,,vnf-host-ip-address,135.99.99.00 +payload,request-parameters,,,vnf-type,vUSP - vDBE-IPX HUB +payload,request-parameters,[vm],,vm-name,ibcx0001vm001 +payload,request-parameters,[vm],[vnfc],vnfc-name,ibcx0001vm001dbg001 +payload,request-parameters,[vm],[vnfc],vnfc-function-code,dbg +payload,request-parameters,[vm],[vnfc],vnfc-type,DBE-VM #1 +payload,request-parameters,[vm],[vnfc],group-notation,ibcx0001vm001dbg001pair +payload,request-parameters,[vm],[vnfc],ipaddress-v4-oam-vip,135.21.166.39 +payload,request-parameters,[vm],,vm-name,ibcx0001vm002 +payload,request-parameters,[vm],[vnfc],vnfc-name,ibcx0001vm002dbg001 +payload,request-parameters,[vm],[vnfc],vnfc-function-code,dbg +payload,request-parameters,[vm],[vnfc],vnfc-type,DBE-VM #1 +payload,request-parameters,[vm],[vnfc],group-notation,ibcx0001vm001dbg001pair +,,,,, +payload,request-parameters,,,template-name,vdbe_template1 +payload,configuration,,,configuration-string," <configuration xmlns=""http://xml.juniper.net/xnm/1.1/xnm"" + xmlns:a=""http://xml.juniper.net/junos/15.1X49/junos"" > + <version>15.1X49-D50.3</version> + <groups> + <name>node0</name> + <system> + <host-name>$node0_hostname</host-name> + <backup-router> + <address>$node0_backup_router_address</address> + <destination>0.0.0.0/0</destination> + </backup-router> + </system> + </groups> + </configuration>" +payload,configuration,,,configuration-json,"{ + ""version"": ""15.1X49-D50.3"", + ""groups"": { + ""name"": ""node0"", + ""system"": { + ""host-name"": ""$node0_hostname"", + ""backup-router"": { + ""address"": ""$node0_backup_router_address"", + ""destination"": ""0.0.0.0/0"" + } + } + } +}" +,,,,,
\ No newline at end of file diff --git a/vid-automation/src/main/resources/changeManagement/withoutPayload.csv b/vid-automation/src/main/resources/changeManagement/withoutPayload.csv new file mode 100644 index 000000000..25ac17397 --- /dev/null +++ b/vid-automation/src/main/resources/changeManagement/withoutPayload.csv @@ -0,0 +1,14 @@ +request-parameters,[vm],[vnfc],vnfc-name,ibcx0001vm001dbg001 +request-parameters,[vm],[vnfc],vnfc-function-code,dbg +request-parameters,[vm],[vnfc],vnfc-type,DBE-VM #1 +request-parameters,[vm],[vnfc],group-notation,ibcx0001vm001dbg001pair +request-parameters,[vm],[vnfc],ipaddress-v4-oam-vip,135.21.166.39 +request-parameters,[vm],,vm-name,ibcx0001vm002 +request-parameters,[vm],[vnfc],vnfc-name,ibcx0001vm002dbg001 +request-parameters,[vm],[vnfc],vnfc-function-code,dbg +request-parameters,[vm],[vnfc],vnfc-type,DBE-VM #1 +request-parameters,[vm],[vnfc],group-notation,ibcx0001vm001dbg001pair +configuration-parameters,,,rg_vpn2infra_static_route_next_hop2,192.168.1.5 +configuration-parameters,,,rg_vpn2infra_static_route_name3,64.181.12.1/32 +configuration-parameters,,,rg_vpn2infra_static_route_next_hop3,192.168.1.5 +,,,,,
\ No newline at end of file diff --git a/vid-automation/src/main/resources/changeManagement/withoutRequestParameters.csv b/vid-automation/src/main/resources/changeManagement/withoutRequestParameters.csv new file mode 100644 index 000000000..5f300c9b9 --- /dev/null +++ b/vid-automation/src/main/resources/changeManagement/withoutRequestParameters.csv @@ -0,0 +1,32 @@ +payload,configuration,,,configuration-string," <configuration xmlns=""http://xml.juniper.net/xnm/1.1/xnm"" + xmlns:a=""http://xml.juniper.net/junos/15.1X49/junos"" > + <version>15.1X49-D50.3</version> + <groups> + <name>node0</name> + <system> + <host-name>$node0_hostname</host-name> + <backup-router> + <address>$node0_backup_router_address</address> + <destination>0.0.0.0/0</destination> + </backup-router> + </system> + </groups> + </configuration>" +payload,configuration,,,configuration-json,"{ + ""version"": ""15.1X49-D50.3"", + ""groups"": { + ""name"": ""node0"", + ""system"": { + ""host-name"": ""$node0_hostname"", + ""backup-router"": { + ""address"": ""$node0_backup_router_address"", + ""destination"": ""0.0.0.0/0"" + } + } + } +}" +,,,,, +payload,configuration-parameters,,,node0_hostname,dbtx0001vm001 +payload,configuration-parameters,,,node0_backup_router_address,135.25.69.33 +payload,configuration-parameters,,,node0_tacplus_server_name1,134.85.215.181 +,,,,, |