Software Development Kit (SDK) and API Discussions

8.2 7-mode api for "vfiler run cifs sessions"

MICHAEL_SAYGAK
2,312 Views

Hello !
Could you assist me  a bit? I'm trying to figure out is there any way to bind to the physical filer but issue API calls to the vfiler?

Particularly I need an iterator that will go thrugh the list of established CIFS sessions on the vfiler level.

Thank you!

1 ACCEPTED SOLUTION

MICHAEL_SAYGAK
2,260 Views

Sorted.

            NaServer s = new NaServer("PHYSICAL-FILER-NAME", 1 , 7);
            s.setServerType(NaServer.SERVER_TYPE_FILER);
            s.setTransportType(NaServer.TRANSPORT_TYPE_HTTPS);
            s.setPort(443);
            s.setStyle(NaServer.STYLE_LOGIN_PASSWORD);
            s.setAdminUser("user", "password");
            s.setVfilerTunneling("VFILER-NAME");

View solution in original post

1 REPLY 1

MICHAEL_SAYGAK
2,261 Views

Sorted.

            NaServer s = new NaServer("PHYSICAL-FILER-NAME", 1 , 7);
            s.setServerType(NaServer.SERVER_TYPE_FILER);
            s.setTransportType(NaServer.TRANSPORT_TYPE_HTTPS);
            s.setPort(443);
            s.setStyle(NaServer.STYLE_LOGIN_PASSWORD);
            s.setAdminUser("user", "password");
            s.setVfilerTunneling("VFILER-NAME");

Public