yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/xyz/openbmc_project/Network/Client.interface.yaml b/yaml/xyz/openbmc_project/Network/Client.interface.yaml
index 8c8eaeb..188bcd9 100644
--- a/yaml/xyz/openbmc_project/Network/Client.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/Client.interface.yaml
@@ -9,11 +9,11 @@
description: >
The value of this property can be IP/hostname of the network endpoint.
errors:
- - xyz.openbmc_project.Common.Error.InvalidArgument
- - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.InternalFailure
- name: Port
type: uint16
description: >
The value of this property is the network port number.
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InternalFailure
diff --git a/yaml/xyz/openbmc_project/Network/Client/Create.interface.yaml b/yaml/xyz/openbmc_project/Network/Client/Create.interface.yaml
index 77955d5..d904762 100644
--- a/yaml/xyz/openbmc_project/Network/Client/Create.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/Client/Create.interface.yaml
@@ -4,18 +4,18 @@
description: >
Create network client endpoint.
parameters:
- - name: Address
- type: string
- description: >
- IP Address/Hostname
- - name: Port
- type: uint16
- description: >
- Network port.
+ - name: Address
+ type: string
+ description: >
+ IP Address/Hostname
+ - name: Port
+ type: uint16
+ description: >
+ Network port.
errors:
- - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.InvalidArgument
returns:
- - name: path
- type: string
- description: >
- Path of the object which has been created.
+ - name: path
+ type: string
+ description: >
+ Path of the object which has been created.
diff --git a/yaml/xyz/openbmc_project/Network/EthernetInterface.interface.yaml b/yaml/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
index d8b6d2f..09ddf04 100644
--- a/yaml/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
@@ -3,7 +3,6 @@
An object implementing this interface must implement
xyz.openbmc_project.State.OperationalStatus.
-
properties:
- name: InterfaceName
type: string
@@ -47,7 +46,7 @@
provided addresses, or in cases where the DHCP server provides no DNS
assigments.
errors:
- - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.InvalidArgument
- name: NTPServers
type: array[string]
description: >
@@ -82,7 +81,7 @@
description: >
Default IPv4 gateway of the ethernet interface.
errors:
- - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.InvalidArgument
- name: DefaultGateway6
type: string
description: >
@@ -91,24 +90,24 @@
Refer below man page for both v4 and v6 address format details
https://man7.org/linux/man-pages/man3/inet_pton.3.html
errors:
- - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.InvalidArgument
enumerations:
- name: LinkLocalConf
description: >
Possible link local auto configuration values.
values:
- - name: fallback
- - name: both
- - name: v4
- - name: v6
- - name: none
+ - name: fallback
+ - name: both
+ - name: v4
+ - name: v6
+ - name: none
- name: DHCPConf
description: >
A list of the permitted DHCP settings used by systemd.
values:
- - name: both
- - name: v4
- - name: v6
- - name: none
+ - name: both
+ - name: v4
+ - name: v6
+ - name: none
diff --git a/yaml/xyz/openbmc_project/Network/Experimental/Bond.interface.yaml b/yaml/xyz/openbmc_project/Network/Experimental/Bond.interface.yaml
index 2120875..f0b3472 100644
--- a/yaml/xyz/openbmc_project/Network/Experimental/Bond.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/Experimental/Bond.interface.yaml
@@ -30,56 +30,56 @@
description: >
Possible bonding mode types.
values:
- - name: RoundRobin
- description: >
- It is the default mode,in this mode system transmits packets in
- sequential order from the first available slave through the last.
- - name: ActiveBackup
- description: >
- In this mode, only one slave in the bond is active.
- The other one will become active, only when the active slave fails.
- - name: XOR
- description: >
- Transmit based on selectable hashing algorithm.
- The default policy is a simple source+destination MAC address algorithm.
- - name: Broadcast
- description: >
- Transmits everything on all slave interfaces.
- - name: Dynamic
- description: >
- IEEE 802.3ad Dynamic link aggregation.
- - name: TLB
- description: >
- The outgoing traffic is distributed according to the current load on each slave.
- - name: ALB
- description: >
- Incoming/outgoing traffic is distributed according to the current load on each slave.
+ - name: RoundRobin
+ description: >
+ It is the default mode,in this mode system transmits packets in
+ sequential order from the first available slave through the last.
+ - name: ActiveBackup
+ description: >
+ In this mode, only one slave in the bond is active.
+ The other one will become active, only when the active slave fails.
+ - name: XOR
+ description: >
+ Transmit based on selectable hashing algorithm.
+ The default policy is a simple source+destination MAC address algorithm.
+ - name: Broadcast
+ description: >
+ Transmits everything on all slave interfaces.
+ - name: Dynamic
+ description: >
+ IEEE 802.3ad Dynamic link aggregation.
+ - name: TLB
+ description: >
+ The outgoing traffic is distributed according to the current load on each slave.
+ - name: ALB
+ description: >
+ Incoming/outgoing traffic is distributed according to the current load on each slave.
- name: HashPolicy
description: >
Possible policy types.
values:
- - name: Layer2
- description: >
- This policy uses XOR of hardware MAC addresses and packet type ID
- field to generate the hash.
- - name: Layer2Plus3
- description: >
- This policy uses a combination of layer2 and layer3
- protocol information to generate the hash.
- - name: Layer3Plus4
- description: >
- This policy uses upper layer protocol information,
- when available, to generate the hash.
- - name: Encap2Plus3
- description: >
- This policy uses the same formula as layer2+3 but it
- relies on skb_flow_dissect to obtain the header fields
- which might result in the use of inner headers if an
- encapsulation protocol is used.
- - name: Encap3Plus4
- description: >
- This policy uses the same formula as layer3+4 but it
- relies on skb_flow_dissect to obtain the header fields
- which might result in the use of inner headers if an
- encapsulation protocol is used.
+ - name: Layer2
+ description: >
+ This policy uses XOR of hardware MAC addresses and packet type ID
+ field to generate the hash.
+ - name: Layer2Plus3
+ description: >
+ This policy uses a combination of layer2 and layer3
+ protocol information to generate the hash.
+ - name: Layer3Plus4
+ description: >
+ This policy uses upper layer protocol information,
+ when available, to generate the hash.
+ - name: Encap2Plus3
+ description: >
+ This policy uses the same formula as layer2+3 but it
+ relies on skb_flow_dissect to obtain the header fields
+ which might result in the use of inner headers if an
+ encapsulation protocol is used.
+ - name: Encap3Plus4
+ description: >
+ This policy uses the same formula as layer3+4 but it
+ relies on skb_flow_dissect to obtain the header fields
+ which might result in the use of inner headers if an
+ encapsulation protocol is used.
diff --git a/yaml/xyz/openbmc_project/Network/Experimental/Tunnel.interface.yaml b/yaml/xyz/openbmc_project/Network/Experimental/Tunnel.interface.yaml
index 89e3039..fe2bdae 100644
--- a/yaml/xyz/openbmc_project/Network/Experimental/Tunnel.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/Experimental/Tunnel.interface.yaml
@@ -71,12 +71,12 @@
description: >
Possible IPv6 tunnel types.
values:
- - name: ip6ip6
- description: >
- IPv6 over IPv6.
- - name: ipip6
- description: >
- IPv4 over IPv6.
- - name: any
- description: >
- Either ip6ip6 or ipip6.
+ - name: ip6ip6
+ description: >
+ IPv6 over IPv6.
+ - name: ipip6
+ description: >
+ IPv4 over IPv6.
+ - name: any
+ description: >
+ Either ip6ip6 or ipip6.
diff --git a/yaml/xyz/openbmc_project/Network/IP.interface.yaml b/yaml/xyz/openbmc_project/Network/IP.interface.yaml
index 5091ac9..8490873 100644
--- a/yaml/xyz/openbmc_project/Network/IP.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/IP.interface.yaml
@@ -46,22 +46,22 @@
description: >
Possible IP protocol types.
values:
- - name: IPv4
- - name: IPv6
+ - name: IPv4
+ - name: IPv6
- name: AddressOrigin
description: >
Possible IP address origin types.
values:
- - name: Static
- description: >
- Static address configured by the server.
- - name: DHCP
- description: >
- Address is provided by a DHCP service.
- - name: LinkLocal
- description: >
- Address is valid only for this network segment.
- - name: SLAAC
- description: >
- Address is provided by a Stateless Address Autoconfiguration.
+ - name: Static
+ description: >
+ Static address configured by the server.
+ - name: DHCP
+ description: >
+ Address is provided by a DHCP service.
+ - name: LinkLocal
+ description: >
+ Address is valid only for this network segment.
+ - name: SLAAC
+ description: >
+ Address is provided by a Stateless Address Autoconfiguration.
diff --git a/yaml/xyz/openbmc_project/Network/MACAddress.interface.yaml b/yaml/xyz/openbmc_project/Network/MACAddress.interface.yaml
index 243770d..5ec8cd9 100644
--- a/yaml/xyz/openbmc_project/Network/MACAddress.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/MACAddress.interface.yaml
@@ -9,6 +9,6 @@
two hexadecimal digits separated by colons.
Example: 01:23:45:67:89:AB
errors:
- - xyz.openbmc_project.Common.Error.InvalidArgument
- - xyz.openbmc_project.Common.Error.InternalFailure
- - xyz.openbmc_project.Common.Error.NotAllowed
+ - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.NotAllowed
diff --git a/yaml/xyz/openbmc_project/Network/Neighbor.interface.yaml b/yaml/xyz/openbmc_project/Network/Neighbor.interface.yaml
index a2c4161..ecc38ec 100644
--- a/yaml/xyz/openbmc_project/Network/Neighbor.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/Neighbor.interface.yaml
@@ -23,8 +23,8 @@
description: >
The internal state of the neighbor entry.
values:
- - name: Incomplete
- - name: Reachable
- - name: Stale
- - name: Invalid
- - name: Permanent
+ - name: Incomplete
+ - name: Reachable
+ - name: Stale
+ - name: Invalid
+ - name: Permanent
diff --git a/yaml/xyz/openbmc_project/Network/SystemConfiguration.interface.yaml b/yaml/xyz/openbmc_project/Network/SystemConfiguration.interface.yaml
index 29033fb..0fc0ef7 100644
--- a/yaml/xyz/openbmc_project/Network/SystemConfiguration.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/SystemConfiguration.interface.yaml
@@ -13,10 +13,10 @@
description: >
default IPv4 gateway of the system.
errors:
- - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.InvalidArgument
- name: DefaultGateway6
type: string
description: >
default IPv6 gateway of the system.
errors:
- - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.InvalidArgument
diff --git a/yaml/xyz/openbmc_project/Network/VLAN.interface.yaml b/yaml/xyz/openbmc_project/Network/VLAN.interface.yaml
index bac27d7..873b1b7 100644
--- a/yaml/xyz/openbmc_project/Network/VLAN.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/VLAN.interface.yaml
@@ -5,11 +5,11 @@
# creatable: true
properties:
- - name: InterfaceName
- type: string
- description: >
- Name of the interface.
- - name: Id
- type: uint32
- description: >
- VLAN Identifier.
+ - name: InterfaceName
+ type: string
+ description: >
+ Name of the interface.
+ - name: Id
+ type: uint32
+ description: >
+ VLAN Identifier.