BuiltInT

Leafs

Children

Bits Classes

Enum Classes

class Runner.Ytypes.BuiltInT

Bases: Entity

Class Hierarchy : Runner Ytypes BuiltInT

This class represents configuration data.

config for built-in types

number8

8 bit integer value type

type: int

range: -128..127

number16

16 bit integer value type

type: int

range: -32768..32767

number32

integer value type

type: int

range: -2147483648..0 | 10..10 | 19..19 | 1000..2147483647

number64

integer value type

type: int

range: -9223372036854775808..9223372036854775807

u_number8

8 bit uinteger value type, must be >=0 & <= 255

type: int

range: 0..255

u_number16

16 bit uinteger value type, must be >=0 & <= 65025

type: int

range: 0..65535

u_number32

32 bit uinteger value type

type: int

range: 0..4294967295

u_number64

64 bit uinteger value type

type: int

range: 0..18446744073709551615

leaf_ref

leaf-ref

type: int

range: -128..127

refers to: number8

deci64

this is decimal value

type: Decimal64

range: 1..3.14 | 10..10 | 20..92233720368547758.07

name

this is string value

type: str

emptee

this is empty value

type: Empty

bool_value

this is boolean type value

type: bool

embeded_enum

enum embeded in leaf

type: EmbededEnum

enum_leafref

type: EmbededEnum

enum_value

this is enum type value

type: YdkEnumTest

enum_int_value

enum int type

type: union of the below types:

type: YdkEnumIntTest

type: int

range: 1..4096

identity_ref_value

type: one of the below values: ChildIdentity

bincoded

this is binary value

type: str

bits_value

this is bits type value

type: YdkBitsType

default value: auto-sense-speed

younion

union test value

type: union of the below types:

type: YdkEnumTest

type: int

range: 0..63

llstring

A list of string

type: list of str

status

Whether cable is connected or not

type: Status

bits_llist

type: list of BitsLlist

enum_llist

A leaf-list of enum

type: list of YdkEnumTest

identity_llist

A leaf-list of identityref

type: one of the below values: list of

llunion

A list of union

type: union of the below types:

type: list of int

range: -32768..32767

type: list of str

younion_recursive

Recursive union leaf

type: union of the below types:

type: int

range: 0..4294967295

type: str

type: int

range: -128..127

younion_list

members of the younion

type: union of the below types:

type: list of int

range: 0..4294967295

type: list of str

type: list of str

type: list of str

bool_leaf_list

type: list of bool

bool_list

type: list of BoolList