summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0002-Modify-Dbus-for-IPv6.patch
blob: 3ca81c38832346800dcf66676cb0d3bcfdcc30bc (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
60
61
From 068b816b3c9bf75dcd2a808fc81c67a32fbe29ea 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] Modify Dbus for IPv6.

Add additional interfaces for IPv6 use.
---
 .../Network/EthernetInterface.interface.yaml            | 17 ++++++++++++++++-
 xyz/openbmc_project/Network/IP.interface.yaml           |  4 ++++
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/xyz/openbmc_project/Network/EthernetInterface.interface.yaml b/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
index 744ac77..6b7cd9a 100644
--- a/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
+++ b/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
@@ -42,6 +42,14 @@ properties:
       description: >
           This indicates link local auto configuration on this ethernet
           interface and configured on this ethernet interface.
+    - name: IPv6AcceptRA
+      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
@@ -52,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 565dcd6..2ffb016 100644
--- a/xyz/openbmc_project/Network/IP.interface.yaml
+++ b/xyz/openbmc_project/Network/IP.interface.yaml
@@ -22,6 +22,10 @@ properties:
       type: string
       description: >
           This is the IP gateway for this address.
+    - name: BackupGateway
+      type: string
+      description: >
+          This is the IP address of the backup gateway.
     - name: Type
       type: enum[self.Protocol]
       description: >
-- 
2.7.4