Skip to content

Commit cf5b108

Browse files
committed
adapt to published draft
In the published draft-ietf-netmod-intf-ext-yang 14 all instance data was converted from XML to JSON. So align them with the published version. Signed-off-by: Florian Kauer <florian.kauer@linutronix.de>
1 parent 0e19b83 commit cf5b108

24 files changed

+170
-739
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"ietf-interfaces:interfaces": {
3+
"interface": [
4+
{
5+
"name": "eth0",
6+
"type": "iana-if-type:ethernetCsmacd",
7+
"oper-status": "up",
8+
"statistics": {
9+
"discontinuity-time": "2023-12-15T09:04:00-05:00"
10+
},
11+
"ietf-if-extensions:link-flap-suppression": {
12+
"down": 0,
13+
"up": 50
14+
}
15+
}
16+
]
17+
}
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"ietf-interfaces:interfaces": {
3+
"interface": [
4+
{
5+
"name": "eth0",
6+
"type": "iana-if-type:ethernetCsmacd",
7+
"oper-status": "up",
8+
"statistics": {
9+
"discontinuity-time": "2023-12-15T09:04:00-05:00"
10+
},
11+
"ietf-if-extensions:link-flap-suppression": {
12+
"down": 50,
13+
"up": 1000
14+
}
15+
}
16+
]
17+
}
18+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: Copyright (c) 2024 IETF Trust and the persons identified as authors of the code. All rights reserved.
2+
SPDX-License-Identifier: BSD-3-Clause

intf-ext/6-1-carrier-delay-config.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.

intf-ext/6-1-carrier-delay-operational-state.xml

Lines changed: 0 additions & 23 deletions
This file was deleted.

intf-ext/6-2-dampening.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"ietf-interfaces:interfaces": {
3+
"interface": [
4+
{
5+
"name": "eth0",
6+
"type": "iana-if-type:ethernetCsmacd",
7+
"oper-status": "down",
8+
"statistics": {
9+
"discontinuity-time": "2023-12-15T09:04:00-05:00"
10+
},
11+
"ietf-if-extensions:dampening": {
12+
"half-life": 60,
13+
"reuse": 750,
14+
"suppress": 2000,
15+
"max-suppress-time": 240,
16+
"penalty": 2480,
17+
"suppressed": true,
18+
"time-remaining": 103
19+
}
20+
}
21+
]
22+
}
23+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: Copyright (c) 2024 IETF Trust and the persons identified as authors of the code. All rights reserved.
2+
SPDX-License-Identifier: BSD-3-Clause

intf-ext/6-2-dampening.xml

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"ietf-interfaces:interfaces": {
3+
"interface": [
4+
{
5+
"name": "eth0",
6+
"type": "iana-if-type:ethernetCsmacd",
7+
"ietf-if-ethernet-like:ethernet-like": {
8+
"mac-address": "00:00:5E:00:53:30"
9+
}
10+
}
11+
]
12+
}
13+
}

0 commit comments

Comments
 (0)