Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-49

Cannot compile CoDec for org.opendaylight.yang.gen.v1.urn.opendaylight.flow.config.rev130819.flows.Flow

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: PC

    • 144

    Description

      The execution of following code caused java.lang.IllegalStateException: Cannot compile Transformator for interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.config.rev130819.flows.Flow

      DataModificationTransaction modification = dataBrokerService.beginTransaction();

      String flowName = "foo";
      String nodeId = "node:1";

      NodeKey key = new NodeKey(new NodeId(nodeId));
      InstanceIdentifier<Node> value = InstanceIdentifier.builder().node(Nodes.class).node(Node.class, key)
      .toInstance();
      NodeRef nodeRef = new NodeRef(value);

      FlowKey flowKey = new FlowKey(flowName, nodeRef);

      FlowBuilder flow = new FlowBuilder();
      MatchBuilder match = new MatchBuilder();
      VlanMatchBuilder vlanBuilder = new VlanMatchBuilder();
      VlanIdBuilder vlanIdBuilder = new VlanIdBuilder();
      VlanId vlanId = new VlanId(10);
      vlanBuilder.setVlanId(vlanIdBuilder.setVlanI

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            tony.tkacik@gmail.com Tony Tkacik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: