Skip to content
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
4 changes: 4 additions & 0 deletions spec/ControllerDomainManager+services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ servers:
uuid:
- operation-name: /p1/measure-list-of-forwardings
uuid:
- operation-name: /p1/measure-controller
uuid:
- operation-name: /p1/measure-list-of-mount-points
uuid:
- operation-name: /p1/measure-links
Expand Down Expand Up @@ -259,6 +261,8 @@ servers:
uuid:
- operation-name: /p1/reconstruct-forwarding
uuid:
- operation-name: /p1/reconstruct-controller
uuid:
- operation-name: /p1/construct-mount-point
uuid:
- operation-name: /p1/destruct-mount-point
Expand Down
20 changes: 20 additions & 0 deletions spec/Elements/ADM/adm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,17 @@ paths:
remote-port:
type: integer
description: 'Remote TCP port at the TcpClient of the LTP identified by the managementDomain from OperationalDS'
http-user-name:
type: string
description: 'Username applied by the HttpClient of the LTP identified by the managementDomain from OperationalDS'
http-password:
type: integer
description: 'Password applied by the HttpClient of the LTP identified by the managementDomain from OperationalDS'
example:
remote-ip-address: '127.0.0.1'
remote-port: 4711
http-user-name: 'MicroWaveDeviceInventory'
http-password: 'geheim123'
headers:
x-correlator:
schema:
Expand Down Expand Up @@ -158,11 +166,23 @@ paths:
description: >
'New value of the remote TCP port at the TcpClient of the LTP identified by the managementDomain
from [CDM://p1/reconstruct-management-domain-interface$request.body#remote-port]'
http-user-name:
type: string
description: >
'New value of the username to be applied by the HttpClient of the LTP identified by the managementDomain
from [CDM://p1/reconstruct-management-domain-interface$request.body#http-user-name]'
http-password:
type: integer
description: >
'New value of the password to be applied by the HttpClient of the LTP identified by the managementDomain
from [CDM://p1/reconstruct-management-domain-interface$request.body#http-password]'
example:
application-name: 'MicroWaveDeviceInventory'
management-domain-name: 'live'
remote-ip-address: '127.0.0.1'
remote-port: 4712
http-user-name: 'MicroWaveDeviceInventory'
http-password: 'geheim123'
responses:
'204':
description: 'ManagementDomainInterface updated'
Expand Down
18 changes: 18 additions & 0 deletions spec/Elements/OpenDaylight/OpenDaylight.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,30 @@ The OpenDaylight Controller is an open source controller [project](https://www.o

### MeasurementFunctions

- /p1/measure-controller
get ???

.

Request for reading user credentials from OpenDaylight to be added here and in the excerpt of its proprietary API

.

- /p1/measure-list-of-mount-points
get /rests/data/network-topology:network-topology/topology=topology-netconf?fields=node


### ImplementationFunctions

- /p1/reconstruct-controller
put ???

.

Requests for updating the user credentials in OpenDaylight to be added here and in the excerpt of its proprietary API

.

- /p1/construct-mount-point
post /rests/data/network-topology:network-topology/topology=topology-netconf

Expand Down
38 changes: 38 additions & 0 deletions spec/Functions/Implementation/ImplementationFunctions.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Managed Elements and associated ImplementationFunctions:
- Update Forwarding
- /p1/reconstruct-forwarding
- [Controller and MountPoint](#controller-and-mountpoint)
- Update Controller
- /p1/reconstruct-controller
- Create MountPoint
- /p1/construct-mount-point
- Delete MountPoint
Expand Down Expand Up @@ -51,6 +53,7 @@ Is addressing the [ApplicationDomainManager](https://github.com/openBackhaul/App

#### Made Configurations:
- The Application's TcpClient is adjusted with the TCP/IP address of either LoadBalancer or Controller
- The Application's HttpClient is adjusted with the user credentials at the Controllers

#### Inverse Interpretations:
Callback$request.body#remote-ip-address:
Expand All @@ -59,6 +62,12 @@ Callback$request.body#remote-ip-address:
request.body#remote-port:
- From [remote-port] at LP identified by 'tcp-client' inside LTP identified by [management-domain] inside ControlConstruct identified by [application-name] in RunningDS

request.body#http-user-name:
- From [http-user-name] at LP identified by 'http-client' inside LTP identified by [management-domain] inside ControlConstruct identified by [application-name] in RunningDS

request.body#http-password:
- From [http-password] at LP identified by 'http-client' inside LTP identified by [management-domain] inside ControlConstruct identified by [application-name] in RunningDS

#### Feedback into CurrentAlarms:
- date-of-attempt
- response-code
Expand Down Expand Up @@ -194,6 +203,34 @@ If the Callback would return local-ip-address and local-port of the newly create
The CDM encapsulates the Controller.
It manages the entire logical resource of the Controller, which is the MountPoints.

### /p1/reconstruct-controller

Is addressing the OpenDaylight controller

#### Input:
- controller-name
Name of the Controller that shall be updated

#### Callback:
- [ODL://rests/???](../../Elements/OpenDaylight/OpenDaylight.yaml)

#### Made Configurations:
- User credentials are updated

#### Inverse Interpretations:
- Callback$???:
- From [http-user-name] at LP[*] inside LTP identified by 'controller-manager' inside ControlConstruct identified by [controller-name] in RunningDS
- Callback$???:
- From [http-password] at LP[*] inside LTP identified by 'controller-manager' inside ControlConstruct identified by [controller-name] in RunningDS

#### Feedback into CurrentAlarms:
- date-of-attempt
- response-code
- date-of-next-attempt-to-fix

#### Output:
./.

### /p1/construct-mount-point

Is addressing the OpenDaylight controller
Expand Down Expand Up @@ -325,3 +362,4 @@ Is addressing the OpenDaylight controller

#### Output:
./.

Loading
Loading