Class Network

    • Method Detail

      • getSubnets

        @Nullable
        public com.google.common.collect.ImmutableSet<String> getSubnets()
        Returns:
        the subnets of the Network
      • getName

        @Nullable
        public String getName()
        Returns:
        the name of the Network
      • getAdminStateUp

        @Nullable
        public Boolean getAdminStateUp()
        Returns:
        the adminStateUp of the Network
      • getShared

        @Nullable
        public Boolean getShared()
        The shared attribute can be used to create a public network, i.e.: a network which is shared with all other tenants. Control of the shared attribute could be reserved to particular users only, such as administrators. In this case, regular users trying to create a shared network will receive a 403 - Forbidden error.
        Returns:
        true if the network resource can be accessed by any tenant or not, false if not
      • getTenantId

        @Nullable
        public String getTenantId()
        Returns:
        the tenantId of the Network
      • getAvailabilityZone

        @Nullable
        public String getAvailabilityZone()
        Returns:
        the availability zone of the Network
      • getNetworkType

        @Nullable
        public NetworkType getNetworkType()
        Returns:
        the networkType of the Network
      • getPhysicalNetworkName

        @Nullable
        public String getPhysicalNetworkName()
        Returns:
        the physicalNetworkName of the Network
      • getSegmentationId

        @Nullable
        public Integer getSegmentationId()
        Returns:
        the segmentationId of the Network
      • getExternal

        @Nullable
        public Boolean getExternal()
        Adds external network attribute to network resource.
        Returns:
        the external of the Network
      • getPortSecurity

        @Nullable
        public Boolean getPortSecurity()
        Returns:
        the portSecurity of the Network
      • getProfileId

        @Nullable
        public String getProfileId()
        Returns:
        the profileId of the Network
      • getMulticastIp

        @Nullable
        public String getMulticastIp()
        Returns:
        the multicastIp of the Network
      • getSegmentAdd

        @Nullable
        public String getSegmentAdd()
        Returns:
        the segmentAdd of the Network
      • getSegmentDel

        @Nullable
        public String getSegmentDel()
        Returns:
        the segmentDel of the Network
      • getMemberSegments

        @Nullable
        public String getMemberSegments()
        Returns:
        the memberSegments of the Network
      • getSegments

        @Nullable
        public com.google.common.collect.ImmutableSet<NetworkSegment> getSegments()
        Returns:
        the segments of the Network
      • getNetworkFlavor

        @Nullable
        public String getNetworkFlavor()
        Returns:
        the networkFlavor of the Network
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • updateBuilder

        public static Network.UpdateBuilder updateBuilder()
        Returns:
        the Builder for updating a Router