-
Notifications
You must be signed in to change notification settings - Fork 0
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
Supporting EthernetContainerFc Creation with proper UUID #2
Comments
Issue addressed by defining the following RPCs:
|
Discussion on 7th of March 2023: |
Decision made at the 5G-xhaul call on 26th of April 2023: The following comment to be added to the EthernetContainerFd class: "If the Ethernet switch is forwarding incoming frames to all interfaces until it made an entry about a source MAC address in its table as a default, there shall be an EthernetContainerFc connecting all the interfaces of the Ethernet switch as an initial state." An Interface of name EthernetContainerFdOperations shall be created. An Operation of name createEthernetContainerFc shall be created with comment "Creates a new layer 1 frame forwarding between the referenced interfaces on the referenced Ethernet switch or hub. The following error-messages are to be send, if the operation would fail: #[onf:Referenced object is invalid.]#, if the referenced ForwardingDomain or at least one of the referenced LogicalTerminationPoints does not exist on the EthernetContainer layer, or if at least one of the referenced LogicalTerminationPoints is not connected to the referenced ForwardingDomain. #[onf:Resources not available.]#, if e.g. an additional layer 1 forwarding cannot be configured or a referenced LogicalTerminationPoint is already referenced by an existing EthernetContainerFc."
An Operation of name addEthernetContainerToFc shall be created with comment "Adds another EthernetContainer interface to an existing frame forwarding (EthernetContainerFc). The following error-messages are to be send, if the operation would fail: #[onf:EthernetContainer cannot be added to frame forwarding.]#, e.g. if the hardware does not support modifying the referenced forwarding or the EthernetContainer already belong to another frame forwarding. #[onf:Referenced object is invalid.]#, if the referenced ForwardingConstruct or the referenced LogicalTerminationPoint does not exist or does not belong to the EthernetContainer layer, or the referenced LogicalTerminationPoint is not connected with the EthernetContainerFd that holds the referenced EthernetContainerFc."
An Operation of name removeEthernetContainerFromFc shall be created with comment "Removes an EthernetContainer interface from an existing frame forwarding (EthernetContainerFc). The following error-messages are to be send, if the operation would fail: #[onf:EthernetContainer cannot be removed from frame forwarding.]#, e.g. if the hardware does not support modifying the referenced forwarding. #[onf:Referenced object is invalid.]#, if the referenced ForwardingConstruct or the referenced LogicalTerminationPoint does not exist or does not belong to the EthernetContainer layer."
An Operation of name deleteEthernetContainerFc shall be created with comment "Removes an existing frame forwarding (EthernetContainerFc). The following error-messages are to be send, if the operation would fail: #[onf:Frame forwarding cannot be deleted.]#, e.g. if the hardware does not support deleting the referenced forwarding. #[onf:Referenced object is invalid.]#, if the referenced ForwardingDomain or ForwardingConstruct does not belong to the EthernetContainer layer or the referenced ForwardingConstruct connot be found in the referenced ForwardingDomain."
|
RPCs for modifying the FCs will be part of the EthernetContainerFC modelling. |
createEthernetContainerFc and deleteEthernetContainerFc have been added to the UML model of EthernetContainerFD. |
While configuring a new Layer 1 connection inside the Device, means instantiating a new EthernetContainerFc, the ForwardingConstruct object of the to be created EthernetContainerFc has to contain some value in its uuid attribute (because it is the key attribute in the ForwardingDomain::_fc [*] attribute).
Problem: The Application cannot anticipate the UUID value, which will be assigned by the Device to the ForwardingConstruct object.
Idea: The Device shall tell the Application, which UUID value to be used while instantiating the EthernetContainerFc.
In the specific case of the EthernetContainer, it is assumed that the UUID value, which is assigned by the Device, is totally random. This also means that no input parameter is required for calculating the correct UUID value.
Peripheral Difficulty: If just the to be used UUID value would be represented by the Device, it might happen that this UUID value would be used twice and the second user would override an already existing EthernetContainerFc while attempting to create a new one.
Proposal:
An EthernetContainerFdConfiguration::fcCreatorName : String [1] = "FC Creator not yet identified" attribute shall be added.
A nextEthernetContainerFcUuidType datatype shall be created.
A nextEthernetContainerFcUuidType::nameOfCreatorOfToBeCreatedEthernetContainerFc : String [1] = "FC Creator not yet identified" attribute shall be added.
A nextEthernetContainerFcUuidType::uuidOfToBeCreatedEthernetContainerFc : String = "UUID not yet created." attribute shall be added.
An EthernetContainerFdStatus::nextEthernetContainerFcUuid : nextEthernetContainerFcUuidType [1] attribute shall be added.
As soon as some value has been successfully configured into the EthernetContainerFdConfiguration::fcCreatorName attribute, the EthernetContainerFdStatus::nextEthernetContainerFcUuid::nameOfCreatorOfToBeCreatedEthernetContainerFc attribute shall represent the exact same value and the EthernetContainerFdStatus::nextEthernetContainerFcUuid::uuidOfToBeCreatedEthernetContainerFc shall contain the UUID value, which is to be used while instantiating the EthernetContainerFc.
Overwriting an existing EthernetContainerFc will be prevented by every creator creating his own UUID value. This process will only properly work, if UUID need not to be in sequence during instantiation of the EthernetContainerFc.
The text was updated successfully, but these errors were encountered: