The Elixir function-call surface for each resource in the DiffoExample.Nbn domain. Generated from the define declarations in the domain's resources do block.

Avc

FunctionActionArgumentsPurpose
build_avc:buildid, which, relationships (list of struct), places (list of struct), parties (list of struct)creates a new AVC resource instance
define_avc:definecharacteristic_value_updates (list of term)defines the AVC
get_avc_by_id:readidread a service or resource instance
relate_avc:relaterelationships (list of struct)relates the AVC with other instances

Cvc

FunctionActionArgumentsPurpose
assign_cvlan:assign_cvlanassignment (struct)assigns a C-VLAN ID from the CVC pool to an AVC
build_cvc:buildid, which, relationships (list of struct), places (list of struct), parties (list of struct)creates a new CVC resource instance
define_cvc:definecharacteristic_value_updates (list of term)defines the CVC
get_cvc_by_id:readidread a service or resource instance
relate_cvc:relaterelationships (list of struct)relates the CVC with other instances (e.g. AVC aggregation, NNI Group termination)

NbnEthernet

FunctionActionArgumentsPurpose
build_nbn_ethernet:buildid, which, relationships (list of struct), places (list of struct), parties (list of struct)creates a new NBN Ethernet access resource instance
define_nbn_ethernet:definecharacteristic_value_updates (list of term)defines the NBN Ethernet access
get_nbn_ethernet_by_id:readidread a service or resource instance
relate_nbn_ethernet:relaterelationships (list of struct)relates the NBN Ethernet access with other instances (e.g. UNI)

Nni

FunctionActionArgumentsPurpose
build_nni:buildid, which, relationships (list of struct), places (list of struct), parties (list of struct)creates a new NNI resource instance
define_nni:definecharacteristic_value_updates (list of term)defines the NNI
get_nni_by_id:readidread a service or resource instance
relate_nni:relaterelationships (list of struct)relates the NNI with other instances (e.g. its parent NNI Group)

NniGroup

FunctionActionArgumentsPurpose
assign_svlan:assign_svlanassignment (struct)assigns an S-VLAN ID from the NNI Group pool to a CVC
build_nni_group:buildid, name, which, relationships (list of struct), places (list of struct), parties (list of struct)creates a new NNI Group resource instance
define_nni_group:definecharacteristic_value_updates (list of term)defines the NNI Group
get_nni_group_by_id:readidread a service or resource instance
relate_nni_group:relaterelationships (list of struct)relates the NNI Group with other instances (e.g. NNI resources it comprises)

Ntd

FunctionActionArgumentsPurpose
assign_port:assign_portassignment (struct)assigns a port from the NTD pool to a UNI
build_ntd:buildid, which, relationships (list of struct), places (list of struct), parties (list of struct)creates a new NTD resource instance
define_ntd:definecharacteristic_value_updates (list of term)defines the NTD
get_ntd_by_id:readidread a service or resource instance
relate_ntd:relaterelationships (list of struct)relates the NTD with other instances (e.g. UNI)

Rsp

FunctionActionArgumentsPurpose
activate_rsp:activate
create_rsp:buildname, short_name, id
deactivate_rsp:deactivate
get_rsp_by_epid:readid
get_rsp_by_short_name:readshort_name
list_rsps:inventory
suspend_rsp:suspend

Uni

FunctionActionArgumentsPurpose
build_uni:buildid, which, relationships (list of struct), places (list of struct), parties (list of struct)creates a new UNI resource instance
define_uni:definecharacteristic_value_updates (list of term)defines the UNI
get_uni_by_id:readidread a service or resource instance
relate_uni:relaterelationships (list of struct)relates the UNI with other instances (e.g. NTD, NBN Ethernet access)