Module Expr Str Assign NameStore Str Import alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Str keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Str keyword AttributeLoad NameLoad attr
N/A N/A 
   Copyright 2013, 2014 Ricardo Tubio-Pardavila

   Licensed under the Apache License, Version 2.0 (the "License")
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 N/A __author__ rtubiopa@calpoly.edu N/A rpc4django services.configuration.models rules rule_models services.configuration.models segments segment_models services.configuration.jrpc.serializers rules rule_serializers website settings satnet_settings list_channel_rules N/A N/A groundstation_id N/A N/A N/A 
    JRPC method that returns the configuration for all the rules of the
    requested channel from the requested ground station.
    :param groundstation_id: The identifier of the Ground Station.
    :return: Array with JSON objects that contain the configuration for each
    of the rules of this pair Ground Station, Channel.
     N/A N/A N/A rule_serializers serialize_rules N/A N/A N/A N/A rule_models AvailabilityRule objects filter groundstation N/A N/A N/A N/A segment_models GroundStation objects get identifier groundstation_id N/A N/A N/A rpc4django rpcmethod name configuration.gs.rules.list signature N/A String login_required N/A satnet_settings JRPC_LOGIN_REQUIRED add_rule N/A N/A groundstation_id rule_cfg N/A N/A N/A 
    JRPC method that permits adding a new rule (with the given configuration)
    to an existing channel of the given Ground Station.
    :param groundstation_id: The identifier of the Ground Station.
    :param rule_cfg: The configuration of the rule to be added.
    :return: Identifier of the rule that has just been added.
     N/A N/A op periodicity dates N/A N/A rule_serializers deserialize_rule_cfg rule_cfg N/A rule N/A N/A N/A N/A rule_models AvailabilityRule objects create N/A N/A N/A N/A segment_models GroundStation objects get identifier groundstation_id op periodicity dates N/A N/A rule pk N/A N/A N/A rpc4django rpcmethod name configuration.gs.rules.add signature N/A String Object login_required N/A satnet_settings JRPC_LOGIN_REQUIRED remove_rule N/A N/A groundstation_id rule_id N/A N/A N/A 
    JRPC method for removing the rule that is identified by the given rule_id
    from the channel of a ground station.
    :param groundstation_id: The identifier of the Ground Station.
    :param rule_id: Identifier of the rule to be removed.
    :return: 'True' in case the rule could be removed.
     N/A N/A N/A N/A N/A N/A N/A rule_models AvailabilityRule objects get pk rule_id groundstation N/A N/A N/A N/A segment_models GroundStation objects get identifier groundstation_id delete N/A True N/A N/A N/A rpc4django rpcmethod name configuration.gs.rules.delete signature N/A String String login_required N/A satnet_settings JRPC_LOGIN_REQUIRED