aboutsummaryrefslogtreecommitdiffstats
path: root/resources/test_data/honeycomb/interface_ip.py
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2017-05-09 12:38:35 +0200
committerSamuel Eliáš <samelias@cisco.com>2017-05-17 07:27:59 +0000
commita114591eac9f52502048db886da2fb228c62254d (patch)
tree24426e7fe44f24e8c9471da885269813214550e9 /resources/test_data/honeycomb/interface_ip.py
parent03bb1e5611946a53f243a3d923c8f2d1aeee079a (diff)
CSIT-562 HC Test: Persistence suite rework, part1
- rename keywords that check operational data, to distinguish from keywords that check configuration data - modify existing persistence cases so that they don't affect each other - add feature-specific persistence tests for: Interface Management, L2 bridge - move Interface Management variables to separate file so they can be reused - add new tag HC_PERSIST to execute persistence tests separately - update existing Honeycomb tags to comply with CSIT conventions More feature-specific tests to be added in part2. Change-Id: I8657da4bb9e9a3d5261c04f5f1999b2572f605ef Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/test_data/honeycomb/interface_ip.py')
-rw-r--r--resources/test_data/honeycomb/interface_ip.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/resources/test_data/honeycomb/interface_ip.py b/resources/test_data/honeycomb/interface_ip.py
new file mode 100644
index 0000000000..392623b5e8
--- /dev/null
+++ b/resources/test_data/honeycomb/interface_ip.py
@@ -0,0 +1,34 @@
+# Copyright (c) 2016 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Test variables for Basic interface management and IP addresses."""
+
+# Configuration which will be set and verified during tests.
+ipv4_address = "192.168.0.2"
+ipv4_address2 = "192.168.1.2"
+ipv4_prefix = 24
+ipv4_mask = "255.255.255.0"
+ipv4_neighbor = "192.168.0.4"
+ipv4_neighbor2 = "192.168.1.4"
+ipv4_settings = {"mtu": 9000}
+ipv6_address = "10::10"
+ipv6_address2 = "11::10"
+ipv6_prefix = 64
+ipv6_neighbor = "10::11"
+ipv6_neighbor2 = "11::11"
+neighbor_mac = "08:00:27:c0:5d:37"
+neighbor_mac2 = "08:00:27:c0:5d:37"
+ipv6_settings = {"enabled": True, "forwarding": True, "mtu": 9000,
+ "dup-addr-detect-transmits": 5}
+ethernet = {"mtu": 9000}
+routing = {"vrf-id": 27}