resources: Parse YAML infinity specifications correctly
This makes it easier to specify an infinite rate.
This commit is contained in:
13
examples/file5.yaml
Normal file
13
examples/file5.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
graph: mygraph
|
||||
resources:
|
||||
file:
|
||||
- name: file1
|
||||
meta:
|
||||
limit: .inf
|
||||
burst: 0
|
||||
path: "/tmp/mgmt/hello"
|
||||
content: |
|
||||
i am a file
|
||||
state: exists
|
||||
edges: []
|
||||
Reference in New Issue
Block a user