Merge "Add vlan-transparent and mtu attributes to Network pojo"
[neutron.git] / integration / test / src / test / java / org / opendaylight / neutron / e2etest / NeutronIPSECPoliciesTests.java
1 /*
2  * Copyright (C) 2015 IBM, Inc.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.neutron.e2etest;
10
11 import java.io.OutputStreamWriter;
12
13 import java.lang.Thread;
14
15 import java.net.HttpURLConnection;
16 import java.net.URL;
17
18 import org.junit.Assert;
19
20 public class NeutronIPSECPoliciesTests {
21     String base;
22
23     public NeutronIPSECPoliciesTests(String base) {
24         this.base = base;
25     }
26
27     public void ipsecPolicy_collection_get_test() {
28         String url = base + "/vpn/ipsecpolicies";
29         ITNeutronE2E.test_fetch(url, "IPSEC Policy Collection GET failed");
30     }
31
32     public static void runTests(String base) {
33         NeutronIPSECPoliciesTests ipsec_policy_tester = new NeutronIPSECPoliciesTests(base);
34         ipsec_policy_tester.ipsecPolicy_collection_get_test();
35     }
36 }