Skip to content

Help needed with CPS twinning  #4

Description

@sebavarghese

Hi,

I am trying to use the cps twinning framework, with the example specification file (CandyFactory.aml). I am facing some issues with the instantiation of PLC node (as I am getting socket errors). I would like to get clarifications on a few questions as put below:

  1. Is it possible to run this framework without a physical twin running along? As of now, I am not using the state replication module. I have installed mininet-wifi and matiec and cloned to the cps twinning repository. When I run ‘make twinning’ and ‘twinning misc/specification/CandyFactory.aml’, the topology is built correctly. But when I try to run ‘show_tags PLC1’ or get/set tags, it throws a socket error as seen in the attached file.
    twinning

Note: I even tried using the code available as tag v0.0.2 (without state replication), still I face the same issues as mentioned above.
2. Also, I believe a physical twin must be run parallel with the framework in order to use state replication. Is this correct?

I would like to know whether I miss configuring anything else. Your help is much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions