Skip to content

Commit 1d60a72

Browse files
fix MegaLinter
1 parent ae4d380 commit 1d60a72

File tree

1 file changed

+89
-89
lines changed

1 file changed

+89
-89
lines changed

code/API_definitions/Traffic_Influence.yaml

+89-89
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ info:
151151
The traffic can be from a specific application port in the Device.\
152152
\
153153
**destinationTrafficFilters:**
154-
The Application can expose different service on different interfaces,
155-
identified by port and protocol, with this parameter it is possible to
154+
The Application can expose different service on different interfaces,
155+
identified by port and protocol, with this parameter it is possible to
156156
route the traffic just toward some of those services maybe for different
157157
sets of users.\
158158
\
@@ -659,7 +659,7 @@ components:
659659
specified application server address and ports.
660660
type: object
661661
properties:
662-
sourcePort:
662+
sourcePort:
663663
allOf:
664664
- $ref: "#/components/schemas/PortsSpec"
665665
destinationTrafficFilters:
@@ -669,7 +669,7 @@ components:
669669
(e.g. TCP or UDP) can be specified.
670670
type: object
671671
properties:
672-
destinationPort:
672+
destinationPort:
673673
allOf:
674674
- $ref: "#/components/schemas/PortsSpec"
675675
destinationProtocol:
@@ -731,84 +731,84 @@ components:
731731
type: string
732732
additionalProperties: false
733733
Device:
734-
description: |
735-
End-user equipment able to connect to a mobile network. Examples of
736-
devices include smartphones or IoT sensors/actuators.
737-
The developer can choose to provide the below specified device
738-
identifiers:
739-
* `ipv4Address`
740-
* `ipv6Address`
741-
* `phoneNumber`
742-
* `networkAccessIdentifier`
743-
NOTE: the MNO might support only a subset of these options. The API
744-
invoker can provide multiple identifiers to be compatible across
745-
different MNOs. In this case the identifiers MUST belong to the same
746-
device.
747-
type: object
748-
properties:
749-
phoneNumber:
750-
$ref: "#/components/schemas/PhoneNumber"
751-
networkAccessIdentifier:
752-
$ref: "#/components/schemas/NetworkAccessIdentifier"
753-
ipv4Address:
754-
$ref: "#/components/schemas/DeviceIpv4Addr"
755-
ipv6Address:
756-
$ref: "#/components/schemas/DeviceIpv6Address"
757-
minProperties: 1
734+
description: |
735+
End-user equipment able to connect to a mobile network. Examples of
736+
devices include smartphones or IoT sensors/actuators.
737+
The developer can choose to provide the below specified device
738+
identifiers:
739+
* `ipv4Address`
740+
* `ipv6Address`
741+
* `phoneNumber`
742+
* `networkAccessIdentifier`
743+
NOTE: the MNO might support only a subset of these options. The API
744+
invoker can provide multiple identifiers to be compatible across
745+
different MNOs. In this case the identifiers MUST belong to the same
746+
device.
747+
type: object
748+
properties:
749+
phoneNumber:
750+
$ref: "#/components/schemas/PhoneNumber"
751+
networkAccessIdentifier:
752+
$ref: "#/components/schemas/NetworkAccessIdentifier"
753+
ipv4Address:
754+
$ref: "#/components/schemas/DeviceIpv4Addr"
755+
ipv6Address:
756+
$ref: "#/components/schemas/DeviceIpv6Address"
757+
minProperties: 1
758758
PhoneNumber:
759-
description: A public identifier addressing a telephone subscription. In
760-
mobile networks it corresponds to the MSISDN (Mobile Station
761-
International Subscriber Directory Number). In order to be globally
762-
unique it has to be formatted in international format, according to
763-
E.164 standard, prefixed with '+'.
764-
type: string
765-
pattern: '^\+[1-9][0-9]{4,14}$'
766-
example: "+123456789"
759+
description: A public identifier addressing a telephone subscription. In
760+
mobile networks it corresponds to the MSISDN (Mobile Station
761+
International Subscriber Directory Number). In order to be globally
762+
unique it has to be formatted in international format, according to
763+
E.164 standard, prefixed with '+'.
764+
type: string
765+
pattern: '^\+[1-9][0-9]{4,14}$'
766+
example: "+123456789"
767767
NetworkAccessIdentifier:
768-
description: A public identifier addressing a subscription in a mobile
769-
network. In 3GPP terminology, it corresponds to the GPSI formatted with
770-
the External Identifier ({Local Identifier}@{Domain Identifier}).
771-
Unlike the telephone number, the network access identifier is not
772-
subjected to portability ruling in force, and is individually managed
773-
by each operator.
774-
type: string
775-
example: "[email protected]"
768+
description: A public identifier addressing a subscription in a mobile
769+
network. In 3GPP terminology, it corresponds to the GPSI formatted with
770+
the External Identifier ({Local Identifier}@{Domain Identifier}).
771+
Unlike the telephone number, the network access identifier is not
772+
subjected to portability ruling in force, and is individually managed
773+
by each operator.
774+
type: string
775+
example: "[email protected]"
776776
DeviceIpv4Addr:
777-
type: object
778-
description: |
779-
The device should be identified by either the public (observed) IP address
780-
and port as seen by the application server, or the private (local) and
781-
any public (observed) IP addresses in use by the device (this
782-
information can be obtained by various means, for example from some DNS
783-
servers).
784-
If the allocated and observed IP addresses are the same (i.e. NAT is not
785-
in use) then the same address should be specified for both publicAddress
786-
and privateAddress.
787-
If NAT64 is in use, the device should be identified by its publicAddress
788-
and publicPort, or separately by its allocated IPv6 address (field
789-
ipv6Address of the Device object)
790-
In all cases, publicAddress must be specified, along with at least one
791-
of either privateAddress or publicPort, dependent upon which is known.
792-
In general, mobile devices cannot be identified by their public IPv4
793-
address alone.
794-
properties:
795-
publicAddress:
796-
$ref: "#/components/schemas/SingleIpv4Addr"
797-
privateAddress:
798-
$ref: "#/components/schemas/SingleIpv4Addr"
799-
publicPort:
800-
$ref: "#/components/schemas/Port"
801-
anyOf:
802-
- required: [publicAddress, privateAddress]
803-
- required: [publicAddress, publicPort]
804-
example:
805-
publicAddress: "84.125.93.10"
806-
publicPort: 59765
777+
type: object
778+
description: |
779+
The device should be identified by either the public (observed) IP address
780+
and port as seen by the application server, or the private (local) and
781+
any public (observed) IP addresses in use by the device (this
782+
information can be obtained by various means, for example from some DNS
783+
servers).
784+
If the allocated and observed IP addresses are the same (i.e. NAT is not
785+
in use) then the same address should be specified for both publicAddress
786+
and privateAddress.
787+
If NAT64 is in use, the device should be identified by its publicAddress
788+
and publicPort, or separately by its allocated IPv6 address (field
789+
ipv6Address of the Device object)
790+
In all cases, publicAddress must be specified, along with at least one
791+
of either privateAddress or publicPort, dependent upon which is known.
792+
In general, mobile devices cannot be identified by their public IPv4
793+
address alone.
794+
properties:
795+
publicAddress:
796+
$ref: "#/components/schemas/SingleIpv4Addr"
797+
privateAddress:
798+
$ref: "#/components/schemas/SingleIpv4Addr"
799+
publicPort:
800+
$ref: "#/components/schemas/Port"
801+
anyOf:
802+
- required: [publicAddress, privateAddress]
803+
- required: [publicAddress, publicPort]
804+
example:
805+
publicAddress: "84.125.93.10"
806+
publicPort: 59765
807807
SingleIpv4Addr:
808-
description: A single IPv4 address with no subnet mask
809-
type: string
810-
format: ipv4
811-
example: "84.125.93.10"
808+
description: A single IPv4 address with no subnet mask
809+
type: string
810+
format: ipv4
811+
example: "84.125.93.10"
812812
PortsSpec:
813813
description: Specification of several TCP or UDP ports
814814
type: object
@@ -829,10 +829,10 @@ components:
829829
to:
830830
$ref: "#/components/schemas/Port"
831831
Port:
832-
description: TCP or UDP port number
833-
type: integer
834-
minimum: 0
835-
maximum: 65535
832+
description: TCP or UDP port number
833+
type: integer
834+
minimum: 0
835+
maximum: 65535
836836
Protocol:
837837
description: The protocol for the influeced flow. It can be specified and
838838
it is identified by a string according to the column “Keyword” as defined
@@ -841,13 +841,13 @@ components:
841841
type: string
842842
example: "TCP"
843843
DeviceIpv6Address:
844-
description: |
845-
The device should be identified by the observed IPv6 address, or by any
846-
single IPv6 address from within the subnet allocated to the device (e.g.
847-
adding ::0 to the /64 prefix).
848-
type: string
849-
format: ipv6
850-
example: 2001:db8:85a3:8d3:1319:8a2e:370:7344
844+
description: |
845+
The device should be identified by the observed IPv6 address, or by any
846+
single IPv6 address from within the subnet allocated to the device (e.g.
847+
adding ::0 to the /64 prefix).
848+
type: string
849+
format: ipv6
850+
example: 2001:db8:85a3:8d3:1319:8a2e:370:7344
851851
AppInstanceId:
852852
type: string
853853
format: uuid

0 commit comments

Comments
 (0)