Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sofdcar battery #137

Merged
merged 2 commits into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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