# Sub-interface 1 and its settings:
sub_if_1_settings = {
"identifier": "1",
- "vlan-type": "802dot1q",
+ "vlan-type": "_802dot1q",
"enabled": "false"
}
"index": 0,
"dot1q-tag": {
"tag-type": "dot1q-types:s-vlan",
- "vlan-id": "100"
+ "vlan-id": 100
}
},
{
# Configuration data: Enable tag-rewrite push.
tag_rewrite_push = {
- "vlan-type": "vpp-vlan:802dot1q",
+ "vlan-type": "vpp-vlan:_802dot1q",
"push-tags": [
{
"index": 0,
# Expected operational data: tag-rewrite push.
tag_rewrite_push_oper = {
- "vlan-type": "vpp-vlan:802dot1q",
+ "vlan-type": "vpp-vlan:_802dot1q",
"push-tags": [
{
"index": 0,
# Expected operational data: tag-rewrite pop 1.
tag_rewrite_pop_1_oper = {
- "vlan-type": "vpp-vlan:802dot1ad",
+ "vlan-type": "vpp-vlan:_802dot1ad",
"pop-tags": 1
}
# Configuration data: Enable tag-rewrite translate 1-2.
tag_rewrite_translate_1_2 = {
- "vlan-type": "vpp-vlan:802dot1q",
+ "vlan-type": "vpp-vlan:_802dot1q",
"pop-tags": "1",
"push-tags": [
{
# Expected operational data: tag-rewrite translate 1-2.
tag_rewrite_translate_1_2_oper = {
- "vlan-type": "vpp-vlan:802dot1q",
+ "vlan-type": "vpp-vlan:_802dot1q",
"pop-tags": 1,
"push-tags": [
{
sub_if_2_match = "vlan-tagged-exact-match"
sub_if_2_oper = deepcopy(sub_if_1_oper)
sub_if_2_oper["match"]["vlan-tagged"]["match-exact-tags"] = True
+
+ipv6 = {
+ "address": "10::10",
+ "prefix-length": 24}
+ipv6_2 = {
+ "address": "10::11",
+ "prefix-length": 16}