-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
odf-4.16
-
None
Describe the issue:
There seems to be a YAML formatting issue with the Multus example YAMLs. I think this was my fault. There was likely a copy-paste issue when I copied things into my google doc when writing the docs.
YAML docs should be indented with 2 spaces per hierarchy level, but the first hierarchy level is only indented 1 space.
I can see the mistake here:
And here in both example outputs (NodeNetConfPolicies and NetAttDef):
Also above, I see a typo `Interfaces` in the last NNCP section should be lower cased: `interfaces`. This was a google doc auto-capital typo.
Describe the task you were trying to accomplish: Multus setup for 4.16
Suggestions for improvement:
Make sure YAML hierarchy levels are indented 2 spaces each.
Interfaces --> interfaces
Correct indentation example snippet:
```
apiVersion: nmstate.io/v1
kind: NodeNetworkConfigurationPolicy
metadata:
name: ceph-public-net-shim-compute-2 # [1]
namespace: openshift-storage
spec:
nodeSelector:
node-role.kubernetes.io/worker: ""
kubernetes.io/hostname: compute-2 # [2]
- etc. etc. etc.
```
Chapter/Section Number and Title: 8.2.1.2 and 8.2.2
Product Version: 4.16
Environment Details: Multus
Any other versions of this document that also needs this update: Only 4.16+
Additional information: