blob: fc09da3bd7ab56d09688e76873ed0f300d2f573b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
From 62240a7ef12bb2ed3730a625ad7a809a9a6d0512 Mon Sep 17 00:00:00 2001
From: David Cobbley <david.j.cobbley@linux.intel.com>
Date: Wed, 6 Jun 2018 10:11:58 -0700
Subject: [PATCH 1/1] Modify Dbus for IPv6.
Add additional interfaces for IPv6 use.
Signed-off-by: James Feist <james.feist@linux.intel.com>
---
.../Network/EthernetInterface.interface.yaml | 13 ++++++++++++-
xyz/openbmc_project/Network/IP.interface.yaml | 4 ++++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/xyz/openbmc_project/Network/EthernetInterface.interface.yaml b/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
index 6fa1d0b..6b7cd9a 100644
--- a/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
+++ b/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
@@ -46,6 +46,10 @@ properties:
type: boolean
description: >
Boolean for accepting router advertisements in IPv6
+ - name: IPAddressEnables
+ type: enum[self.IPAllowed]
+ description: >
+ The type of IP connection is allowed on this channel
enumerations:
- name: LinkLocalConf
@@ -56,4 +60,11 @@ enumerations:
- name: v4
- name: v6
- name: none
-
+ - name: IPAllowed
+ description: >
+ Determines whether the system allows both IPv6 & IPv4, or disables on
+ or the other
+ values:
+ - name: IPv4AndIPv6
+ - name: IPv4Only
+ - name: IPv6Only
diff --git a/xyz/openbmc_project/Network/IP.interface.yaml b/xyz/openbmc_project/Network/IP.interface.yaml
index 5091ac9..b2442a5 100644
--- a/xyz/openbmc_project/Network/IP.interface.yaml
+++ b/xyz/openbmc_project/Network/IP.interface.yaml
@@ -34,6 +34,10 @@ properties:
errors:
- xyz::openbmc_project.Common.Error.NotAllowed
+ - name: BackupGateway
+ type: string
+ description: >
+ This is the IP address of the backup gateway.
- name: Type
type: enum[self.Protocol]
description: >
--
2.17.1
|