APISonar


org.onosproject.openstacknode.api.OpenstackAuth.Protocol.HTTP

> org > onosproject > openstacknode > api > OpenstackAuth > Protocol > HTTP
org APIs onosproject APIs openstacknode APIs api APIs OpenstackAuth APIs Protocol APIs HTTP APIs

Example 1
public void testConstruction() {
        OpenstackAuth auth = OS_AUTH_1;

        assertThat(auth.version(), is("v2.0"));
        assertThat(auth.port(), is(35357));
        assertThat(auth.protocol(), is(OpenstackAuth.Protocol.HTTP));
        assertThat(auth.username(), is("admin"));
        assertThat(auth.password(), is("nova"));
        assertThat(auth.project(), is("admin"));
        assertThat(auth.perspective(), is(OpenstackAuth.Perspective.PUBLIC));
    }