Skip to content

Commit

Permalink
add sofdcar battery
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner authored Jun 26, 2023
1 parent 0583588 commit ecf76f4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/docs/sofdcar/profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ This topic is also discussed in more detail in [TOSCA Networking](https://docs.o

--8<-- "sofdcar/tosca-sofdcar-profile-core.md"


## TOSCA SofDCar Extended Profile

The extended normative TOSCA type definitions contain additional high-level type definitions which are derived from the core type definitions.
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/sofdcar/tosca-sofdcar-profile-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,15 @@ sofdcar.nodes.Channel:
- UNBOUNDED
```
#### sofdcar.nodes.Battery
The node all other batteries are derived from.
```yaml linenums="1"
sofdcar.nodes.Battery:
derived_from: sofdcar.nodes.Root
```
### Policy Types
We specify the following normative policy types.
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/sofdcar/tosca-sofdcar-profile-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ node_types:
type: sofdcar.capabilities.Endpoint
occurrences: [0, UNBOUNDED]

sofdcar.nodes.Battery:
description: The node all other batteries are derived from.
derived_from: sofdcar.nodes.Root

policy_types:
sofdcar.policies.Root:
description: The policy all other policies are derived from.
Expand Down

0 comments on commit ecf76f4

Please sign in to comment.