CoapServerConfig Object


Description:

Specifies parameter to configure CoAP Server

Parents: EmulatedDevice

Children: CoapCustomPdu, CoapResourceConfig, CoapSessionDetails

Automatically-created children: CoapOptionsConfig

Relations:

Side name
(Type)
Relative Description
ClientLoadProfile
(AffiliatedClientLoadProfile)

ClientLoadProfile

The affiliated client load profile.

AffiliatedProtocolProfile
(AffiliatedProtocolProfile)

OpenflowProtocolProfile, OtvProtocolProfile

The affiliated Protocol load profile.

ViewControlPlaneMplsBindingResult
(ControlPlaneBindingResult)

ViewControlPlaneMplsBindingResult

Mpls Control Plane Binding Result

ConvergenceConfig
(PrimaryPathProtocolConfig)

ConvergenceConfig, ConvergenceConfig

Primary Path Protocol Config

ProtocolConnectionDestination
(ProtocolConnectionDestination)

AutosarTimeSyncConfig, CoapServerConfig, EcpriProtocolConfig, Ieee80211AccessPointConfig, Ieee80211ClientConfig, MacsecSupplicantBlockConfig, OamFlexeClientConfig, OpenflowControllerProtocolConfig, OpflexDeviceConfig, OseSwitchConfig, OtvEdgeDeviceConfig, OtvSiteDeviceConfig, OvsdbServerConfig, TrillRbridgeConfig, VdpStationConfig, VsiBlockConfig, VxlanVtepConfig

Specifies Parameter to hold CoAP Server relation

TimeComparisonPair
(TimeComparisonPairSrcProtocol)

TsnProtocolsTimeComparisonPair, TsnProtocolsTimeComparisonPair

UsesIf
(UsesIf)

Aal5If, EthIIIf, FcIf, GreIf, GroupIf, HdlcIf, Ipv4If, Ipv6If, Ipv6SrhIf, ItagIf, L2tpv2If, L2tpv3If, LispIf, MacsecIf, MplsIf, PppIf, PppoeIf, TrillIf, VbrasIf, VlanIf, VxlanGpeIf, VxlanIf

Specifies the interfaces used by the configuration object (configuration object examples: BgpRouterConfig, LdpRouterConfig, and so on).

CoapServerConfig Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
CoapAuthMethod

CoAP DTLS Authentication method

Type: enum

Default: PSK

Possible Values:

Value Description
PSK

PSK Authentication method

CoapVersion

Value indicating the CoAP protocol version

Type: u8

Default: 1

Range: 1 - 1

DutIpv4Addr

CoAP Client IP Address

Type: ip

Default: 192.85.1.1

DutIpv4AddrStep

CoAP Client IP Address Step

Type: ip

Default: 0.0.0.0

DutIpv6Addr

CoAP Client IPv6 Address

Type: ipv6

Default: 2000::1

DutIpv6AddrStep

CoAP Client IPv6 Address Step

Type: ipv6

Default: ::1

DutPort

DUT Port

Type: u16

Default: 5684

Range: 1 - 65535

DutPortStep

DUT Port Step

Type: u16

Default: 1

Range: 0 - 65535

DynamicLoad

Dynamic Load in CoAP

Type: s32

Default: 30

Range: 1 - 1000000

EnableDtls

Flag to enable DTLS

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Enabled DTLS

FALSE

Disabled DTLS

EndpointConnectionPattern

CoAP Endpoint Connection Pattern

Type: enum

Default: PAIR

Possible Values:

Value Description
PAIR

CoAP Endpoint Connection Pattern Options

BACKBONE_SRC_FIRST

CoAP Endpoint Connection Pattern Backbone Source First

BACKBONE_DST_FIRST

CoAP Endpoint Connection Pattern Backbone Destination First

BACKBONE_INTERLEAVED

CoAP Endpoint Connection Pattern Backbone Interleaved

EndpointName

CoAP DTLS Endpoint name

Type: string

Default: spirent

IpVersion

CoAP IP Version.

Type: enum

Default: IPV4

Possible Values:

Value Description
IPV4

CoAP over IPV4 UDP

IPV6

CoAP over IPV6 UDP

Lifetime

Coap Server LifeTime

Type: u32

Default: 180

Password

CoAP DTLS Password

Type: string

Default: spirent

PeriodicTimer

Periodic Update Timer

Type: u16

Default: 60

ServerPort

Server Port

Type: u16

Default: 5684

Range: 1 - 65535

ServerPortStep

Server Port Step

Type: u16

Default: 1

Range: 0 - 65535

UseGatewayAsDut

Use Gateway Address as DUT Address

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Using Gateway Address as DUT Address

FALSE

Not Using Gateway Address as DUT Address

UsePartialBlockState

Use Partial Block State in CoAP

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Used Partial Block State in CoAP

FALSE

Not Used Partial Block State in CoAP

CoapServerConfig Read-Only Attributes

Read-Only Attribute Description
Common Read-Only Attributes State
LoadProfileRunState

Load Profile Run State in CoAP

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Loaded Profile Run State in CoAP

FALSE

Not Loaded Profile Run State in CoAP