Search in sources :

Example 1 with SubmitEnsureLspOperationalInputBuilder

use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.pcep.programming.rev171025.SubmitEnsureLspOperationalInputBuilder in project bgpcep by opendaylight.

the class TopologyProgrammingTest method testSubmitEnsureLsp.

@Test
public void testSubmitEnsureLsp() {
    final SubmitEnsureLspOperationalInputBuilder inputBuilder = new SubmitEnsureLspOperationalInputBuilder();
    inputBuilder.setName(NAME);
    inputBuilder.setNode(this.nodeId);
    inputBuilder.setArguments(new ArgumentsBuilder().build());
    this.topologyProgramming.submitEnsureLspOperational(inputBuilder.build());
    Assert.assertNotNull(this.ensureLspInput);
    Assert.assertEquals(NAME, this.ensureLspInput.getName());
    Assert.assertEquals(this.nodeId, this.ensureLspInput.getNode());
}
Also used : SubmitEnsureLspOperationalInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.pcep.programming.rev171025.SubmitEnsureLspOperationalInputBuilder) ArgumentsBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.pcep.rev171025.ensure.lsp.operational.args.ArgumentsBuilder) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 SubmitEnsureLspOperationalInputBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.pcep.programming.rev171025.SubmitEnsureLspOperationalInputBuilder)1 ArgumentsBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.pcep.rev171025.ensure.lsp.operational.args.ArgumentsBuilder)1